BALL::VIEW::QuadMesh Class Reference
[Geometric Objects]

#include <BALL/VIEW/PRIMITIVES/quadMesh.h>

Inheritance diagram for BALL::VIEW::QuadMesh:
BALL::VIEW::GeometricObject BALL::VIEW::MultiColorExtension

List of all members.


Classes

struct  Quadruple

Public Member Functions

 QuadMesh ()
 QuadMesh (const QuadMesh &mesh)
 

Copy constructor.


 ~QuadMesh ()
virtual void getVertices (vector< Vector3 > &vertices) const

Public Attributes

vector< Vector3vertex
vector< Vector3normal
vector< Quadruplequad

Detailed Description

QuadMesh class. An instance of QuadMesh represents an mesh with quadruples.


Constructor & Destructor Documentation

BALL::VIEW::QuadMesh::QuadMesh (  ) 

Default Constructor. The properties of this mesh are set to:

  • color - to the color black
BALL::VIEW::QuadMesh::QuadMesh ( const QuadMesh mesh  ) 

Copy constructor.

BALL::VIEW::QuadMesh::~QuadMesh (  )  [inline]

Member Function Documentation

virtual void BALL::VIEW::QuadMesh::getVertices ( vector< Vector3 > &  vertices  )  const [inline, virtual]

Reimplemented from BALL::VIEW::GeometricObject.


Member Data Documentation

The colors belonging to each vertex. If this list has *less* entries than there are vertices in this mesh, we take the first element to color the whole mesh. If it is *empty*, we use the color white.