opentl::models::TargetFactory Class Reference

Class to create new target instances based on a given model. More...

List of all members.

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, ...).


Detailed Description

Class to create new target instances based on a given model.

Author:
Giorgio Panin <panin@in.tum.de>

Constructor & Destructor Documentation

opentl::models::TargetFactory::TargetFactory (  ) 

virtual opentl::models::TargetFactory::~TargetFactory (  )  [virtual]


Member Function Documentation

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, ...).

Parameters:
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)


Generated on Thu Jun 10 21:08:10 2010 for OpenTL by  doxygen 1.5.8