GU_PolyWire Class Reference

#include <GU_PolyWire.h>

List of all members.

Public Member Functions

 GU_PolyWire ()
virtual ~GU_PolyWire ()
void setPtWidths (float *widths)
void setJointScale (float *scale)
void setPtSmooth (int *smooth)
void setDivisions (int *div)
void setSegments (const GEO_Point *pt1, const GEO_Point *pt2, int segments)
void setV (const GEO_Point *pt1, const GEO_Point *pt2, float v1, float v2)
void setU (const GEO_Point *pt1, const GEO_Point *pt2, float uoff, float u1, float u2)
void setSegScales (const GEO_Point *pt1, const GEO_Point *pt2, float segscale1, float segscale2)
void setGdp (GU_Detail *gdp)
void setGrp (GB_PrimitiveGroup *grp)
void setJointCorrection (int jc)
void setDoTextures (int dotext)
void setUseUpVector (int up)
void setUpVectors (UT_Vector3 *up)
GU_DetailgetGdp () const
int getSmooth (int pt) const
float getWidth (int pt) const
float getMaxScale (int pt) const
int getSegments (int pt1, int pt2) const
void getV (int pt1, int pt2, float &v1, float &v2) const
void getU (int pt1, int pt2, float &uoff, float &u1, float &u2) const
void getSegScales (int pt1, int pt2, float &segscale1, float &segscale2) const
int getDivisions (int pt) const
UT_Vector3 getUpVector (int pt) const
int doJointCorrection () const
int doTextures () const
int useUpVector () const
float getPtTexU (int idx)
void setPtTexU (int idx, float val)
float getPtTexV (int idx)
void setPtTexV (int idx, float val)
float getGlbPtTexU (int idx)
int hasGlbPtTexU (int idx) const
void setGlbPtTexU (int idx, float val)
UT_Vector3 getCirclePos (int idx, int div)
void buildWire ()
GEO_PointgetJunctionPoint (const UT_Vector3 &stdpos, const UT_Vector3 &center, float scale)
void evaluateJunctionPoints (const UT_Vector3 &center, float scale, GEO_Point *cpt)
void clearJunctionPoints ()
void textureClampPolys (const UT_PtrArray< GEO_PrimPoly * > &polylist, float ubase, float uwidth)

Protected Member Functions

void buildCircleCache (int div)

Protected Attributes

float * myPtWidths
float * myJointScale
int * myPtSmooth
int * myDivs
UT_Vector3myUpVectors
int myJointCorrection
int myDoTextures
int myUseUpVector
UT_FloatArray myTexU
UT_FloatArray myTexV
UT_FloatArray myGlbTexU
UT_PtrArray< UT_Vector3Array * > myCircleCache
GU_DetailmyGdp
GB_PrimitiveGroupmyPrimGroup
gu_ConnectionGraph * myGraph
UT_HashTablemyEdgeHash
UT_RefArray< gu_JunctionPointmyJunctionPoints
UT_PtrArray< gu_EdgeHashEntry * > myEdgeHashEntries


Detailed Description

Definition at line 43 of file GU_PolyWire.h.


Constructor & Destructor Documentation

GU_PolyWire::GU_PolyWire (  ) 

virtual GU_PolyWire::~GU_PolyWire (  )  [virtual]


Member Function Documentation

void GU_PolyWire::buildCircleCache ( int  div  )  [protected]

void GU_PolyWire::buildWire (  ) 

void GU_PolyWire::clearJunctionPoints (  ) 

int GU_PolyWire::doJointCorrection (  )  const [inline]

Definition at line 85 of file GU_PolyWire.h.

int GU_PolyWire::doTextures (  )  const [inline]

Definition at line 86 of file GU_PolyWire.h.

void GU_PolyWire::evaluateJunctionPoints ( const UT_Vector3 center,
float  scale,
GEO_Point cpt 
)

UT_Vector3 GU_PolyWire::getCirclePos ( int  idx,
int  div 
) [inline]

Definition at line 101 of file GU_PolyWire.h.

int GU_PolyWire::getDivisions ( int  pt  )  const [inline]

Definition at line 83 of file GU_PolyWire.h.

GU_Detail* GU_PolyWire::getGdp (  )  const [inline]

Definition at line 73 of file GU_PolyWire.h.

float GU_PolyWire::getGlbPtTexU ( int  idx  ) 

GEO_Point* GU_PolyWire::getJunctionPoint ( const UT_Vector3 stdpos,
const UT_Vector3 center,
float  scale 
)

float GU_PolyWire::getMaxScale ( int  pt  )  const [inline]

Definition at line 76 of file GU_PolyWire.h.

float GU_PolyWire::getPtTexU ( int  idx  ) 

float GU_PolyWire::getPtTexV ( int  idx  ) 

int GU_PolyWire::getSegments ( int  pt1,
int  pt2 
) const

void GU_PolyWire::getSegScales ( int  pt1,
int  pt2,
float &  segscale1,
float &  segscale2 
) const

int GU_PolyWire::getSmooth ( int  pt  )  const [inline]

Definition at line 74 of file GU_PolyWire.h.

void GU_PolyWire::getU ( int  pt1,
int  pt2,
float &  uoff,
float &  u1,
float &  u2 
) const

UT_Vector3 GU_PolyWire::getUpVector ( int  pt  )  const [inline]

Definition at line 84 of file GU_PolyWire.h.

void GU_PolyWire::getV ( int  pt1,
int  pt2,
float &  v1,
float &  v2 
) const

float GU_PolyWire::getWidth ( int  pt  )  const [inline]

Definition at line 75 of file GU_PolyWire.h.

int GU_PolyWire::hasGlbPtTexU ( int  idx  )  const

void GU_PolyWire::setDivisions ( int *  div  ) 

void GU_PolyWire::setDoTextures ( int  dotext  )  [inline]

Definition at line 68 of file GU_PolyWire.h.

void GU_PolyWire::setGdp ( GU_Detail gdp  )  [inline]

Definition at line 65 of file GU_PolyWire.h.

void GU_PolyWire::setGlbPtTexU ( int  idx,
float  val 
)

void GU_PolyWire::setGrp ( GB_PrimitiveGroup grp  )  [inline]

Definition at line 66 of file GU_PolyWire.h.

void GU_PolyWire::setJointCorrection ( int  jc  )  [inline]

Definition at line 67 of file GU_PolyWire.h.

void GU_PolyWire::setJointScale ( float *  scale  )  [inline]

Definition at line 51 of file GU_PolyWire.h.

void GU_PolyWire::setPtSmooth ( int *  smooth  )  [inline]

Definition at line 52 of file GU_PolyWire.h.

void GU_PolyWire::setPtTexU ( int  idx,
float  val 
)

void GU_PolyWire::setPtTexV ( int  idx,
float  val 
)

void GU_PolyWire::setPtWidths ( float *  widths  )  [inline]

Definition at line 50 of file GU_PolyWire.h.

void GU_PolyWire::setSegments ( const GEO_Point pt1,
const GEO_Point pt2,
int  segments 
)

void GU_PolyWire::setSegScales ( const GEO_Point pt1,
const GEO_Point pt2,
float  segscale1,
float  segscale2 
)

void GU_PolyWire::setU ( const GEO_Point pt1,
const GEO_Point pt2,
float  uoff,
float  u1,
float  u2 
)

void GU_PolyWire::setUpVectors ( UT_Vector3 up  )  [inline]

Definition at line 70 of file GU_PolyWire.h.

void GU_PolyWire::setUseUpVector ( int  up  )  [inline]

Definition at line 69 of file GU_PolyWire.h.

void GU_PolyWire::setV ( const GEO_Point pt1,
const GEO_Point pt2,
float  v1,
float  v2 
)

void GU_PolyWire::textureClampPolys ( const UT_PtrArray< GEO_PrimPoly * > &  polylist,
float  ubase,
float  uwidth 
)

int GU_PolyWire::useUpVector (  )  const [inline]

Definition at line 87 of file GU_PolyWire.h.


Member Data Documentation

Definition at line 147 of file GU_PolyWire.h.

int* GU_PolyWire::myDivs [protected]

Definition at line 132 of file GU_PolyWire.h.

int GU_PolyWire::myDoTextures [protected]

Definition at line 135 of file GU_PolyWire.h.

Definition at line 157 of file GU_PolyWire.h.

UT_PtrArray<gu_EdgeHashEntry *> GU_PolyWire::myEdgeHashEntries [protected]

Definition at line 163 of file GU_PolyWire.h.

Definition at line 150 of file GU_PolyWire.h.

Definition at line 141 of file GU_PolyWire.h.

gu_ConnectionGraph* GU_PolyWire::myGraph [protected]

Definition at line 154 of file GU_PolyWire.h.

Definition at line 134 of file GU_PolyWire.h.

float* GU_PolyWire::myJointScale [protected]

Definition at line 130 of file GU_PolyWire.h.

Definition at line 160 of file GU_PolyWire.h.

Definition at line 151 of file GU_PolyWire.h.

int* GU_PolyWire::myPtSmooth [protected]

Definition at line 131 of file GU_PolyWire.h.

float* GU_PolyWire::myPtWidths [protected]

Definition at line 129 of file GU_PolyWire.h.

Definition at line 138 of file GU_PolyWire.h.

Definition at line 139 of file GU_PolyWire.h.

Definition at line 133 of file GU_PolyWire.h.

int GU_PolyWire::myUseUpVector [protected]

Definition at line 136 of file GU_PolyWire.h.


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

Generated on Mon Jan 28 00:29:39 2013 for HDK by  doxygen 1.5.9