GEO_Hull Class Reference

#include <GEO_Hull.h>

Inheritance diagram for GEO_Hull:

GEO_Primitive GB_Primitive GB_AttributeElem GB_Element GEO_PrimMesh GEO_TPSurf GU_PrimMesh GEO_PrimNURBSurf GEO_PrimRBezSurf GU_PrimNURBSurf GU_PrimRBezSurf

List of all members.

Public Member Functions

 GEO_Hull (GEO_Detail *d)
virtual ~GEO_Hull ()
virtual unsigned getPrimitiveId () const =0
virtual int evaluateBreakpoint (int uidx, int vidx, UT_Vector4 &pos, int du=0, int dv=0) const =0
virtual bool evaluateIndex (fpreal u, fpreal v, GEO_Vertex &result, GEO_AttributeHandleList &hlist, unsigned du, unsigned dv) const
virtual int evaluateIndex (float iu, float iv, UT_Vector4 &pos, unsigned du=0, unsigned dv=0) const
virtual int SYS_DEPRECATED evaluateIndexWAttrib (float iu, float iv, UT_Vector4 &pos, GB_AttributeData &adata, const GB_FloatOffsets &foffsets, unsigned du=0, unsigned dv=0) const
virtual int evaluateNormalVector (UT_Vector3 &nml, float u, float v=0) const
virtual int evaluateNormal (float u, float v, UT_Vector3 &nml) const
virtual int normalIndex (float iu, float iv, UT_Vector3 &nml) const
virtual int uMinValidIndex (void) const
virtual int uMaxValidIndex (void) const
virtual int vMinValidIndex (void) const
virtual int vMaxValidIndex (void) const
virtual int save (ostream &os, int binary) const
virtual bool load (UT_IStream &is)
virtual int getBBox (UT_BoundingBox *bbox) const
virtual void addToBSphere (UT_BoundingSphere *bsphere) const
virtual UT_Vector3 baryCenter () const
virtual bool evaluateBaryCenter (GEO_Vertex &result, GEO_AttributeHandleList &hlist) const
virtual UT_Vector3 computeNormal () const
virtual void copyPrimitive (const GEO_Primitive *src, GEO_Point **ptredirect)
virtual GEO_Primitivecopy (int preserve_shared_pts=0) const
virtual void addPointRefToGroup (GB_PointGroup &grp) const
virtual void changePointRef (GB_Element *from, GB_Element *to)
virtual void reverse (void)
virtual void reverseU (void)
virtual void reverseV (void)
virtual int cycleU (int amount, int=1)
virtual int cycleV (int amount, int=1)
int setRowCol (unsigned int r, unsigned int c)
virtual int insertRow (unsigned int beforeWhich, int appendPts=1)
int appendRow (int appendPts=1)
virtual int insertCol (unsigned int beforeWhich, int appendPts=1)
int appendCol (int appendPts=1)
virtual int deleteRow (unsigned int which)
virtual int deleteCol (unsigned int which)
virtual int detachPoints (GB_PointGroup &grp)
virtual int subdivideU (fpreal u, GEO_AttributeHandleList &hlist)
virtual int subdivideU (float u)
virtual int SYS_DEPRECATED subdivideUWAttrib (float u, const GB_FloatOffsets &foffsets)
virtual int subdivideV (float u, GEO_AttributeHandleList &hlist)
virtual int subdivideV (float u)
virtual int SYS_DEPRECATED subdivideVWAttrib (float u, const GB_FloatOffsets &foffsets)
virtual void subdivide (int numdivs, GB_PointGroup *ptgroup=0)
virtual int warpU (float u, const UT_Vector3 &delta, GEO_AttributeHandleList &hlist, float sharpness=0.0f, float bias=-1.0f)=0
virtual int warpV (float v, const UT_Vector3 &delta, GEO_AttributeHandleList &hlist, float sharpness=0.0f, float bias=-1.0f)=0
virtual int warp (float u, float v, const UT_Vector3 &delta, GEO_AttributeHandleList &hlist, float usharpness=0.0f, float vsharpness=0.f, float ubias=-1.0f, float vbias=-1.0f)=0
virtual int SYS_DEPRECATED warpU (float u, const UT_Vector3 &delta, GB_FloatOffsets *foffsets=0, float sharpness=0.0f, float bias=-1.0f)=0
virtual int SYS_DEPRECATED warpV (float v, const UT_Vector3 &delta, GB_FloatOffsets *foffsets=0, float sharpness=0.0f, float bias=-1.0f)=0
virtual int SYS_DEPRECATED warp (float u, float v, const UT_Vector3 &delta, GB_FloatOffsets *foffsets=0, float usharpness=0.0f, float vsharpness=0.f, float ubias=-1.0f, float vbias=-1.0f)=0
int warpAlongNormal (float u, float v, float distance, GEO_AttributeHandleList &hlist, float usharpness, float vsharpness, float ubias, float vbias, int u_v_both)
int SYS_DEPRECATED warpAlongNormal (float u, float v, float distance, GB_FloatOffsets *foffsets, float usharpness, float vsharpness, float ubias, float vbias, int u_v_both)
virtual int attachU (const GEO_Hull &hull, int blend=1, float bias=0.5f, float tolerance=1.0f, int unrefine=1, GB_PointGroup *ptgroup=0)=0
virtual int attachV (const GEO_Hull &hull, int blend=1, float bias=0.5f, float tolerance=1.0f, int unrefine=1, GB_PointGroup *ptgroup=0)=0
virtual int refineU (float k, GEO_AttributeHandleList &hlist, int i=0)
virtual int refineU (float k, int=0)
virtual int SYS_DEPRECATED refineUWAttrib (float k, const GB_FloatOffsets &foffsets, int=0)
virtual int SYS_DEPRECATED refineUWAttrib (float k, const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int=0)
virtual int refineV (float k, GEO_AttributeHandleList &hlist, int i=0)
virtual int refineV (float k, int=0)
virtual int SYS_DEPRECATED refineVWAttrib (float k, const GB_FloatOffsets &foffsets, int=0)
virtual int SYS_DEPRECATED refineVWAttrib (float k, const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int=0)
virtual void spanRefineU (GEO_AttributeHandleList &hlist, int numdivs=1)=0
virtual void spanRefineU (int numdivs=1)=0
virtual void SYS_DEPRECATED spanRefineUWAttrib (const GB_FloatOffsets &foffsets, int numdivs=1)=0
virtual void spanRefineV (GEO_AttributeHandleList &hlist, int numdivs=1)=0
virtual void spanRefineV (int numdivs=1)=0
virtual void SYS_DEPRECATED spanRefineVWAttrib (const GB_FloatOffsets &foffsets, int numdivs=1)=0
virtual int unrefineU (int kidx, GEO_AttributeHandleList &h, int mult=0, fpreal tol=1e-4f, GB_PointGroup *delgroup=0)
virtual int unrefineU (int kidx, int mult=0, float tol=1e-4F, GB_PointGroup *delgroup=0)
virtual int SYS_DEPRECATED unrefineUWAttrib (int kidx, const GB_FloatOffsets &foffets, int mult=0, float tol=1e-4F, GB_PointGroup *delgroup=0)
virtual int unrefineV (int kidx, GEO_AttributeHandleList &h, int mult=0, fpreal tol=1e-4f, GB_PointGroup *delgroup=0)
virtual int unrefineV (int kidx, int mult=0, float tol=1e-4F, GB_PointGroup *delgroup=0)
virtual int SYS_DEPRECATED unrefineVWAttrib (int kidx, const GB_FloatOffsets &foffets, int mult=0, float tol=1e-4F, GB_PointGroup *delgroup=0)
virtual void fixSeamsU (void)
virtual void fixSeamsV (void)
GB_AttributeRef rowColTexture (GB_AttributeRef txtoff, int ptattrib)
int getNumRows () const
int getNumCols () const
const GEO_Vertexoperator() (unsigned int r, unsigned int c) const
GEO_Vertexoperator() (unsigned int r, unsigned int c)
const GEO_VertexgetVertex (unsigned int r, unsigned int c) const
void setVertex (unsigned int r, unsigned int c, GEO_Point *pt)
GEO_SurfaceType getSurfaceType () const
void setSurfaceType (GEO_SurfaceType t)
unsigned isWrappedU () const
unsigned isWrappedV () const
virtual void wrapU (int rounded=1, int preserveShape=0)
virtual void openU (int preserveShape=0, int safe=0)
virtual void wrapV (int rounded=1, int preserveShape=0)
virtual void openV (int preserveShape=0, int safe=0)
virtual short isClampedU (void) const
virtual short isClampedV (void) const
virtual int unrollU (int append_pts=1)
virtual int unrollV (int append_pts=1)
virtual int isPointUsed (GB_Element *pt) const
virtual int isPointGroupUsed (const GB_PointGroup &grp) const
virtual int hasEdge (const GEO_Point &a, const GEO_Point &b) const
virtual int hasEdge (const GB_Edge &edge) const
virtual int isDegenerate () const
virtual int ifDetachPoint (GB_Element *ppt) const
virtual int vertexApply (int(*apply)(GB_Vertex &vtx, void *), void *data=0)
virtual int vertexApply (int(*apply)(const GB_Vertex &vtx, void *), void *data=0) const
virtual void edgeApply (GEO_EdgeApplyFunc apply, void *data=0)
virtual void edgeApplyIndex (GEO_EdgeApplyIndexFunc apply, void *data=0)
virtual unsigned getVertexCount () const
virtual const GEO_VertexgetVertex (unsigned idx) const
virtual GEO_VertexgetVertex (unsigned idx)
virtual int loftU (int newcount, int start=-1, int stop=-1)=0
virtual int loftV (int newcount, int start=-1, int stop=-1)=0
virtual void realToUnitPair (float ureal, float vreal, float &uunit, float &vunit) const
virtual void unitToRealPair (float uunit, float vunit, float &ureal, float &vreal) const
virtual void unitToRealDomain (float u_unit, float v_unit, float &u_real, float &v_real) const
virtual void realToUnitDomain (float u_real, float v_real, float &u_unit, float &v_unit) const
virtual void unitToRealSequenceU (float *uunit, float *ureal, int ulen) const
virtual void unitToRealSequenceV (float *vunit, float *vreal, int vlen) const
virtual int findEdgePoints (const GB_Edge &edge, int *pr0, int *pc0, int *pr1, int *pc1) const
virtual int findEdgePoints (const GEO_Point &a, const GEO_Point &b, int *pr0, int *pc0, int *pr1, int *pc1) const
int makeEdgeMatrix (const GB_EdgeGroup &edges, GEO_SubHull &subhull)
void homogenize (GEO_AttributeHandleList &hlist, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void dehomogenize (GEO_AttributeHandleList &hlist, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void homogenize (int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void dehomogenize (int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void SYS_DEPRECATED homogenizeWAttrib (const GB_FloatOffsets &foffsets, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void SYS_DEPRECATED dehomogenizeWAttrib (const GB_FloatOffsets &foffsets, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void SYS_DEPRECATED homogenizeWAttrib (const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void SYS_DEPRECATED dehomogenizeWAttrib (const GB_FloatOffsets *foffsets, const GB_FloatOffsets *vtxoffsets, int startrow=0, int endrow=-1, int startcol=0, int endcol=-1)
void sampleEndsU (int n)
void sampleEndsV (int n)
virtual void validURange (float &ua, float &ub) const
virtual void validVRange (float &va, float &vb) const
virtual void validUInterval (int &a, int &b) const
virtual void validVInterval (int &a, int &b) const
float getIndices (float c, int &c1, int &c2, int maxIndex, int wrap) const
virtual void transpose ()
virtual int parametricBBox (float u, float v, float *u0, float *u1, float *v0, float *v1)
virtual float uvDist (float u1, float v1, float u2, float v2) const
virtual void weights (unsigned short onOff)
virtual float calcVolume (UT_Vector3 &refpt) const
virtual float calcArea () const
virtual float calcPerimeter () const

Protected Member Functions

virtual void copyOffsetPrimitive (const GEO_Primitive *src, int base)
int breakHull (GEO_SubHull &subhull, int top, int left, int bottom, int right, GEO_SubHullFlags break_flags)
int checkUsedEdges (UT_BitArray *remove_edges, const GEO_SubHull &subhull)
virtual GEO_HullgetSubHull (int top, int left, int bottom, int right, GEO_SubHullFlags break_flags)=0
virtual int savePrivate (ostream &os, int binary) const =0
virtual bool loadPrivate (UT_IStream &is)=0
virtual int saveExtra (ostream &os, int binary) const =0
virtual bool loadExtra (UT_IStream &is)=0
virtual int pointCanDelete (GB_Element *pt) const
virtual void pointDeleted (GB_Element *pt)
virtual bool validate (void) const =0
float getLRIndex (float c, int &c1, int &c2, int minIndex, int maxIndex, int wrap) const

Protected Attributes

UT_RefMatrix< GEO_VertexvtxMatx
GEO_HullFlags flags
GEO_SurfaceType surfaceType

Friends

ostream & operator<< (ostream &os, const GEO_Hull &d)


Detailed Description

Definition at line 109 of file GEO_Hull.h.


Constructor & Destructor Documentation

GEO_Hull::GEO_Hull ( GEO_Detail d  ) 

virtual GEO_Hull::~GEO_Hull (  )  [virtual]


Member Function Documentation

virtual void GEO_Hull::addPointRefToGroup ( GB_PointGroup grp  )  const [virtual]

Implements GB_Primitive.

virtual void GEO_Hull::addToBSphere ( UT_BoundingSphere bsphere  )  const [virtual]

Implements GB_Primitive.

int GEO_Hull::appendCol ( int  appendPts = 1  )  [inline]

Definition at line 183 of file GEO_Hull.h.

int GEO_Hull::appendRow ( int  appendPts = 1  )  [inline]

Definition at line 178 of file GEO_Hull.h.

virtual int GEO_Hull::attachU ( const GEO_Hull hull,
int  blend = 1,
float  bias = 0.5f,
float  tolerance = 1.0f,
int  unrefine = 1,
GB_PointGroup ptgroup = 0 
) [pure virtual]

virtual int GEO_Hull::attachV ( const GEO_Hull hull,
int  blend = 1,
float  bias = 0.5f,
float  tolerance = 1.0f,
int  unrefine = 1,
GB_PointGroup ptgroup = 0 
) [pure virtual]

virtual UT_Vector3 GEO_Hull::baryCenter (  )  const [virtual]

Implements GB_Primitive.

int GEO_Hull::breakHull ( GEO_SubHull subhull,
int  top,
int  left,
int  bottom,
int  right,
GEO_SubHullFlags  break_flags 
) [protected]

virtual float GEO_Hull::calcArea (  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual float GEO_Hull::calcPerimeter (  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual float GEO_Hull::calcVolume ( UT_Vector3 refpt  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual void GEO_Hull::changePointRef ( GB_Element from,
GB_Element to 
) [virtual]

Implements GB_Primitive.

Reimplemented in GEO_TPSurf.

int GEO_Hull::checkUsedEdges ( UT_BitArray remove_edges,
const GEO_SubHull subhull 
) [protected]

virtual UT_Vector3 GEO_Hull::computeNormal (  )  const [virtual]

Implements GB_Primitive.

virtual GEO_Primitive* GEO_Hull::copy ( int  preserve_shared_pts = 0  )  const [virtual]

Reimplemented from GEO_Primitive.

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::copyOffsetPrimitive ( const GEO_Primitive src,
int  base 
) [protected, virtual]

Implements GEO_Primitive.

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::copyPrimitive ( const GEO_Primitive src,
GEO_Point **  ptredirect 
) [virtual]

Implements GEO_Primitive.

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::cycleU ( int  amount,
int  = 1 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::cycleV ( int  amount,
int  = 1 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

void GEO_Hull::dehomogenize ( int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void GEO_Hull::dehomogenize ( GEO_AttributeHandleList hlist,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void SYS_DEPRECATED GEO_Hull::dehomogenizeWAttrib ( const GB_FloatOffsets foffsets,
const GB_FloatOffsets vtxoffsets,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void SYS_DEPRECATED GEO_Hull::dehomogenizeWAttrib ( const GB_FloatOffsets foffsets,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

virtual int GEO_Hull::deleteCol ( unsigned int  which  )  [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::deleteRow ( unsigned int  which  )  [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::detachPoints ( GB_PointGroup grp  )  [virtual]

Implements GB_Primitive.

virtual void GEO_Hull::edgeApply ( GEO_EdgeApplyFunc  apply,
void *  data = 0 
) [virtual]

Reimplemented from GEO_Primitive.

virtual void GEO_Hull::edgeApplyIndex ( GEO_EdgeApplyIndexFunc  apply,
void *  data = 0 
) [virtual]

Reimplemented from GEO_Primitive.

virtual bool GEO_Hull::evaluateBaryCenter ( GEO_Vertex result,
GEO_AttributeHandleList hlist 
) const [virtual]

Implements GEO_Primitive.

virtual int GEO_Hull::evaluateBreakpoint ( int  uidx,
int  vidx,
UT_Vector4 pos,
int  du = 0,
int  dv = 0 
) const [pure virtual]

virtual int GEO_Hull::evaluateIndex ( float  iu,
float  iv,
UT_Vector4 pos,
unsigned  du = 0,
unsigned  dv = 0 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual bool GEO_Hull::evaluateIndex ( fpreal  u,
fpreal  v,
GEO_Vertex result,
GEO_AttributeHandleList hlist,
unsigned  du,
unsigned  dv 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual int SYS_DEPRECATED GEO_Hull::evaluateIndexWAttrib ( float  iu,
float  iv,
UT_Vector4 pos,
GB_AttributeData adata,
const GB_FloatOffsets foffsets,
unsigned  du = 0,
unsigned  dv = 0 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::evaluateNormal ( float  u,
float  v,
UT_Vector3 nml 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::evaluateNormalVector ( UT_Vector3 nml,
float  u,
float  v = 0 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_Hull::findEdgePoints ( const GEO_Point a,
const GEO_Point b,
int *  pr0,
int *  pc0,
int *  pr1,
int *  pc1 
) const [virtual]

virtual int GEO_Hull::findEdgePoints ( const GB_Edge edge,
int *  pr0,
int *  pc0,
int *  pr1,
int *  pc1 
) const [virtual]

virtual void GEO_Hull::fixSeamsU ( void   )  [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual void GEO_Hull::fixSeamsV ( void   )  [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::getBBox ( UT_BoundingBox bbox  )  const [virtual]

Implements GB_Primitive.

float GEO_Hull::getIndices ( float  c,
int &  c1,
int &  c2,
int  maxIndex,
int  wrap 
) const

float GEO_Hull::getLRIndex ( float  c,
int &  c1,
int &  c2,
int  minIndex,
int  maxIndex,
int  wrap 
) const [protected]

int GEO_Hull::getNumCols (  )  const [inline]

Definition at line 343 of file GEO_Hull.h.

int GEO_Hull::getNumRows (  )  const [inline]

Definition at line 342 of file GEO_Hull.h.

virtual unsigned GEO_Hull::getPrimitiveId (  )  const [pure virtual]

Implements GB_Primitive.

Implemented in GEO_PrimMesh, GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual GEO_Hull* GEO_Hull::getSubHull ( int  top,
int  left,
int  bottom,
int  right,
GEO_SubHullFlags  break_flags 
) [protected, pure virtual]

GEO_SurfaceType GEO_Hull::getSurfaceType (  )  const [inline]

Definition at line 363 of file GEO_Hull.h.

virtual GEO_Vertex& GEO_Hull::getVertex ( unsigned  idx  )  [virtual]

Implements GEO_Primitive.

virtual const GEO_Vertex& GEO_Hull::getVertex ( unsigned  idx  )  const [virtual]

Implements GEO_Primitive.

const GEO_Vertex& GEO_Hull::getVertex ( unsigned int  r,
unsigned int  c 
) const

virtual unsigned GEO_Hull::getVertexCount (  )  const [virtual]

Implements GB_Primitive.

virtual int GEO_Hull::hasEdge ( const GB_Edge edge  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_Hull::hasEdge ( const GEO_Point a,
const GEO_Point b 
) const [virtual]

Reimplemented from GEO_Primitive.

void GEO_Hull::homogenize ( int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void GEO_Hull::homogenize ( GEO_AttributeHandleList hlist,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void SYS_DEPRECATED GEO_Hull::homogenizeWAttrib ( const GB_FloatOffsets ptoffsets,
const GB_FloatOffsets vtxoffsets,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

void SYS_DEPRECATED GEO_Hull::homogenizeWAttrib ( const GB_FloatOffsets foffsets,
int  startrow = 0,
int  endrow = -1,
int  startcol = 0,
int  endcol = -1 
)

virtual int GEO_Hull::ifDetachPoint ( GB_Element ppt  )  const [virtual]

Reimplemented from GB_Primitive.

virtual int GEO_Hull::insertCol ( unsigned int  beforeWhich,
int  appendPts = 1 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::insertRow ( unsigned int  beforeWhich,
int  appendPts = 1 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual short GEO_Hull::isClampedU ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual short GEO_Hull::isClampedV ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::isDegenerate (  )  const [virtual]

Implements GB_Primitive.

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::isPointGroupUsed ( const GB_PointGroup grp  )  const [virtual]

Implements GB_Primitive.

virtual int GEO_Hull::isPointUsed ( GB_Element pt  )  const [virtual]

Implements GB_Primitive.

unsigned GEO_Hull::isWrappedU (  )  const [inline]

Definition at line 366 of file GEO_Hull.h.

unsigned GEO_Hull::isWrappedV (  )  const [inline]

Definition at line 367 of file GEO_Hull.h.

virtual bool GEO_Hull::load ( UT_IStream is  )  [virtual]

Implements GB_Primitive.

virtual bool GEO_Hull::loadExtra ( UT_IStream is  )  [protected, pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual bool GEO_Hull::loadPrivate ( UT_IStream is  )  [protected, pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual int GEO_Hull::loftU ( int  newcount,
int  start = -1,
int  stop = -1 
) [pure virtual]

virtual int GEO_Hull::loftV ( int  newcount,
int  start = -1,
int  stop = -1 
) [pure virtual]

int GEO_Hull::makeEdgeMatrix ( const GB_EdgeGroup edges,
GEO_SubHull subhull 
)

virtual int GEO_Hull::normalIndex ( float  iu,
float  iv,
UT_Vector3 nml 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::openU ( int  preserveShape = 0,
int  safe = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual void GEO_Hull::openV ( int  preserveShape = 0,
int  safe = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

GEO_Vertex& GEO_Hull::operator() ( unsigned int  r,
unsigned int  c 
) [inline]

Definition at line 351 of file GEO_Hull.h.

const GEO_Vertex& GEO_Hull::operator() ( unsigned int  r,
unsigned int  c 
) const [inline]

Definition at line 347 of file GEO_Hull.h.

virtual int GEO_Hull::parametricBBox ( float  u,
float  v,
float *  u0,
float *  u1,
float *  v0,
float *  v1 
) [virtual]

Reimplemented from GEO_Primitive.

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::pointCanDelete ( GB_Element pt  )  const [protected, virtual]

Implements GB_Primitive.

virtual void GEO_Hull::pointDeleted ( GB_Element pt  )  [protected, virtual]

Implements GB_Primitive.

virtual void GEO_Hull::realToUnitDomain ( float  u_real,
float  v_real,
float &  u_unit,
float &  v_unit 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::realToUnitPair ( float  ureal,
float  vreal,
float &  uunit,
float &  vunit 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_Hull::refineU ( float  k,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::refineU ( float  k,
GEO_AttributeHandleList hlist,
int  i = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int SYS_DEPRECATED GEO_Hull::refineUWAttrib ( float  k,
const GB_FloatOffsets ptoffsets,
const GB_FloatOffsets vtxoffsets,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int SYS_DEPRECATED GEO_Hull::refineUWAttrib ( float  k,
const GB_FloatOffsets foffsets,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::refineV ( float  k,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::refineV ( float  k,
GEO_AttributeHandleList hlist,
int  i = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int SYS_DEPRECATED GEO_Hull::refineVWAttrib ( float  k,
const GB_FloatOffsets ptoffsets,
const GB_FloatOffsets vtxoffsets,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int SYS_DEPRECATED GEO_Hull::refineVWAttrib ( float  k,
const GB_FloatOffsets foffsets,
int  = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual void GEO_Hull::reverse ( void   )  [virtual]

Implements GB_Primitive.

virtual void GEO_Hull::reverseU ( void   )  [virtual]

Reimplemented in GEO_PrimNURBSurf, GEO_PrimRBezSurf, and GEO_TPSurf.

virtual void GEO_Hull::reverseV ( void   )  [virtual]

Reimplemented in GEO_PrimNURBSurf, GEO_PrimRBezSurf, and GEO_TPSurf.

GB_AttributeRef GEO_Hull::rowColTexture ( GB_AttributeRef  txtoff,
int  ptattrib 
)

void GEO_Hull::sampleEndsU ( int  n  ) 

void GEO_Hull::sampleEndsV ( int  n  ) 

virtual int GEO_Hull::save ( ostream &  os,
int  binary 
) const [virtual]

Implements GB_Primitive.

virtual int GEO_Hull::saveExtra ( ostream &  os,
int  binary 
) const [protected, pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual int GEO_Hull::savePrivate ( ostream &  os,
int  binary 
) const [protected, pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

int GEO_Hull::setRowCol ( unsigned int  r,
unsigned int  c 
)

void GEO_Hull::setSurfaceType ( GEO_SurfaceType  t  )  [inline]

Definition at line 364 of file GEO_Hull.h.

void GEO_Hull::setVertex ( unsigned int  r,
unsigned int  c,
GEO_Point pt 
) [inline]

Definition at line 357 of file GEO_Hull.h.

virtual void GEO_Hull::spanRefineU ( int  numdivs = 1  )  [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void GEO_Hull::spanRefineU ( GEO_AttributeHandleList hlist,
int  numdivs = 1 
) [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void SYS_DEPRECATED GEO_Hull::spanRefineUWAttrib ( const GB_FloatOffsets foffsets,
int  numdivs = 1 
) [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void GEO_Hull::spanRefineV ( int  numdivs = 1  )  [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void GEO_Hull::spanRefineV ( GEO_AttributeHandleList hlist,
int  numdivs = 1 
) [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void SYS_DEPRECATED GEO_Hull::spanRefineVWAttrib ( const GB_FloatOffsets foffsets,
int  numdivs = 1 
) [pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void GEO_Hull::subdivide ( int  numdivs,
GB_PointGroup ptgroup = 0 
) [virtual]

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::subdivideU ( float  u  )  [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::subdivideU ( fpreal  u,
GEO_AttributeHandleList hlist 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int SYS_DEPRECATED GEO_Hull::subdivideUWAttrib ( float  u,
const GB_FloatOffsets foffsets 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::subdivideV ( float  u  )  [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::subdivideV ( float  u,
GEO_AttributeHandleList hlist 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int SYS_DEPRECATED GEO_Hull::subdivideVWAttrib ( float  u,
const GB_FloatOffsets foffsets 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual void GEO_Hull::transpose (  )  [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::uMaxValidIndex ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::uMinValidIndex ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual void GEO_Hull::unitToRealDomain ( float  u_unit,
float  v_unit,
float &  u_real,
float &  v_real 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::unitToRealPair ( float  uunit,
float  vunit,
float &  ureal,
float &  vreal 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual void GEO_Hull::unitToRealSequenceU ( float *  uunit,
float *  ureal,
int  ulen 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::unitToRealSequenceV ( float *  vunit,
float *  vreal,
int  vlen 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::unrefineU ( int  kidx,
int  mult = 0,
float  tol = 1e-4F,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::unrefineU ( int  kidx,
GEO_AttributeHandleList h,
int  mult = 0,
fpreal  tol = 1e-4f,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int SYS_DEPRECATED GEO_Hull::unrefineUWAttrib ( int  kidx,
const GB_FloatOffsets foffets,
int  mult = 0,
float  tol = 1e-4F,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::unrefineV ( int  kidx,
int  mult = 0,
float  tol = 1e-4F,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::unrefineV ( int  kidx,
GEO_AttributeHandleList h,
int  mult = 0,
fpreal  tol = 1e-4f,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int SYS_DEPRECATED GEO_Hull::unrefineVWAttrib ( int  kidx,
const GB_FloatOffsets foffets,
int  mult = 0,
float  tol = 1e-4F,
GB_PointGroup delgroup = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int GEO_Hull::unrollU ( int  append_pts = 1  )  [virtual]

virtual int GEO_Hull::unrollV ( int  append_pts = 1  )  [virtual]

virtual float GEO_Hull::uvDist ( float  u1,
float  v1,
float  u2,
float  v2 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual bool GEO_Hull::validate ( void   )  const [protected, pure virtual]

Implemented in GEO_PrimMesh, and GEO_TPSurf.

virtual void GEO_Hull::validUInterval ( int &  a,
int &  b 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::validURange ( float &  ua,
float &  ub 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::validVInterval ( int &  a,
int &  b 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::validVRange ( float &  va,
float &  vb 
) const [virtual]

Reimplemented in GEO_TPSurf.

virtual int GEO_Hull::vertexApply ( int(*)(const GB_Vertex &vtx, void *)  apply,
void *  data = 0 
) const [virtual]

Implements GB_Primitive.

virtual int GEO_Hull::vertexApply ( int(*)(GB_Vertex &vtx, void *)  apply,
void *  data = 0 
) [virtual]

Implements GB_Primitive.

virtual int GEO_Hull::vMaxValidIndex ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual int GEO_Hull::vMinValidIndex ( void   )  const [virtual]

Reimplemented in GEO_PrimNURBSurf.

virtual int SYS_DEPRECATED GEO_Hull::warp ( float  u,
float  v,
const UT_Vector3 delta,
GB_FloatOffsets foffsets = 0,
float  usharpness = 0.0f,
float  vsharpness = 0.f,
float  ubias = -1.0f,
float  vbias = -1.0f 
) [pure virtual]

virtual int GEO_Hull::warp ( float  u,
float  v,
const UT_Vector3 delta,
GEO_AttributeHandleList hlist,
float  usharpness = 0.0f,
float  vsharpness = 0.f,
float  ubias = -1.0f,
float  vbias = -1.0f 
) [pure virtual]

int SYS_DEPRECATED GEO_Hull::warpAlongNormal ( float  u,
float  v,
float  distance,
GB_FloatOffsets foffsets,
float  usharpness,
float  vsharpness,
float  ubias,
float  vbias,
int  u_v_both 
)

int GEO_Hull::warpAlongNormal ( float  u,
float  v,
float  distance,
GEO_AttributeHandleList hlist,
float  usharpness,
float  vsharpness,
float  ubias,
float  vbias,
int  u_v_both 
)

virtual int SYS_DEPRECATED GEO_Hull::warpU ( float  u,
const UT_Vector3 delta,
GB_FloatOffsets foffsets = 0,
float  sharpness = 0.0f,
float  bias = -1.0f 
) [pure virtual]

virtual int GEO_Hull::warpU ( float  u,
const UT_Vector3 delta,
GEO_AttributeHandleList hlist,
float  sharpness = 0.0f,
float  bias = -1.0f 
) [pure virtual]

virtual int SYS_DEPRECATED GEO_Hull::warpV ( float  v,
const UT_Vector3 delta,
GB_FloatOffsets foffsets = 0,
float  sharpness = 0.0f,
float  bias = -1.0f 
) [pure virtual]

virtual int GEO_Hull::warpV ( float  v,
const UT_Vector3 delta,
GEO_AttributeHandleList hlist,
float  sharpness = 0.0f,
float  bias = -1.0f 
) [pure virtual]

virtual void GEO_Hull::weights ( unsigned short  onOff  )  [virtual]

Reimplemented in GEO_TPSurf.

virtual void GEO_Hull::wrapU ( int  rounded = 1,
int  preserveShape = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.

virtual void GEO_Hull::wrapV ( int  rounded = 1,
int  preserveShape = 0 
) [virtual]

Reimplemented in GEO_PrimNURBSurf, and GEO_PrimRBezSurf.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const GEO_Hull d 
) [friend]

Definition at line 585 of file GEO_Hull.h.


Member Data Documentation

Definition at line 568 of file GEO_Hull.h.

Definition at line 569 of file GEO_Hull.h.

Definition at line 567 of file GEO_Hull.h.


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

Generated on Mon Jan 28 00:48:22 2013 for HDK by  doxygen 1.5.9