Drake
Mesh Class Referencefinal

Limited support for meshes. More...

#include <drake/geometry/shape_specification.h>

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

Public Member Functions

 Mesh (const std::string &absolute_filename, double scale=1.0)
 Constructs a mesh specification from the mesh file located at the given absolute file path. More...
 
const std::string & filename () const
 
double scale () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 Mesh (const Mesh &)=default
 
Meshoperator= (const Mesh &)=default
 
 Mesh (Mesh &&)=default
 
Meshoperator= (Mesh &&)=default
 
- Public Member Functions inherited from Shape
virtual ~Shape ()
 
void Reify (ShapeReifier *reifier, void *user_data=nullptr) const
 Causes this description to be reified in the given reifier. More...
 
std::unique_ptr< ShapeClone () const
 Creates a unique copy of this shape. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shape
template<typename S >
 Shape (ShapeTag< S > tag)
 Constructor available for derived class construction. More...
 
 Shape (const Shape &)=default
 
Shapeoperator= (const Shape &)=default
 
 Shape (Shape &&)=default
 
Shapeoperator= (Shape &&)=default
 

Detailed Description

Limited support for meshes.

Meshes declared as such will not serve in proximity queries or rendering queries. However, they will be propagated to drake_visualizer. The mesh is dispatched to drake visualizer via the filename. The mesh is not parsed/loaded by Drake.

Constructor & Destructor Documentation

Mesh ( const Mesh )
default
Mesh ( Mesh &&  )
default
Mesh ( const std::string &  absolute_filename,
double  scale = 1.0 
)
explicit

Constructs a mesh specification from the mesh file located at the given absolute file path.

Optionally uniformly scaled by the given scale factor.

Here is the call graph for this function:

Member Function Documentation

const std::string& filename ( ) const
inline
Mesh& operator= ( Mesh &&  )
default
Mesh& operator= ( const Mesh )
default
double scale ( ) const
inline

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