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

Parser for Mesh geometry, inherits from ParserBase<Mesh> and provides the functionality to parse the mesh geometry from XML. More...

#include <mesh_parser.h>

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

Public Member Functions

 MeshParser ()
 
void parse (const tinyxml2::XMLElement *xml) override
 
bool isA (const char *name) override
 
const char * getTypename () override
 
void print (std::ostream &os) override
 
bool empty () const override
 
void clear () override
 
std::shared_ptr< Meshget () override
 
 ~MeshParser () override
 
- Public Member Functions inherited from ParserBase< Mesh >
const char * getNameOf (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 

Additional Inherited Members

- Protected Member Functions inherited from ParserBase< Mesh >
 ParserBase ()
 
virtual ~ParserBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 
- Protected Attributes inherited from ParserBase< Mesh >
std::shared_ptr< MeshTptr
 

Detailed Description

Parser for Mesh geometry, inherits from ParserBase<Mesh> and provides the functionality to parse the mesh geometry from XML.

Constructor & Destructor Documentation

◆ MeshParser()

MeshParser::MeshParser ( )

◆ ~MeshParser()

MeshParser::~MeshParser ( )
overridedefault

Member Function Documentation

◆ clear()

void MeshParser::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool MeshParser::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ get()

std::shared_ptr< Mesh > MeshParser::get ( )
overridevirtual

Reimplemented from ParserBase< Mesh >.

◆ getTypename()

const char * MeshParser::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ isA()

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

Implements ObjectBase.

◆ parse()

void MeshParser::parse ( const tinyxml2::XMLElement *  xml)
overridevirtual

Reimplemented from ParserBase< Mesh >.

◆ print()

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

Implements ObjectBase.


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