Simox  2.3.49
VirtualRobot::RobotNodeFixedFactory Class Reference
Inheritance diagram for VirtualRobot::RobotNodeFixedFactory:
VirtualRobot::RobotNodeFactory AbstractFactoryMethod< RobotNodeFactory, void * >

Public Member Functions

 RobotNodeFixedFactory ()
 
virtual ~RobotNodeFixedFactory ()
 
virtual RobotNodePtr createRobotNode (RobotPtr robot, const std::string &nodeName, VisualizationNodePtr visualizationModel, CollisionModelPtr collisionModel, float limitLow, float limitHigh, float jointValueOffset, const Eigen::Matrix4f &preJointTransform, const Eigen::Vector3f &axis, const Eigen::Vector3f &translationDirection, const SceneObject::Physics &p=SceneObject::Physics(), RobotNode::RobotNodeType rntype=RobotNode::Generic) const
 
virtual RobotNodePtr createRobotNodeDH (RobotPtr robot, const std::string &nodeName, VisualizationNodePtr visualizationModel, CollisionModelPtr collisionModel, float limitLow, float limitHigh, float jointValueOffset, const DHParameter &dhParameters, const SceneObject::Physics &p=SceneObject::Physics(), RobotNode::RobotNodeType rntype=RobotNode::Generic) const
 
- Public Member Functions inherited from VirtualRobot::RobotNodeFactory
 RobotNodeFactory ()
 
virtual ~RobotNodeFactory ()
 
- Public Member Functions inherited from AbstractFactoryMethod< RobotNodeFactory, void * >
void setDescription (const std::string &newDescription)
 
std::string getDescription () const
 

Static Public Member Functions

static std::string getName ()
 
static boost::shared_ptr< RobotNodeFactorycreateInstance (void *)
 
- Static Public Member Functions inherited from AbstractFactoryMethod< RobotNodeFactory, void * >
static boost::shared_ptr< RobotNodeFactory > fromName (const std::string &name, void *params)
 
static boost::shared_ptr< RobotNodeFactory > first (void *params)
 
static std::string getName ()
 
static boost::shared_ptr< RobotNodeFactory > createInstance (void *)
 
static void registerClass (const std::string &name, initialisationFunction init)
 
static std::vector< std::string > getSubclassList ()
 

Additional Inherited Members

- Public Types inherited from AbstractFactoryMethod< RobotNodeFactory, void * >
typedef boost::shared_ptr< RobotNodeFactory >(* initialisationFunction) (void *)
 

Constructor & Destructor Documentation

VirtualRobot::RobotNodeFixedFactory::RobotNodeFixedFactory ( )
VirtualRobot::RobotNodeFixedFactory::~RobotNodeFixedFactory ( )
virtual

Member Function Documentation

boost::shared_ptr< RobotNodeFactory > VirtualRobot::RobotNodeFixedFactory::createInstance ( void *  )
static
Returns
new instance of RobotNodeFixedFactory.
RobotNodePtr VirtualRobot::RobotNodeFixedFactory::createRobotNode ( RobotPtr  robot,
const std::string &  nodeName,
VisualizationNodePtr  visualizationModel,
CollisionModelPtr  collisionModel,
float  limitLow,
float  limitHigh,
float  jointValueOffset,
const Eigen::Matrix4f &  preJointTransform,
const Eigen::Vector3f &  axis,
const Eigen::Vector3f &  translationDirection,
const SceneObject::Physics p = SceneObject::Physics(),
RobotNode::RobotNodeType  rntype = RobotNode::Generic 
) const
virtual

This method creates a VirtualRobot::RobotNodeFixed.

Returns
instance of VirtualRobot::RobotNodeFixed.

Reimplemented from VirtualRobot::RobotNodeFactory.

RobotNodePtr VirtualRobot::RobotNodeFixedFactory::createRobotNodeDH ( RobotPtr  robot,
const std::string &  nodeName,
VisualizationNodePtr  visualizationModel,
CollisionModelPtr  collisionModel,
float  limitLow,
float  limitHigh,
float  jointValueOffset,
const DHParameter dhParameters,
const SceneObject::Physics p = SceneObject::Physics(),
RobotNode::RobotNodeType  rntype = RobotNode::Generic 
) const
virtual

This method creates a VirtualRobot::RobotNodeFixed from DH parameters.

Returns
instance of VirtualRobot::RobotNodeFixed.

Reimplemented from VirtualRobot::RobotNodeFactory.

std::string VirtualRobot::RobotNodeFixedFactory::getName ( )
static
Returns
"fixed"