#include <GU_TPSurf.h>

Public Member Functions | |
| virtual | ~GU_TPSurf () |
| GEO_Primitive * | convert (GU_ConvertParms &parms, GB_PointGroup *usedpts=0) |
| GEO_Primitive * | convertNew (GU_ConvertParms &parms) |
| virtual int | intersectRay (const UT_Vector3 &o, const UT_Vector3 &d, float tmax=1E17F, float tol=1E-12F, float *distance=0, UT_Vector3 *pos=0, UT_Vector3 *nml=0, int accurate=0, float *u=0, float *v=0, int ignoretrim=1) const |
| int | intersectSurf (GU_Primitive &prim, GU_IsectCurveSet &curveset, float worldtol=1e-4F, float domaintol=1e-2F, int steps=100, int docompact=1) |
| int | doesIntersect (GU_Primitive &prim, float worldtol=1e-4F, int nontrivial=0) |
| int | rayHit (const UT_Vector3 &o, const UT_Vector3 &dir, GU_RayInfo &hitinfo) const |
| virtual GEO_Hull * | reconfigure (unsigned type, int orderu, int orderv, int openu, int openv, int endsu, int endsv) const =0 |
| void | normal (const GB_AttributeRef &noff) const |
| void | normal (UT_Vector3Array &output) const |
| virtual GEO_Curve * | buildRowCurve (int appendPoints=1, GU_Detail *parent=0) const =0 |
| virtual GEO_Curve * | buildColCurve (int appendPoints=1, GU_Detail *parent=0) const =0 |
| GEO_Curve * | extractUIsoparm (float u, int uoffset=-1, GU_Detail *parent=0) const |
| SYS_DEPRECATED GEO_Curve * | extractUIsoparmWAttrib (float u, const GB_FloatOffsets &foffsets, int uoffset=-1) const |
| GEO_Curve * | extractUIsoparm (float u, GEO_AttributeHandleList &hl, int uoffset=-1, GU_Detail *parent=0) const |
| GEO_Curve * | extractVIsoparm (float v, int voffset=-1, GU_Detail *parent=0) const |
| SYS_DEPRECATED GEO_Curve * | extractVIsoparmWAttrib (float v, const GB_FloatOffsets &foffsets, int voffset=-1) const |
| GEO_Curve * | extractVIsoparm (float u, GEO_AttributeHandleList &hl, int uoffset=-1, GU_Detail *parent=0) const |
| GEO_Curve * | extractU (float unitu, GU_Detail *parent=0) |
| GEO_Curve * | extractV (float unitv, GU_Detail *parent=0) |
| int | project (const GEO_Face &f, const GU_ProjectParms &p) |
| int | project (const GB_PrimitiveGroup &faces, const GU_ProjectParms &p, GU_Detail *gdp=0) |
| GEO_Curve * | extract (const GD_Primitive &profile, int smooth=1, int sdivs=20, float tol=0.001F, int sharp=1, int order=4, int only_first_visible_part=0) const |
| GEO_Face * | extract (const GD_Primitive &profile, float z=0) const |
| virtual GU_DisplayCache * | getDisplayCache (void) const |
| virtual int | buildDisplayCache (GU_CacheParms &parms) |
| virtual GU_DisplayMesh * | getDisplayMesh (const GB_AttributeRef &, float) |
| virtual GU_RayIntersect * | getRayCache (void) const |
| virtual int | buildRayCache (void) |
| virtual GU_RayIntersect * | createRayCache (int &persistent) |
| virtual void | destroyCache (void) |
| virtual void | notifyCache (int type) |
| virtual void | notifyCache (int type, const GEO_Point &ppt) |
| virtual void | notifyCache (int type, const GB_PointGroup &grp) |
| virtual void | notifyCache (int type, const UT_Matrix4 &xform, int push) |
| virtual void | notifyCache (int type, const UT_Vector3 &delta) |
| virtual GU_TPSurf * | cutU (float u1, float u2, int &ind1, int &ind2, int keep)=0 |
| virtual GU_TPSurf * | cutV (float v1, float v2, int &ind1, int &ind2, int keep)=0 |
| virtual void | openAtU (float u)=0 |
| virtual void | openAtV (float v)=0 |
| int | elevateOrderU (int order) |
| int | elevateOrderV (int order) |
| int | findMins (const GEO_Face &face, int numdivs, UT_Vector3Array &domain, const GEO_Face *dface=0, UT_Vector4Array *displaces=0) |
| int | findProjects (GEO_Face &face, int numdivs, const UT_Vector3 &projdir, UT_Vector3Array &domain, const GEO_Face *dface=0, UT_Vector4Array *displaces=0) |
| int | interpretBreakpoint (int uidx, int vidx, UT_Vector3 &p) |
| GEO_TPSurf * | getSurface (void) const |
| int | evaluateSurface (GU_ConvertMethod &method, UT_Vector4Array &pos, int &nu, int &nv, UT_FloatArray *uval=0, UT_FloatArray *vval=0) const |
Static Public Member Functions | |
| static void | compute4PtNormal (UT_Vector4 &p1, UT_Vector4 &p2, UT_Vector4 &p3, UT_Vector4 &p4, UT_Vector3 &n1, UT_Vector3 &n2, UT_Vector3 &n3, UT_Vector3 &n4) |
Protected Member Functions | |
| GU_TPSurf () | |
| int | create (GEO_TPSurf *tp, int rows, int cols, GEO_SurfaceType type, int wrapu, int wrapv, int appendPoints=1) |
| void | setSurface (GEO_TPSurf *tp) |
| void | evaluationInterval (float lodu, float lodv, float &ustart, float &ustop, int &nu, float &vstart, float &vstop, int &nv) const |
| int SYS_DEPRECATED | evaluateSurface (GU_ConvertMethod &method, UT_Vector4Array &pos, GB_AttributeData *&aptdata, GB_AttributeData *&avtxdata, int &nu, int &nv) const |
| void | compute2PtNormal (GEO_Point *p1, GEO_Point *p2, UT_Vector3 &nml) const |
| void | quadNormal (GEO_Point *p1, GEO_Point *p2, GEO_Point *p3, GEO_Point *p4, const GB_AttributeRef &noff) const |
| void | quadNormal (GEO_Point *p1, GEO_Point *p2, GEO_Point *p3, GEO_Point *p4, UT_Vector3Array &output) const |
Static Protected Member Functions | |
| static void | compute2PtNormal (UT_Vector4 &p1, UT_Vector4 &p2, UT_Vector3 &nml) |
Definition at line 83 of file GU_TPSurf.h.
| virtual GU_TPSurf::~GU_TPSurf | ( | ) | [virtual] |
| GU_TPSurf::GU_TPSurf | ( | ) | [inline, protected] |
Definition at line 251 of file GU_TPSurf.h.
| virtual GEO_Curve* GU_TPSurf::buildColCurve | ( | int | appendPoints = 1, |
|
| GU_Detail * | parent = 0 | |||
| ) | const [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| virtual int GU_TPSurf::buildDisplayCache | ( | GU_CacheParms & | parms | ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual int GU_TPSurf::buildRayCache | ( | void | ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual GEO_Curve* GU_TPSurf::buildRowCurve | ( | int | appendPoints = 1, |
|
| GU_Detail * | parent = 0 | |||
| ) | const [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| void GU_TPSurf::compute2PtNormal | ( | GEO_Point * | p1, | |
| GEO_Point * | p2, | |||
| UT_Vector3 & | nml | |||
| ) | const [protected] |
| static void GU_TPSurf::compute2PtNormal | ( | UT_Vector4 & | p1, | |
| UT_Vector4 & | p2, | |||
| UT_Vector3 & | nml | |||
| ) | [inline, static, protected] |
Definition at line 265 of file GU_TPSurf.h.
| static void GU_TPSurf::compute4PtNormal | ( | UT_Vector4 & | p1, | |
| UT_Vector4 & | p2, | |||
| UT_Vector4 & | p3, | |||
| UT_Vector4 & | p4, | |||
| UT_Vector3 & | n1, | |||
| UT_Vector3 & | n2, | |||
| UT_Vector3 & | n3, | |||
| UT_Vector3 & | n4 | |||
| ) | [static] |
| GEO_Primitive* GU_TPSurf::convert | ( | GU_ConvertParms & | parms, | |
| GB_PointGroup * | usedpts = 0 | |||
| ) | [virtual] |
Implements GU_Primitive.
| GEO_Primitive* GU_TPSurf::convertNew | ( | GU_ConvertParms & | parms | ) | [virtual] |
| int GU_TPSurf::create | ( | GEO_TPSurf * | tp, | |
| int | rows, | |||
| int | cols, | |||
| GEO_SurfaceType | type, | |||
| int | wrapu, | |||
| int | wrapv, | |||
| int | appendPoints = 1 | |||
| ) | [protected] |
| virtual GU_RayIntersect* GU_TPSurf::createRayCache | ( | int & | persistent | ) | [virtual] |
Implements GU_Primitive.
| virtual GU_TPSurf* GU_TPSurf::cutU | ( | float | u1, | |
| float | u2, | |||
| int & | ind1, | |||
| int & | ind2, | |||
| int | keep | |||
| ) | [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| virtual GU_TPSurf* GU_TPSurf::cutV | ( | float | v1, | |
| float | v2, | |||
| int & | ind1, | |||
| int & | ind2, | |||
| int | keep | |||
| ) | [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| virtual void GU_TPSurf::destroyCache | ( | void | ) | [virtual] |
Reimplemented from GU_Primitive.
| int GU_TPSurf::doesIntersect | ( | GU_Primitive & | prim, | |
| float | worldtol = 1e-4F, |
|||
| int | nontrivial = 0 | |||
| ) |
| int GU_TPSurf::elevateOrderU | ( | int | order | ) |
| int GU_TPSurf::elevateOrderV | ( | int | order | ) |
| int SYS_DEPRECATED GU_TPSurf::evaluateSurface | ( | GU_ConvertMethod & | method, | |
| UT_Vector4Array & | pos, | |||
| GB_AttributeData *& | aptdata, | |||
| GB_AttributeData *& | avtxdata, | |||
| int & | nu, | |||
| int & | nv | |||
| ) | const [protected] |
| int GU_TPSurf::evaluateSurface | ( | GU_ConvertMethod & | method, | |
| UT_Vector4Array & | pos, | |||
| int & | nu, | |||
| int & | nv, | |||
| UT_FloatArray * | uval = 0, |
|||
| UT_FloatArray * | vval = 0 | |||
| ) | const |
| void GU_TPSurf::evaluationInterval | ( | float | lodu, | |
| float | lodv, | |||
| float & | ustart, | |||
| float & | ustop, | |||
| int & | nu, | |||
| float & | vstart, | |||
| float & | vstop, | |||
| int & | nv | |||
| ) | const [protected] |
| GEO_Face* GU_TPSurf::extract | ( | const GD_Primitive & | profile, | |
| float | z = 0 | |||
| ) | const |
| GEO_Curve* GU_TPSurf::extract | ( | const GD_Primitive & | profile, | |
| int | smooth = 1, |
|||
| int | sdivs = 20, |
|||
| float | tol = 0.001F, |
|||
| int | sharp = 1, |
|||
| int | order = 4, |
|||
| int | only_first_visible_part = 0 | |||
| ) | const |
| GEO_Curve* GU_TPSurf::extractUIsoparm | ( | float | u, | |
| GEO_AttributeHandleList & | hl, | |||
| int | uoffset = -1, |
|||
| GU_Detail * | parent = 0 | |||
| ) | const |
| SYS_DEPRECATED GEO_Curve* GU_TPSurf::extractUIsoparmWAttrib | ( | float | u, | |
| const GB_FloatOffsets & | foffsets, | |||
| int | uoffset = -1 | |||
| ) | const |
| GEO_Curve* GU_TPSurf::extractVIsoparm | ( | float | u, | |
| GEO_AttributeHandleList & | hl, | |||
| int | uoffset = -1, |
|||
| GU_Detail * | parent = 0 | |||
| ) | const |
| SYS_DEPRECATED GEO_Curve* GU_TPSurf::extractVIsoparmWAttrib | ( | float | v, | |
| const GB_FloatOffsets & | foffsets, | |||
| int | voffset = -1 | |||
| ) | const |
| int GU_TPSurf::findMins | ( | const GEO_Face & | face, | |
| int | numdivs, | |||
| UT_Vector3Array & | domain, | |||
| const GEO_Face * | dface = 0, |
|||
| UT_Vector4Array * | displaces = 0 | |||
| ) |
| int GU_TPSurf::findProjects | ( | GEO_Face & | face, | |
| int | numdivs, | |||
| const UT_Vector3 & | projdir, | |||
| UT_Vector3Array & | domain, | |||
| const GEO_Face * | dface = 0, |
|||
| UT_Vector4Array * | displaces = 0 | |||
| ) |
| virtual GU_DisplayCache* GU_TPSurf::getDisplayCache | ( | void | ) | const [virtual] |
Reimplemented from GU_Primitive.
| virtual GU_DisplayMesh* GU_TPSurf::getDisplayMesh | ( | const GB_AttributeRef & | , | |
| float | ||||
| ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual GU_RayIntersect* GU_TPSurf::getRayCache | ( | void | ) | const [virtual] |
Reimplemented from GU_Primitive.
| GEO_TPSurf* GU_TPSurf::getSurface | ( | void | ) | const [inline] |
Definition at line 262 of file GU_TPSurf.h.
| int GU_TPSurf::interpretBreakpoint | ( | int | uidx, | |
| int | vidx, | |||
| UT_Vector3 & | p | |||
| ) |
| virtual int GU_TPSurf::intersectRay | ( | const UT_Vector3 & | o, | |
| const UT_Vector3 & | d, | |||
| float | tmax = 1E17F, |
|||
| float | tol = 1E-12F, |
|||
| float * | distance = 0, |
|||
| UT_Vector3 * | pos = 0, |
|||
| UT_Vector3 * | nml = 0, |
|||
| int | accurate = 0, |
|||
| float * | u = 0, |
|||
| float * | v = 0, |
|||
| int | ignoretrim = 1 | |||
| ) | const [virtual] |
Implements GU_Primitive.
| int GU_TPSurf::intersectSurf | ( | GU_Primitive & | prim, | |
| GU_IsectCurveSet & | curveset, | |||
| float | worldtol = 1e-4F, |
|||
| float | domaintol = 1e-2F, |
|||
| int | steps = 100, |
|||
| int | docompact = 1 | |||
| ) |
| void GU_TPSurf::normal | ( | UT_Vector3Array & | output | ) | const [virtual] |
Implements GU_Primitive.
| void GU_TPSurf::normal | ( | const GB_AttributeRef & | noff | ) | const [virtual] |
Implements GU_Primitive.
| virtual void GU_TPSurf::notifyCache | ( | int | type, | |
| const UT_Vector3 & | delta | |||
| ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual void GU_TPSurf::notifyCache | ( | int | type, | |
| const UT_Matrix4 & | xform, | |||
| int | push | |||
| ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual void GU_TPSurf::notifyCache | ( | int | type, | |
| const GB_PointGroup & | grp | |||
| ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual void GU_TPSurf::notifyCache | ( | int | type, | |
| const GEO_Point & | ppt | |||
| ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual void GU_TPSurf::notifyCache | ( | int | type | ) | [virtual] |
Reimplemented from GU_Primitive.
| virtual void GU_TPSurf::openAtU | ( | float | u | ) | [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| virtual void GU_TPSurf::openAtV | ( | float | v | ) | [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| int GU_TPSurf::project | ( | const GB_PrimitiveGroup & | faces, | |
| const GU_ProjectParms & | p, | |||
| GU_Detail * | gdp = 0 | |||
| ) |
| int GU_TPSurf::project | ( | const GEO_Face & | f, | |
| const GU_ProjectParms & | p | |||
| ) |
| void GU_TPSurf::quadNormal | ( | GEO_Point * | p1, | |
| GEO_Point * | p2, | |||
| GEO_Point * | p3, | |||
| GEO_Point * | p4, | |||
| UT_Vector3Array & | output | |||
| ) | const [protected] |
| void GU_TPSurf::quadNormal | ( | GEO_Point * | p1, | |
| GEO_Point * | p2, | |||
| GEO_Point * | p3, | |||
| GEO_Point * | p4, | |||
| const GB_AttributeRef & | noff | |||
| ) | const [protected] |
| int GU_TPSurf::rayHit | ( | const UT_Vector3 & | o, | |
| const UT_Vector3 & | dir, | |||
| GU_RayInfo & | hitinfo | |||
| ) | const |
| virtual GEO_Hull* GU_TPSurf::reconfigure | ( | unsigned | type, | |
| int | orderu, | |||
| int | orderv, | |||
| int | openu, | |||
| int | openv, | |||
| int | endsu, | |||
| int | endsv | |||
| ) | const [pure virtual] |
Implemented in GU_PrimNURBSurf, and GU_PrimRBezSurf.
| void GU_TPSurf::setSurface | ( | GEO_TPSurf * | tp | ) | [inline, protected] |
Definition at line 259 of file GU_TPSurf.h.
1.5.9