TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
Cylinder Class Reference

#include <cylinder.h>

Inheritance diagram for Cylinder:
[legend]
Collaboration diagram for Cylinder:
[legend]

Public Member Functions

 Cylinder ()
 
 Cylinder (double r, double l)
 
bool isA (const char *name) override
 
void print (std::ostream &os) override
 
void clear () override
 
bool empty () const override
 
const char * getTypename () override
 
void setOrigin (double x, double y, double z) override
 
void getOrigin (double *xyz) const override
 
void setLength (double l)
 
void setRadius (double r)
 
double getLength () override
 
double getRadius () override
 
- Public Member Functions inherited from GeometryBase
virtual ~GeometryBase ()=default
 
virtual std::string getFilename ()
 
virtual Vec3 getScale ()
 

Additional Inherited Members

- Protected Member Functions inherited from GeometryBase
 GeometryBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Constructor & Destructor Documentation

◆ Cylinder() [1/2]

Cylinder::Cylinder ( )

◆ Cylinder() [2/2]

Cylinder::Cylinder ( double  r,
double  l 
)

Member Function Documentation

◆ clear()

void Cylinder::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool Cylinder::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ getLength()

double Cylinder::getLength ( )
overridevirtual

Reimplemented from GeometryBase.

◆ getOrigin()

void Cylinder::getOrigin ( double *  xyz) const
overridevirtual

Implements GeometryBase.

◆ getRadius()

double Cylinder::getRadius ( )
overridevirtual

Reimplemented from GeometryBase.

◆ getTypename()

const char * Cylinder::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ isA()

bool Cylinder::isA ( const char *  name)
overridevirtual

Implements ObjectBase.

◆ print()

void Cylinder::print ( std::ostream &  os)
overridevirtual

Implements ObjectBase.

◆ setLength()

void Cylinder::setLength ( double  l)

◆ setOrigin()

void Cylinder::setOrigin ( double  x,
double  y,
double  z 
)
overridevirtual

Implements GeometryBase.

◆ setRadius()

void Cylinder::setRadius ( double  r)

The documentation for this class was generated from the following files: