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

Public Member Functions

 RobotNodeFixedFactory ()
 
 ~RobotNodeFixedFactory () override
 
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 override
 
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 override
 
- 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 std::shared_ptr< RobotNodeFactorycreateInstance (void *)
 
- Static Public Member Functions inherited from AbstractFactoryMethod< RobotNodeFactory, void *>
static std::shared_ptr< RobotNodeFactory > fromName (const std::string &name, void * params)
 
static std::shared_ptr< RobotNodeFactory > first (void * params)
 
static std::string getName ()
 
static std::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 std::shared_ptr< RobotNodeFactory >(* initialisationFunction) (void *)
 

Constructor & Destructor Documentation

◆ RobotNodeFixedFactory()

VirtualRobot::RobotNodeFixedFactory::RobotNodeFixedFactory ( )
default

◆ ~RobotNodeFixedFactory()

VirtualRobot::RobotNodeFixedFactory::~RobotNodeFixedFactory ( )
overridedefault

Member Function Documentation

◆ createInstance()

std::shared_ptr< RobotNodeFactory > VirtualRobot::RobotNodeFixedFactory::createInstance ( void *  )
static
Returns
new instance of RobotNodeFixedFactory.

◆ createRobotNode()

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
overridevirtual

This method creates a VirtualRobot::RobotNodeFixed.

Returns
instance of VirtualRobot::RobotNodeFixed.

Reimplemented from VirtualRobot::RobotNodeFactory.

◆ createRobotNodeDH()

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
overridevirtual

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

Returns
instance of VirtualRobot::RobotNodeFixed.

Reimplemented from VirtualRobot::RobotNodeFactory.

◆ getName()

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