version 3.3

VRS::HyperboloidGenerator Class Reference

#include <vrs/analyticshapegenerators.h>

Inheritance diagram for VRS::HyperboloidGenerator:

VRS::VertexAttributeGenerator

List of all members.

Public Member Functions

 HyperboloidGenerator (const Hyperboloid *, unsigned int nx, unsigned int ny)
virtual ~HyperboloidGenerator ()
virtual Iterator< Vector > * calcVertexData (const ID &vertexDataType)


Constructor & Destructor Documentation

VRS::HyperboloidGenerator::HyperboloidGenerator ( const Hyperboloid ,
unsigned int  nx,
unsigned int  ny 
)

virtual VRS::HyperboloidGenerator::~HyperboloidGenerator (  )  [virtual]


Member Function Documentation

virtual Iterator<Vector>* VRS::HyperboloidGenerator::calcVertexData ( const ID vertexDataType  )  [virtual]

For the given abtract vertex data type (as defined in VertexAttributeMap), generates an Iterator that contains the vertex data for further use in a mesh. The VertexAttributeGenerator can generate

  • VertexAttributeMap::UV_PARAMETER (simple parametrisation of the mesh)
  • VertexAttributeMap::BINORMAL (by creating NORMAL and TANGENT data and calculating the cross-product). Other data must be created by subclasses for concrete analytic shapes.

Reimplemented from VRS::VertexAttributeGenerator.


The documentation for this class was generated from the following file:

Generated on Mon May 21 06:00:16 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact