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

Public Member Functions

 Sphere ()
 
 Sphere (float radius)
 
std::string toXMLString (int tabs=0) override
 

Data Fields

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

Static Public Attributes

static const int TYPE = 2
 
- 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

◆ Sphere() [1/2]

VirtualRobot::Primitive::Sphere::Sphere ( )
inline

◆ Sphere() [2/2]

VirtualRobot::Primitive::Sphere::Sphere ( float  radius)
inline

Member Function Documentation

◆ toXMLString()

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

Field Documentation

◆ radius

float VirtualRobot::Primitive::Sphere::radius

◆ TYPE

const int VirtualRobot::Primitive::Sphere::TYPE = 2
static