A Dtk_Lump is a manifold part of a non manifold object If two volumes have a common edge you have to create two lumps with a volume in each. More...
 Inheritance diagram for Dtk_Lump:Public Member Functions | |
| virtual Dtk_ErrorStatus | _Store (void *) | 
| Dtk_ErrorStatus | AddVolume (const Dtk_VolumePtr &inVolume) | 
| Add Volume.  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... | |
| const Dtk_ID & | GetID () const | 
| Get Internal UniqueID.  More... | |
| Dtk_Size_t | GetNumVolumes () const | 
| Get Number of Volumes in lump.  More... | |
| Dtk_ErrorStatus | GetParentBody (Dtk_BodyPtr &outParentBody) const | 
| Get Parent Body.  More... | |
| virtual Dtk_Size_t | GetSize () const | 
| Dtk_ID | GetTopoID () const | 
| Dtk_ErrorStatus | GetTopologyStatus () const | 
| Dtk_ErrorStatus | GetVolume (const Dtk_Size_t inIndex, Dtk_ID &outVolumeId) const | 
| Dtk_ErrorStatus | GetVolume (const Dtk_Size_t inIndex, Dtk_VolumePtr &outVolume) const | 
| Get Volume.  More... | |
| Dtk_InfoPtr & | info () | 
| virtual void | PrepareTransfo () | 
| Dtk_ErrorStatus | SetParentBody (const Dtk_BodyPtr &inParentBody) | 
| Set Parent Body.  More... | |
| void | SetTopologyStatus (Dtk_ErrorStatus inStatus) | 
| virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) | 
| Transform object.  More... | |
Static Public Member Functions | |
| static Dtk_LumpPtr | Create (const Dtk_BodyPtr &inParentBody) | 
| Create a lump in a body.  More... | |
| static Dtk_Lump * | DtkDynamicCast (Dtk_Object *inObject) | 
Protected Types | |
| enum | { _typeID = DTK_TYPE_TOPOLOGICAL_REPRESENTATION_ITEM } | 
| enum | { _typeID = DTK_TYPE_ENTITY } | 
| enum | { _typeID = DTK_TYPE_LUMP } | 
Protected Member Functions | |
| void | _Clone (Dtk_TopologicalEntityPtr &outTopo, Dtk_Body *_inParentBody) | 
| void | _copy (const Dtk_Entity &s) | 
| void | _Copy (const Dtk_Lump &inLumpToCopy, Dtk_Body *inParentBody) | 
| void | _init () | 
| void | _Init () | 
| void | _reset () | 
| void | _Reset () | 
| virtual Dtk_Object * | Clone () | 
| Dtk_Lump () | |
| Dtk_Lump (const Dtk_Lump &inLumpToCopy, Dtk_Body *inParentBody) | |
| virtual | ~Dtk_Lump () | 
Protected Attributes | |
| Dtk_Handle * | _Private | 
| unsigned long | count_ | 
A Dtk_Lump is a manifold part of a non manifold object If two volumes have a common edge you have to create two lumps with a volume in each.
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
      
  | 
  protectedvirtual | 
Implements Dtk_TopologicalEntity.
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protected | 
      
  | 
  protectedinherited | 
      
  | 
  protected | 
      
  | 
  virtual | 
Reimplemented from Dtk_Entity.
| Dtk_ErrorStatus Dtk_Lump::AddVolume | ( | const Dtk_VolumePtr & | inVolume | ) | 
Add Volume.
| [in] | inVolume | : pointer on volume | 
      
  | 
  protectedvirtualinherited | 
Implements Dtk_Entity.
| Dtk_ErrorStatus Dtk_Lump::ComputeBoundingBox | ( | Dtk_pnt & | outMin, | 
| Dtk_pnt & | outMax | ||
| ) | 
      
  | 
  static | 
Create a lump in a body.
| [in] | inParentBody | : parent body | 
      
  | 
  static | 
      
  | 
  virtual | 
      
  | 
  virtualinherited | 
      
  | 
  inherited | 
      
  | 
  virtual | 
      
  | 
  inherited | 
Get Internal UniqueID.
| Dtk_Size_t Dtk_Lump::GetNumVolumes | ( | ) | const | 
Get Number of Volumes in lump.
| Dtk_ErrorStatus Dtk_Lump::GetParentBody | ( | Dtk_BodyPtr & | outParentBody | ) | const | 
Get Parent Body.
| [out] | outParentBody | : parent body | 
      
  | 
  virtual | 
Reimplemented from Dtk_Entity.
      
  | 
  virtual | 
Reimplemented from Dtk_TopologicalEntity.
| Dtk_ErrorStatus Dtk_Lump::GetTopologyStatus | ( | ) | const | 
| Dtk_ErrorStatus Dtk_Lump::GetVolume | ( | const Dtk_Size_t | inIndex, | 
| Dtk_ID & | outVolumeId | ||
| ) | const | 
| Dtk_ErrorStatus Dtk_Lump::GetVolume | ( | const Dtk_Size_t | inIndex, | 
| Dtk_VolumePtr & | outVolume | ||
| ) | const | 
Get Volume.
| [in] | inIndex | : index of volume | 
| [out] | outVolume | : pointer on volume | 
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
Reimplemented in Dtk_OffsetSurface.
      
  | 
  virtual | 
Set Parent Body.
| [in] | inParentBody | : parent body | 
Reimplemented from Dtk_TopologicalEntity.
| void Dtk_Lump::SetTopologyStatus | ( | Dtk_ErrorStatus | inStatus | ) | 
      
  | 
  virtualinherited | 
Transform object.
| [in] | inTransfo | : matrix to apply | 
Implements Dtk_Entity.
      
  | 
  protected | 
      
  | 
  protectedinherited |