is a surface bounded by Dtk_Loop. More...
Public Member Functions | |
virtual Dtk_ErrorStatus | _Store (void *) |
Dtk_ErrorStatus | AddDegeneratedEdges () const |
Add Degenerated UV curves in loops. More... | |
Dtk_ErrorStatus | AddInnerLoop (const Dtk_LoopPtr &inLoop) |
Add inner loop on a face. More... | |
Dtk_ErrorStatus | AddLoop (const Dtk_LoopPtr &inLoop, const Dtk_bool &inOuterInfo) |
Add loop on a face. More... | |
Dtk_ErrorStatus | AddOuterLoop (const Dtk_LoopPtr &inLoop) |
Add outer loop on a face. More... | |
Dtk_ErrorStatus | AddParentShell (const Dtk_ID &inParentShellId) |
Dtk_ErrorStatus | AddParentShell (const Dtk_ShellPtr &inParentShell) |
Add parent shell on a face. More... | |
Dtk_ErrorStatus | AddVertexLoop (const Dtk_VertexPtr &inVertexLoop) |
Add vertex loop on a face. More... | |
Dtk_ErrorStatus | ComputeBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax) |
int | DtkDynamicType (const int &inId) |
Get smart pointer type. More... | |
virtual void | dump (FILE *file=stdout) |
Dtk_InfoPtr | get_info () const |
enum type_detk | get_type_detk () const |
Return Type of entity. More... | |
Dtk_SurfacePtr | GetGeom (Dtk_bool inWithSetTrim=DTK_TRUE) const |
Return associated geometry. More... | |
const Dtk_ID & | GetID () const |
Get Internal UniqueID. More... | |
Dtk_ErrorStatus | GetLoop (const Dtk_Size_t &inIndex, Dtk_ID &outLoopId) const |
Dtk_ErrorStatus | GetLoop (const Dtk_Size_t &inIndex, Dtk_LoopPtr &outLoop) const |
Get loop of face. More... | |
Dtk_Size_t | GetNumLoops () const |
Return number of bounding loop for face. More... | |
Dtk_Size_t | GetNumParentShells () const |
Return number of parent shell (1 if manifold body) More... | |
Dtk_BodyPtr | GetParentBody () const |
Dtk_ErrorStatus | GetParentShell (const Dtk_Size_t &inIndex, Dtk_ShellPtr &outParentShell) const |
Get parent shell of face. More... | |
Dtk_ErrorStatus | GetParentShell (const Dtk_Size_t &inIndex, Dtk_ShellPtr &outParentShell, Dtk_bool &outOrient) const |
Get parent shell of face. More... | |
virtual Dtk_Size_t | GetSize () const |
Dtk_ID | GetTopoID () const |
Dtk_ErrorStatus | GetTopologyStatus () const |
Dtk_ErrorStatus | GetTrimUVBox (Dtk_Double64 outTrimValues[]) const |
Get Surface Trim Box : Umin = outTrimValues[0] Umax = outTrimValues[1] Vmin = outTrimValues[2] Vmax = outTrimValues[3]. More... | |
Dtk_InfoPtr & | info () |
virtual void | PrepareTransfo () |
Dtk_ErrorStatus | RemoveLoopFromFace (const Dtk_LoopPtr &inLoop) |
void | RemoveParentShell (const Dtk_ID &inShellId) |
Remove a Shell to Shell's list of face. More... | |
Dtk_FacePtr | ReverseNormal () const |
Create a new face with reversed surface. More... | |
void | SetGeom (const Dtk_SurfacePtr &inSurface) |
Set Geometry. More... | |
Dtk_ErrorStatus | SetParentBody (const Dtk_BodyPtr &inParentBody) |
void | SetTopologyStatus (Dtk_ErrorStatus inStatus) |
Dtk_ErrorStatus | SetTrimUVBox (Dtk_Double64 inTrimValues[]) |
Set Surface Trim Box : Umin = inTrimValues[0] Umax = inTrimValues[1] Vmin = inTrimValues[2] Vmax = inTrimValues[3]. More... | |
virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Transform object. More... | |
Static Public Member Functions | |
static Dtk_FacePtr | Create (const Dtk_BodyPtr &inParentBody) |
Create a face in a body. More... | |
static Dtk_Face * | DtkDynamicCast (Dtk_Object *inObject) |
Protected Types | |
enum | { _typeID = DTK_TYPE_TOPOLOGICAL_REPRESENTATION_ITEM } |
enum | { _typeID = DTK_TYPE_ENTITY } |
enum | { _typeID = DTK_TYPE_FACE } |
Protected Member Functions | |
void | _Clone (Dtk_TopologicalEntityPtr &outTopo, Dtk_Body *_inParentBody) |
void | _copy (const Dtk_Entity &s) |
void | _Copy (const Dtk_Face &inTopo, Dtk_Body *inParentBody) |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _Init () |
void | _reset () |
void | _Reset () |
virtual Dtk_Object * | Clone () |
Dtk_Face () | |
Dtk_Face (const Dtk_Face &inTopo, Dtk_Body *inParentBody) | |
Dtk_ErrorStatus | SetLoop (const Dtk_Size_t &inIndex, const Dtk_LoopPtr &inLoop) |
virtual | ~Dtk_Face () |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_Face > |
class | Dtk_TopologicalEntity |
is a surface bounded by Dtk_Loop.
Geometrical orientation relative to basis surface is always True
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Implements Dtk_TopologicalEntity.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |
|
virtual |
Reimplemented from Dtk_Entity.
Dtk_ErrorStatus Dtk_Face::AddDegeneratedEdges | ( | ) | const |
Add Degenerated UV curves in loops.
Dtk_ErrorStatus Dtk_Face::AddInnerLoop | ( | const Dtk_LoopPtr & | inLoop | ) |
Add inner loop on a face.
[in] | inLoop : inner loop to add |
Dtk_ErrorStatus Dtk_Face::AddLoop | ( | const Dtk_LoopPtr & | inLoop, |
const Dtk_bool & | inOuterInfo | ||
) |
Add loop on a face.
[in] | inLoop : loop to add | |
[in] | inOuterInfo : outer info for inLoop (True if outer) |
Dtk_ErrorStatus Dtk_Face::AddOuterLoop | ( | const Dtk_LoopPtr & | inLoop | ) |
Add outer loop on a face.
[in] | inLoop : outer loop to add |
Dtk_ErrorStatus Dtk_Face::AddParentShell | ( | const Dtk_ID & | inParentShellId | ) |
Dtk_ErrorStatus Dtk_Face::AddParentShell | ( | const Dtk_ShellPtr & | inParentShell | ) |
Add parent shell on a face.
[in] | inParentShell shell to add |
Dtk_ErrorStatus Dtk_Face::AddVertexLoop | ( | const Dtk_VertexPtr & | inVertexLoop | ) |
Add vertex loop on a face.
[in] | inLoop : vertex loop to add |
|
protectedvirtualinherited |
Implements Dtk_Entity.
Dtk_ErrorStatus Dtk_Face::ComputeBoundingBox | ( | Dtk_pnt & | outMin, |
Dtk_pnt & | outMax | ||
) |
|
static |
Create a face in a body.
[in] | inParentBody | : parent body |
|
static |
|
virtual |
|
virtualinherited |
|
inherited |
|
virtual |
Dtk_SurfacePtr Dtk_Face::GetGeom | ( | Dtk_bool | inWithSetTrim = DTK_TRUE | ) | const |
Return associated geometry.
[in] | inWithSetTrim if DTK_TRUE surface set trimuvbox like the face |
|
inherited |
Get Internal UniqueID.
Dtk_ErrorStatus Dtk_Face::GetLoop | ( | const Dtk_Size_t & | inIndex, |
Dtk_ID & | outLoopId | ||
) | const |
Dtk_ErrorStatus Dtk_Face::GetLoop | ( | const Dtk_Size_t & | inIndex, |
Dtk_LoopPtr & | outLoop | ||
) | const |
Get loop of face.
[in] | inIndex : index of loop | |
[out] | outLoop : loop |
Dtk_Size_t Dtk_Face::GetNumLoops | ( | ) | const |
Return number of bounding loop for face.
Dtk_Size_t Dtk_Face::GetNumParentShells | ( | ) | const |
Return number of parent shell (1 if manifold body)
Dtk_BodyPtr Dtk_Face::GetParentBody | ( | ) | const |
Dtk_ErrorStatus Dtk_Face::GetParentShell | ( | const Dtk_Size_t & | inIndex, |
Dtk_ShellPtr & | outParentShell | ||
) | const |
Get parent shell of face.
[in] | inIndex : index of parent shell | |
[out] | outParentShell : parent shell |
Dtk_ErrorStatus Dtk_Face::GetParentShell | ( | const Dtk_Size_t & | inIndex, |
Dtk_ShellPtr & | outParentShell, | ||
Dtk_bool & | outOrient | ||
) | const |
Get parent shell of face.
[in] | inIndex : index of parent shell | |
[out] | outParentShell : parent shell | |
[out] | outOrient : face orientation in parent shell |
|
virtual |
Reimplemented from Dtk_Entity.
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
Dtk_ErrorStatus Dtk_Face::GetTopologyStatus | ( | ) | const |
Dtk_ErrorStatus Dtk_Face::GetTrimUVBox | ( | Dtk_Double64 | outTrimValues[] | ) | const |
Get Surface Trim Box : Umin = outTrimValues[0] Umax = outTrimValues[1] Vmin = outTrimValues[2] Vmax = outTrimValues[3].
|
inherited |
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
Dtk_ErrorStatus Dtk_Face::RemoveLoopFromFace | ( | const Dtk_LoopPtr & | inLoop | ) |
void Dtk_Face::RemoveParentShell | ( | const Dtk_ID & | inShellId | ) |
Remove a Shell to Shell's list of face.
[in] | :inShellId |
Dtk_FacePtr Dtk_Face::ReverseNormal | ( | ) | const |
Create a new face with reversed surface.
void Dtk_Face::SetGeom | ( | const Dtk_SurfacePtr & | inSurface | ) |
Set Geometry.
[in] | inSurface | : Basis Surface |
|
protected |
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
void Dtk_Face::SetTopologyStatus | ( | Dtk_ErrorStatus | inStatus | ) |
Dtk_ErrorStatus Dtk_Face::SetTrimUVBox | ( | Dtk_Double64 | inTrimValues[] | ) |
Set Surface Trim Box : Umin = inTrimValues[0] Umax = inTrimValues[1] Vmin = inTrimValues[2] Vmax = inTrimValues[3].
|
virtualinherited |
Transform object.
[in] | inTransfo | : matrix to apply |
Implements Dtk_Entity.
|
friend |
|
friend |
|
protected |
|
protectedinherited |