Mesh Class Referencefinal

Limited support for meshes. More...

#include <drake/geometry/shape_specification.h>

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() [1/3]

Mesh ( const Mesh )

◆ Mesh() [2/3]

Mesh ( Mesh &&  )

◆ Mesh() [3/3]

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.

Optionally uniformly scaled by the given scale factor.

Member Function Documentation

◆ filename()

const std::string& filename ( ) const

◆ operator=() [1/2]

Mesh& operator= ( Mesh &&  )

◆ operator=() [2/2]

Mesh& operator= ( const Mesh )

◆ scale()

double scale ( ) const

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