CIvfMesh Class Reference

#include <ivf/IvfMesh.h>

Inheritance diagram for CIvfMesh:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TMeshType { MT_ORDER_2, MT_ORDER_4 }
enum  TMeshOrientation { MO_CW, MO_CCW }

Public Member Functions

 CIvfMesh ()
virtual ~CIvfMesh ()
 IvfClassInfo ("CIvfMesh", CIvfShape)
void createMesh (double width, double height)
void setSize (int xSize, int ySize)
void getSize (int &xSize, int &ySize)
void setControlPoint (int i, int j, double x, double y, double z)
void getControlPoint (int i, int j, double &x, double &y, double &z)
void setMeshOrientation (TMeshOrientation meshOrientation)
void setMeshResolution (int rows, int cols)
void setMeshType (TMeshType meshType)
void setControlPoint (int i, int j, double y)

Protected Member Functions

void createGeometry ()
void initialize ()

Detailed Description

Mesh class

Implements a mesh using OpenGL glEvalMesh2 function

Examples:

lighting.cpp.

Definition at line 37 of file IvfMesh.h.


Constructor & Destructor Documentation

CIvfMesh::CIvfMesh (   ) 
 

CIvfMesh constructor

virtual CIvfMesh::~CIvfMesh (   )  [virtual]
 

CIvfMesh destructor


Member Function Documentation

void CIvfMesh::createGeometry (   )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

void CIvfMesh::getControlPoint (  int  i,
int  j,
double &  x,
double &  y,
double &  z
) 
 

Return mesh control point

void CIvfMesh::getSize (  int &  xSize,
int &  ySize
) 
 

Return mesh size

void CIvfMesh::setControlPoint (  int  i,
int  j,
double  y
) 
 

Set position of control point

void CIvfMesh::setControlPoint (  int  i,
int  j,
double  x,
double  y,
double  z
) 
 

Set mesh control point

void CIvfMesh::setMeshOrientation (  TMeshOrientation  meshOrientation  ) 
 

Mesh orientation

Determines the orientation of the primitives generated. MO_CW = clockwise orientation MO_CCW = counter clockwise.

void CIvfMesh::setMeshResolution (  int  rows,
int  cols
) 
 

Set mesh resolution

Resolution of mesh when evaluating the surface mesh.

void CIvfMesh::setMeshType (  TMeshType  meshType  ) 
 

Set mesh type

Set mesh function order. MT_ORDER_2 = linear MT_ORDER_4 = quadratic.

void CIvfMesh::setSize (  int  xSize,
int  ySize
) 
 

Set mesh size


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:53 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO