Drake
Drake C++ Documentation
InMemoryMesh Class Referencefinal

Detailed Description

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 MemoryFilemesh_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
 
InMemoryMeshoperator= (const InMemoryMesh &)=default
 
 InMemoryMesh (InMemoryMesh &&)=default
 
InMemoryMeshoperator= (InMemoryMesh &&)=default
 

Constructor & Destructor Documentation

◆ InMemoryMesh() [1/4]

InMemoryMesh ( const InMemoryMesh )
default

◆ InMemoryMesh() [2/4]

InMemoryMesh ( InMemoryMesh &&  )
default

◆ InMemoryMesh() [3/4]

Constructs an empty file.

◆ InMemoryMesh() [4/4]

InMemoryMesh ( MemoryFile  mesh_file)
explicit

Constructs a file from the given mesh file.

◆ ~InMemoryMesh()

Member Function Documentation

◆ empty()

bool empty ( ) const

Reports if the mesh is empty.

◆ mesh_file()

const MemoryFile& mesh_file ( ) const

Returns the base mesh file.

◆ operator=() [1/2]

InMemoryMesh& operator= ( const InMemoryMesh )
default

◆ operator=() [2/2]

InMemoryMesh& operator= ( InMemoryMesh &&  )
default

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