Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::QuadMesh Class Reference
[Geometric Objects]

QuadMesh class. More...

#include <quadMesh.h>

Inheritance diagram for VIEW::QuadMesh:

VIEW::GeometricObject VIEW::MultiColorExtension List of all members.

Public Member Functions

 QuadMesh () throw ()
 Default Constructor.
 QuadMesh (const QuadMesh &mesh) throw ()
 Copy constructor.
virtual void getVertices (vector< Vector3 > &vertices) const

Public Attributes

vector< Vector3vertex
 The colors belonging to each vertex.
vector< Vector3normal
vector< Quadruple > quad

Detailed Description

QuadMesh class.

An instance of QuadMesh represents an mesh with quadruples.


Constructor & Destructor Documentation

VIEW::QuadMesh::QuadMesh  )  throw ()
 

Default Constructor.

The properties of this mesh are set to:

  • color - to the color black


Member Data Documentation

vector<Vector3> VIEW::QuadMesh::vertex
 

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.