#include <mesh.h>
Public Member Functions |
|
Constructors
|
|
Mesh () | |
Default Constructor. |
|
Mesh (const Mesh &mesh) | |
Copy constructor. |
|
Destructors
|
|
virtual | ~Mesh () |
Destructor. |
|
virtual void | clear () |
Explicit default initialization.
|
|
Assignment methods
|
|
void | set (const Mesh &mesh) |
Assignment. |
|
const Mesh & | operator= (const Mesh &mesh) |
Assignment operator. |
|
void | swap (Mesh &mesh) |
Swapping of mesh's. |
|
debuggers and diagnostics
|
|
virtual bool | isValid () const |
Internal state and consistency
self-validation. |
|
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
Internal value dump. |
|
bool | binaryWrite (const String &filename) |
bool | binaryRead (const String &filename) |
virtual void | getVertices (vector< Vector3 > &vertices) const |
An instance of Mesh represents an instance of the geometric representation "mesh".
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 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::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 |