PQTorusKnot Class Reference

#include <PQTorusKnot.h>

List of all members.

Public Member Functions

 PQTorusKnot ()
 PQTorusKnot (float p, float q, unsigned int ncircles=222, unsigned int ncircleverts=42)
 ~PQTorusKnot (void)
void Render ()
void Update ()
void GetPoint (float t, VECTOR &point)
void SetPQ (float p, float q)
void IncreasePQ (float pinc, float qinc)

Private Attributes

float p_
float q_
unsigned int ncircles
unsigned int ncircleverts
std::vector< VECTORvertices
std::vector< VECTORnormals
std::vector< GLuint > indices


Constructor & Destructor Documentation

PQTorusKnot::PQTorusKnot  ) 
 

PQTorusKnot::PQTorusKnot float  p,
float  q,
unsigned int  ncircles = 222,
unsigned int  ncircleverts = 42
 

PQTorusKnot::~PQTorusKnot void   ) 
 


Member Function Documentation

void PQTorusKnot::GetPoint float  t,
VECTOR point
[inline]
 

void PQTorusKnot::IncreasePQ float  pinc,
float  qinc
[inline]
 

void PQTorusKnot::Render  ) 
 

void PQTorusKnot::SetPQ float  p,
float  q
[inline]
 

void PQTorusKnot::Update  ) 
 


Member Data Documentation

std::vector<GLuint> PQTorusKnot::indices [private]
 

unsigned int PQTorusKnot::ncircles [private]
 

unsigned int PQTorusKnot::ncircleverts [private]
 

std::vector<VECTOR> PQTorusKnot::normals [private]
 

float PQTorusKnot::p_ [private]
 

float PQTorusKnot::q_ [private]
 

std::vector<VECTOR> PQTorusKnot::vertices [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Jan 22 16:23:52 2006 for Inside Time by  doxygen 1.4.5