Representation of a mesh file stored in memory.
Eventually, this will also include a family of supporting files (e.g., material files, image files, etc.)
#include <drake/geometry/in_memory_mesh.h>
Public Member Functions | |
InMemoryMesh () | |
Constructs an empty file. More... | |
InMemoryMesh (MemoryFile mesh_file) | |
Constructs a file from the given mesh file. More... | |
~InMemoryMesh () | |
const MemoryFile & | mesh_file () const |
Returns the base mesh file. More... | |
bool | empty () const |
Reports if the mesh is empty. More... | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
InMemoryMesh (const InMemoryMesh &)=default | |
InMemoryMesh & | operator= (const InMemoryMesh &)=default |
InMemoryMesh (InMemoryMesh &&)=default | |
InMemoryMesh & | operator= (InMemoryMesh &&)=default |
|
default |
|
default |
InMemoryMesh | ( | ) |
Constructs an empty file.
|
explicit |
Constructs a file from the given mesh file.
~InMemoryMesh | ( | ) |
bool empty | ( | ) | const |
Reports if the mesh is empty.
const MemoryFile& mesh_file | ( | ) | const |
Returns the base mesh file.
|
default |
|
default |