version 3.3

VRS::KnotGenerator Class Reference

#include <vrs/analyticshapegenerators.h>

Inheritance diagram for VRS::KnotGenerator:

VRS::VertexAttributeGenerator

List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

VRS::KnotGenerator::KnotGenerator ( const Knot ,
unsigned int  nx,
unsigned int  ny 
)

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


Member Function Documentation

virtual Iterator<Vector>* VRS::KnotGenerator::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 Sun May 19 06:00:31 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact