Public Member Functions | |
TargetFactory () | |
virtual | ~TargetFactory () |
Static Public Member Functions | |
static std::size_t | addNewTargetsFromModel (boost::shared_ptr< ObjModel > &objModel, TargetPtrVector &targets, std::size_t numTargets) |
Add new targets, all with the same model (shape, appearance, pose, dynamics, ...). |
opentl::models::TargetFactory::TargetFactory | ( | ) |
virtual opentl::models::TargetFactory::~TargetFactory | ( | ) | [virtual] |
static std::size_t opentl::models::TargetFactory::addNewTargetsFromModel | ( | boost::shared_ptr< ObjModel > & | objModel, | |
TargetPtrVector & | targets, | |||
std::size_t | numTargets | |||
) | [inline, static] |
Add new targets, all with the same model (shape, appearance, pose, dynamics, ...).
objModel | Pointer to the common object model | |
numTargets | Desired number of targets to add | |
targets | Output vector of targets (if not empty, they will be appended to the existing ones) |