Dtk_Loop is bound of a face it can be outer or inner. More...
Public Member Functions | |
virtual Dtk_ErrorStatus | _Store (void *) |
Dtk_ErrorStatus | AddCoedge (const Dtk_CoedgePtr &inCoedge, const Dtk_bool &inCoedgeOrientation) |
Add coedge to the loop. More... | |
Dtk_ErrorStatus | Compute3DBoundaries (Dtk_tab< Dtk_CurvePtr > &out3DBound, Dtk_bool inComputeFlag=0) const |
Compute an array of consecutive 3D curves representing the loop. More... | |
Dtk_ErrorStatus | ComputeBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax) |
Compute bounding Box of 3d Boundaries if they exist. More... | |
Dtk_ErrorStatus | ComputeUVBoundaries (Dtk_tab< Dtk_CurvePtr > &outUVBound, Dtk_bool inComputeFlag=0) const |
Compute an array of consecutive UV curves representing the loop. More... | |
Dtk_ErrorStatus | ComputeUVBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax, Dtk_bool inComputeFlag=DTK_FALSE) |
Compute bounding Box of UV Boundaries if they exist. More... | |
int | DtkDynamicType (const int &inId) |
Get smart pointer type. More... | |
virtual void | dump (FILE *file=stdout) |
Dtk_InfoPtr | get_info () const |
type_detk | get_type_detk () const |
Return Type of entity. More... | |
Dtk_ErrorStatus | GetCoedge (const Dtk_Size_t &inIndex, Dtk_CoedgePtr &outCoedge, Dtk_bool &outCoedgeOrientation) const |
Get a coedge in the loop. More... | |
Dtk_ErrorStatus | GetCoedge (const Dtk_Size_t &inIndex, Dtk_ID &outCoedgeId, Dtk_bool &outCoedgeOrientation) const |
Dtk_ErrorStatus | GetCoedgeIndex (Dtk_CoedgePtr &inCoedge, Dtk_Size_t &outIndex) const |
Get an index of a coedge in the loop. More... | |
const Dtk_ID & | GetID () const |
Get Internal UniqueID. More... | |
Dtk_Size_t | GetNumCoedges () const |
Return number of coedge in the loop. More... | |
Dtk_bool | GetOrientation () const |
Return orientation for Loop relative to face. More... | |
Dtk_ErrorStatus | GetParentFace (Dtk_FacePtr &outParentFace) const |
Return pointer on parent face. More... | |
virtual Dtk_Size_t | GetSize () const |
Dtk_ID | GetTopoID () const |
Dtk_ErrorStatus | GetTopologyStatus () const |
Dtk_ErrorStatus | GetVertexLoop (Dtk_VertexPtr &outVertexLoop) const |
Return vertex loop. More... | |
Dtk_InfoPtr & | info () |
Dtk_ErrorStatus | InverseCoedgeOrientation () const |
Inverse sens of all coedges in the loop. More... | |
Dtk_bool | IsOuter () const |
Return true if Loop is outer. More... | |
Dtk_bool | IsVertexLoop () const |
Return true if Loop is a vertex loop. More... | |
virtual void | PrepareTransfo () |
Dtk_ErrorStatus | RemoveCoedgeFromLoop (const Dtk_CoedgePtr &inCoedge) |
Dtk_ErrorStatus | SetCoedges (const Dtk_tab< Dtk_CoedgePtr > &inCoedgeArray, const Dtk_tab< Dtk_bool > &inCoedgeOrientationArray) |
Dtk_ErrorStatus | SetOrientation (const Dtk_bool &inOrientation) |
Set orientation for Loop relative to face. More... | |
Dtk_ErrorStatus | SetOuterInfo (const Dtk_bool &inIsOuter) |
Dtk_ErrorStatus | SetParentBody (const Dtk_BodyPtr &inParentBody) |
Dtk_ErrorStatus | SetParentFace (const Dtk_FacePtr &inParentFace) |
Set pointer on parent face. More... | |
Dtk_ErrorStatus | SetParentFace (const Dtk_ID &inParentFaceId) |
void | SetTopologyStatus (Dtk_ErrorStatus inStatus) |
Dtk_ErrorStatus | SetVertexLoop (const Dtk_VertexPtr inVertexLoop) |
Set vertex loop. More... | |
virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Transform object. More... | |
Static Public Member Functions | |
static Dtk_LoopPtr | Create (const Dtk_BodyPtr &inParentBody) |
Create a loop in a body. More... | |
static Dtk_LoopPtr | Create (const Dtk_BodyPtr &inParentBody, Dtk_UInt32 inCoedgeReserve) |
Create a loop in a body. More... | |
static Dtk_Loop * | DtkDynamicCast (Dtk_Object *s) |
Protected Types | |
enum | { _typeID = DTK_TYPE_TOPOLOGICAL_REPRESENTATION_ITEM } |
enum | { _typeID = DTK_TYPE_ENTITY } |
enum | { _typeID = DTK_TYPE_LOOP } |
Protected Member Functions | |
void | _Clone (Dtk_TopologicalEntityPtr &outTopo, Dtk_Body *_inParentBody) |
void | _copy (const Dtk_Entity &s) |
void | _Copy (const Dtk_Loop &inTopo, Dtk_Body *inParentBody) |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _Init () |
void | _reset () |
void | _Reset () |
virtual Dtk_Object * | Clone () |
Dtk_Loop () | |
Dtk_Loop (const Dtk_Loop &inTopo, Dtk_Body *inParentBody) | |
Dtk_ErrorStatus | GetParentBody (Dtk_Body *&outParentBody) const |
Dtk_ErrorStatus | SetCoedge (const Dtk_Size_t &inIndex, const Dtk_CoedgePtr &inCoedge, const Dtk_bool &inOrientation) |
virtual | ~Dtk_Loop () |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_Loop > |
class | Dtk_TopologicalEntity |
Dtk_Loop is bound of a face it can be outer or inner.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Implements Dtk_TopologicalEntity.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |
|
virtual |
Reimplemented from Dtk_Entity.
Dtk_ErrorStatus Dtk_Loop::AddCoedge | ( | const Dtk_CoedgePtr & | inCoedge, |
const Dtk_bool & | inCoedgeOrientation | ||
) |
Add coedge to the loop.
[in] | inCoedge : pointer on coedge you add | |
[in] | inCoedgeOrientation : orientation of coedge in the loop (true is loop and coedge go in same sens) |
|
protectedvirtualinherited |
Implements Dtk_Entity.
Dtk_ErrorStatus Dtk_Loop::Compute3DBoundaries | ( | Dtk_tab< Dtk_CurvePtr > & | out3DBound, |
Dtk_bool | inComputeFlag = 0 |
||
) | const |
Compute an array of consecutive 3D curves representing the loop.
[out] |
Dtk_ErrorStatus Dtk_Loop::ComputeBoundingBox | ( | Dtk_pnt & | outMin, |
Dtk_pnt & | outMax | ||
) |
Compute bounding Box of 3d Boundaries if they exist.
[out] |
Dtk_ErrorStatus Dtk_Loop::ComputeUVBoundaries | ( | Dtk_tab< Dtk_CurvePtr > & | outUVBound, |
Dtk_bool | inComputeFlag = 0 |
||
) | const |
Compute an array of consecutive UV curves representing the loop.
[out] |
Dtk_ErrorStatus Dtk_Loop::ComputeUVBoundingBox | ( | Dtk_pnt & | outMin, |
Dtk_pnt & | outMax, | ||
Dtk_bool | inComputeFlag = DTK_FALSE |
||
) |
Compute bounding Box of UV Boundaries if they exist.
[out] |
|
static |
Create a loop in a body.
[in] | inParentBody | : parent body |
|
static |
Create a loop in a body.
[in] | inParentBody | : parent body |
[in] | inCoedgeReserve | : Coedge size to reserve |
|
static |
|
virtual |
|
virtualinherited |
|
inherited |
|
virtual |
Dtk_ErrorStatus Dtk_Loop::GetCoedge | ( | const Dtk_Size_t & | inIndex, |
Dtk_CoedgePtr & | outCoedge, | ||
Dtk_bool & | outCoedgeOrientation | ||
) | const |
Get a coedge in the loop.
[in] | inIndex index of coedge to get | |
[out] | outCoedge : pointer on coedge you ask | |
[out] | outCoedgeOrientation : orientation of coedge in the loop |
Dtk_ErrorStatus Dtk_Loop::GetCoedge | ( | const Dtk_Size_t & | inIndex, |
Dtk_ID & | outCoedgeId, | ||
Dtk_bool & | outCoedgeOrientation | ||
) | const |
Dtk_ErrorStatus Dtk_Loop::GetCoedgeIndex | ( | Dtk_CoedgePtr & | inCoedge, |
Dtk_Size_t & | outIndex | ||
) | const |
Get an index of a coedge in the loop.
[in] | inCoedge : pointer on coedge you want the index | |
[out] | outIndex index of the coedge |
|
inherited |
Get Internal UniqueID.
Dtk_Size_t Dtk_Loop::GetNumCoedges | ( | ) | const |
Return number of coedge in the loop.
Dtk_bool Dtk_Loop::GetOrientation | ( | ) | const |
Return orientation for Loop relative to face.
|
protected |
Dtk_ErrorStatus Dtk_Loop::GetParentFace | ( | Dtk_FacePtr & | outParentFace | ) | const |
Return pointer on parent face.
[out] |
|
virtual |
Reimplemented from Dtk_Entity.
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
Dtk_ErrorStatus Dtk_Loop::GetTopologyStatus | ( | ) | const |
Dtk_ErrorStatus Dtk_Loop::GetVertexLoop | ( | Dtk_VertexPtr & | outVertexLoop | ) | const |
Return vertex loop.
[out] | outVertexLoop : pointer on vertex loop |
|
inherited |
Dtk_ErrorStatus Dtk_Loop::InverseCoedgeOrientation | ( | ) | const |
Inverse sens of all coedges in the loop.
Dtk_bool Dtk_Loop::IsOuter | ( | ) | const |
Return true if Loop is outer.
Dtk_bool Dtk_Loop::IsVertexLoop | ( | ) | const |
Return true if Loop is a vertex loop.
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
Dtk_ErrorStatus Dtk_Loop::RemoveCoedgeFromLoop | ( | const Dtk_CoedgePtr & | inCoedge | ) |
|
protected |
Dtk_ErrorStatus Dtk_Loop::SetCoedges | ( | const Dtk_tab< Dtk_CoedgePtr > & | inCoedgeArray, |
const Dtk_tab< Dtk_bool > & | inCoedgeOrientationArray | ||
) |
Dtk_ErrorStatus Dtk_Loop::SetOrientation | ( | const Dtk_bool & | inOrientation | ) |
Set orientation for Loop relative to face.
[in] | :inOrientation | True if material is on the left |
Dtk_ErrorStatus Dtk_Loop::SetOuterInfo | ( | const Dtk_bool & | inIsOuter | ) |
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
Dtk_ErrorStatus Dtk_Loop::SetParentFace | ( | const Dtk_FacePtr & | inParentFace | ) |
Set pointer on parent face.
[in] |
Dtk_ErrorStatus Dtk_Loop::SetParentFace | ( | const Dtk_ID & | inParentFaceId | ) |
void Dtk_Loop::SetTopologyStatus | ( | Dtk_ErrorStatus | inStatus | ) |
Dtk_ErrorStatus Dtk_Loop::SetVertexLoop | ( | const Dtk_VertexPtr | inVertexLoop | ) |
Set vertex loop.
[in] | inVertexLoop : pointer on vertex loop |
|
virtualinherited |
Transform object.
[in] | inTransfo | : matrix to apply |
Implements Dtk_Entity.
|
friend |
|
friend |
|
protected |
|
protectedinherited |