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

Public Member Functions

 RobotNodePrismaticFactory ()
 
 ~RobotNodePrismaticFactory () 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

◆ RobotNodePrismaticFactory()

VirtualRobot::RobotNodePrismaticFactory::RobotNodePrismaticFactory ( )
default

◆ ~RobotNodePrismaticFactory()

VirtualRobot::RobotNodePrismaticFactory::~RobotNodePrismaticFactory ( )
overridedefault

Member Function Documentation

◆ createInstance()

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

◆ createRobotNode()

RobotNodePtr VirtualRobot::RobotNodePrismaticFactory::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::RobotNodePrismatic.

Returns
instance of VirtualRobot::RobotNodePrismatic.

Reimplemented from VirtualRobot::RobotNodeFactory.

◆ createRobotNodeDH()

RobotNodePtr VirtualRobot::RobotNodePrismaticFactory::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::RobotNodePrismatic from DH parameters.

Returns
instance of VirtualRobot::RobotNodePrismatic.

Reimplemented from VirtualRobot::RobotNodeFactory.

◆ getName()

std::string VirtualRobot::RobotNodePrismaticFactory::getName ( )
static
Returns
"prismatic"