#include <BALL/VIEW/PRIMITIVES/mesh.h>
Public Member Functions | |
Constructors | |
Mesh () | |
Mesh (const Mesh &mesh) | |
Destructors | |
virtual | ~Mesh () |
virtual void | clear () |
Assignment methods | |
void | set (const Mesh &mesh) |
const Mesh & | operator= (const Mesh &mesh) |
void | swap (Mesh &mesh) |
debuggers and diagnostics | |
virtual bool | isValid () const |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
bool | binaryWrite (const String &filename) |
bool | binaryRead (const String &filename) |
virtual void | getVertices (vector< Vector3 > &vertices) const |
Mesh class. An instance of Mesh represents an instance of the geometric representation "mesh".
Definition at line 38 of file mesh.h.
BALL::VIEW::Mesh::Mesh | ( | ) |
Default Constructor.
BALL::VIEW::Mesh::Mesh | ( | const Mesh & | mesh | ) |
Copy constructor
virtual BALL::VIEW::Mesh::~Mesh | ( | ) | [virtual] |
Destructor.
virtual void BALL::VIEW::Mesh::clear | ( | ) | [virtual] |
Explicit default initialization. Calls GeometricObject::clear
Reimplemented from BALL::VIEW::MultiColorExtension.
virtual void BALL::VIEW::Mesh::dump | ( | std::ostream & | s = std::cout , |
|
Size | depth = 0 | |||
) | const [virtual] |
Internal value dump. Dump the current value of this mesh to the output ostream s with dumping depth depth. Calls GeometricObject::dump.
s | output stream where to output the value of this mesh | |
depth | the dumping depth |
Reimplemented from BALL::VIEW::MultiColorExtension.
virtual void BALL::VIEW::Mesh::getVertices | ( | vector< Vector3 > & | vertices | ) | const [virtual] |
Reimplemented from BALL::VIEW::GeometricObject.
virtual bool BALL::VIEW::Mesh::isValid | ( | ) | const [virtual] |
Internal state and consistency self-validation. Calls GeometricObject::isValid.
Reimplemented from BALL::VIEW::GeometricObject.
void BALL::VIEW::Mesh::set | ( | const Mesh & | mesh | ) |
Assignment.
void BALL::VIEW::Mesh::swap | ( | Mesh & | mesh | ) |
Swapping of mesh's. Swap the value of this mesh with the mesh mesh.
mesh | the mesh being swapped with this mesh |