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

#include <geometry_base.h>

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

Public Member Functions

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

Protected Member Functions

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

Constructor & Destructor Documentation

◆ ~GeometryBase()

virtual GeometryBase::~GeometryBase ( )
virtualdefault

◆ GeometryBase()

GeometryBase::GeometryBase ( )
inlineprotected

Member Function Documentation

◆ getFilename()

virtual std::string GeometryBase::getFilename ( )
inlinevirtual

Reimplemented in Mesh.

◆ getLength()

virtual double GeometryBase::getLength ( )
inlinevirtual

Reimplemented in Cylinder.

◆ getOrigin()

virtual void GeometryBase::getOrigin ( double *  xyz) const
pure virtual

Implemented in Box, Cylinder, Inertia, Mesh, and Sphere.

◆ getRadius()

virtual double GeometryBase::getRadius ( )
inlinevirtual

Reimplemented in Cylinder, and Sphere.

◆ getScale()

virtual Vec3 GeometryBase::getScale ( )
inlinevirtual

Reimplemented in Mesh.

◆ setOrigin()

virtual void GeometryBase::setOrigin ( double  x,
double  y,
double  z 
)
pure virtual

Implemented in Box, Cylinder, Inertia, Mesh, and Sphere.


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