#include <GU_PolyWire.h>
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_Detail * | getGdp () 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_Point * | getJunctionPoint (const UT_Vector3 &stdpos, const UT_Vector3 ¢er, float scale) |
| void | evaluateJunctionPoints (const UT_Vector3 ¢er, 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_Vector3 * | myUpVectors |
| int | myJointCorrection |
| int | myDoTextures |
| int | myUseUpVector |
| UT_FloatArray | myTexU |
| UT_FloatArray | myTexV |
| UT_FloatArray | myGlbTexU |
| UT_PtrArray< UT_Vector3Array * > | myCircleCache |
| GU_Detail * | myGdp |
| GB_PrimitiveGroup * | myPrimGroup |
| gu_ConnectionGraph * | myGraph |
| UT_HashTable * | myEdgeHash |
| UT_RefArray< gu_JunctionPoint > | myJunctionPoints |
| UT_PtrArray< gu_EdgeHashEntry * > | myEdgeHashEntries |
Definition at line 43 of file GU_PolyWire.h.
| GU_PolyWire::GU_PolyWire | ( | ) |
| virtual GU_PolyWire::~GU_PolyWire | ( | ) | [virtual] |
| 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::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::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.
UT_PtrArray<UT_Vector3Array *> GU_PolyWire::myCircleCache [protected] |
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.
UT_HashTable* GU_PolyWire::myEdgeHash [protected] |
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.
GU_Detail* GU_PolyWire::myGdp [protected] |
Definition at line 150 of file GU_PolyWire.h.
UT_FloatArray GU_PolyWire::myGlbTexU [protected] |
Definition at line 141 of file GU_PolyWire.h.
gu_ConnectionGraph* GU_PolyWire::myGraph [protected] |
Definition at line 154 of file GU_PolyWire.h.
int GU_PolyWire::myJointCorrection [protected] |
Definition at line 134 of file GU_PolyWire.h.
float* GU_PolyWire::myJointScale [protected] |
Definition at line 130 of file GU_PolyWire.h.
UT_RefArray<gu_JunctionPoint> GU_PolyWire::myJunctionPoints [protected] |
Definition at line 160 of file GU_PolyWire.h.
GB_PrimitiveGroup* GU_PolyWire::myPrimGroup [protected] |
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.
UT_FloatArray GU_PolyWire::myTexU [protected] |
Definition at line 138 of file GU_PolyWire.h.
UT_FloatArray GU_PolyWire::myTexV [protected] |
Definition at line 139 of file GU_PolyWire.h.
UT_Vector3* GU_PolyWire::myUpVectors [protected] |
Definition at line 133 of file GU_PolyWire.h.
int GU_PolyWire::myUseUpVector [protected] |
Definition at line 136 of file GU_PolyWire.h.
1.5.9