Simox  2.3.74.0
VirtualRobot::Primitive::Cylinder Class Reference
Inheritance diagram for VirtualRobot::Primitive::Cylinder:
VirtualRobot::Primitive::Primitive

Public Member Functions

 Cylinder ()
 
 Cylinder (float radius, float height)
 
std::string toXMLString (int tabs=0) override
 

Data Fields

float radius
 
float height
 
- Data Fields inherited from VirtualRobot::Primitive::Primitive
const int type
 
Eigen::Matrix4f transform
 

Static Public Attributes

static const int TYPE = 3
 
- Static Public Attributes inherited from VirtualRobot::Primitive::Primitive
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW const int TYPE = 0
 

Additional Inherited Members

- Protected Member Functions inherited from VirtualRobot::Primitive::Primitive
 Primitive (int type)
 
std::string getTransformString (int tabs=0)
 
std::string getXMLString (const std::string &type, const std::string &params, int tabs=0)
 

Constructor & Destructor Documentation

◆ Cylinder() [1/2]

VirtualRobot::Primitive::Cylinder::Cylinder ( )
inline

◆ Cylinder() [2/2]

VirtualRobot::Primitive::Cylinder::Cylinder ( float  radius,
float  height 
)
inline

Member Function Documentation

◆ toXMLString()

std::string VirtualRobot::Primitive::Cylinder::toXMLString ( int  tabs = 0)
overridevirtual

Field Documentation

◆ height

float VirtualRobot::Primitive::Cylinder::height

◆ radius

float VirtualRobot::Primitive::Cylinder::radius

◆ TYPE

const int VirtualRobot::Primitive::Cylinder::TYPE = 3
static