Curve Class Reference

#include <Curve.h>

List of all members.

Public Member Functions

 Curve ()
int numPoints ()
int addPoint (const XYZ &pt)
bool empty ()
void clear ()
XYZgetPoint (int ptNum)
void setPoint (int ptNum, const XYZ &pt)
void deletePoint (int ptNum)
CurveNodegetNode (int ptNum)
CurveNodesetNode (int ptNum, CurveNode &node_in)
void setDivisions (int numDivisions)
void getCurve (std::vector< XYZ > &curve_out)
void draw ()
void drawExtruded ()
void drawLathe (int lathe_divisions)
void setAdaptive (float angle_threshold)
XYZgetCurvePoint (int ptNum)
int addCurvePoint (int ptNum)
int closestPointTo (XYZ &pt)
int closestCurvePointTo (XYZ &pt)
 Curve ()
int numPoints ()
int addPoint (const XYZ &pt)
bool empty ()
void clear ()
XYZgetPoint (int ptNum)
void setPoint (int ptNum, const XYZ &pt)
void deletePoint (int ptNum)
CurveNodegetNode (int ptNum)
CurveNodesetNode (int ptNum, CurveNode &node_in)
void setDivisions (int numDivisions)
void getCurve (std::vector< XYZ > &curve_out)
void draw ()
void drawExtruded ()
void drawLathe (int lathe_divisions)
void setAdaptive (float angle_threshold)
XYZgetCurvePoint (int ptNum)
int addCurvePoint (int ptNum)
int closestPointTo (XYZ &pt)
int closestCurvePointTo (XYZ &pt)

Private Member Functions

void regenerate ()
void regenerate ()

Private Attributes

std::vector< XYZpointList
std::vector< CurveNodetcbList
std::vector< XYZ >::iterator point_i
std::vector< XYZpointListGen
std::vector< XYZ >::iterator pointGen_i
bool needs_regen
int divisions
float threshold


Constructor & Destructor Documentation

Curve::Curve (  ) 

Curve::Curve (  ) 


Member Function Documentation

void Curve::regenerate (  )  [private]

Here is the call graph for this function:

int Curve::numPoints (  ) 

int Curve::addPoint ( const XYZ pt  ) 

bool Curve::empty (  ) 

void Curve::clear (  ) 

XYZ & Curve::getPoint ( int  ptNum  ) 

void Curve::setPoint ( int  ptNum,
const XYZ pt 
)

void Curve::deletePoint ( int  ptNum  ) 

CurveNode & Curve::getNode ( int  ptNum  ) 

CurveNode & Curve::setNode ( int  ptNum,
CurveNode node_in 
)

void Curve::setDivisions ( int  numDivisions  ) 

void Curve::getCurve ( std::vector< XYZ > &  curve_out  ) 

Here is the call graph for this function:

void Curve::draw (  ) 

Here is the call graph for this function:

void Curve::drawExtruded (  ) 

Here is the call graph for this function:

void Curve::drawLathe ( int  lathe_divisions  ) 

Here is the call graph for this function:

void Curve::setAdaptive ( float  angle_threshold  ) 

XYZ & Curve::getCurvePoint ( int  ptNum  ) 

int Curve::addCurvePoint ( int  ptNum  ) 

int Curve::closestPointTo ( XYZ pt  ) 

Here is the call graph for this function:

int Curve::closestCurvePointTo ( XYZ pt  ) 

Here is the call graph for this function:

void Curve::regenerate (  )  [private]

int Curve::numPoints (  ) 

int Curve::addPoint ( const XYZ pt  ) 

bool Curve::empty (  ) 

void Curve::clear (  ) 

XYZ& Curve::getPoint ( int  ptNum  ) 

void Curve::setPoint ( int  ptNum,
const XYZ pt 
)

void Curve::deletePoint ( int  ptNum  ) 

CurveNode& Curve::getNode ( int  ptNum  ) 

CurveNode& Curve::setNode ( int  ptNum,
CurveNode node_in 
)

void Curve::setDivisions ( int  numDivisions  ) 

void Curve::getCurve ( std::vector< XYZ > &  curve_out  ) 

void Curve::draw (  ) 

void Curve::drawExtruded (  ) 

void Curve::drawLathe ( int  lathe_divisions  ) 

void Curve::setAdaptive ( float  angle_threshold  ) 

XYZ& Curve::getCurvePoint ( int  ptNum  ) 

int Curve::addCurvePoint ( int  ptNum  ) 

int Curve::closestPointTo ( XYZ pt  ) 

int Curve::closestCurvePointTo ( XYZ pt  ) 


Member Data Documentation

std::vector< XYZ > Curve::pointList [private]

std::vector< CurveNode > Curve::tcbList [private]

std::vector< XYZ >::iterator Curve::point_i [private]

std::vector< XYZ > Curve::pointListGen [private]

std::vector< XYZ >::iterator Curve::pointGen_i [private]

bool Curve::needs_regen [private]

int Curve::divisions [private]

float Curve::threshold [private]


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

Generated on Thu Mar 19 19:35:15 2009 for CubicVR by  doxygen 1.5.6