A Dtk_Volume is a space limited by edges. It contain one or several Dtk_Shell. If two objects have a common face without common edge you have to create 2 volumes. More...
 Inheritance diagram for Dtk_Volume:Public Member Functions | |
| virtual Dtk_ErrorStatus | _Store (void *) | 
| Dtk_ErrorStatus | AddInnerShell (const Dtk_ShellPtr &inShell) | 
| Add Inner Shell.  More... | |
| Dtk_ErrorStatus | AddOpenShell (const Dtk_ShellPtr &inShell) | 
| Add Open Shell (only one supported)  More... | |
| Dtk_ErrorStatus | AddOuterShell (const Dtk_ShellPtr &inShell) | 
| Add Outer Shell (only one supported)  More... | |
| Dtk_ErrorStatus | AddWireShell (const Dtk_ShellPtr &inShell) | 
| Add Wire Shell.  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 | GetNumShells () const | 
| Get Number of Shell in Volume.  More... | |
| Dtk_ErrorStatus | GetParentLump (Dtk_LumpPtr &outParentLump) const | 
| Get Parent Lump.  More... | |
| Dtk_ErrorStatus | GetShell (const Dtk_Size_t &inIndex, Dtk_ID &outShellId) const | 
| Dtk_ErrorStatus | GetShell (const Dtk_Size_t &inIndex, Dtk_ShellPtr &outShell) const | 
| Get Shell.  More... | |
| virtual Dtk_Size_t | GetSize () const | 
| Dtk_ID | GetTopoID () const | 
| Dtk_ErrorStatus | GetTopologyStatus () const | 
| Dtk_InfoPtr & | info () | 
| virtual void | PrepareTransfo () | 
| Dtk_ErrorStatus | SetParentLump (const Dtk_ID &inParentLumpId) | 
| Dtk_ErrorStatus | SetParentLump (const Dtk_LumpPtr &inParentLump) | 
| Set Parent Lump.  More... | |
| void | SetTopologyStatus (Dtk_ErrorStatus inStatus) | 
| virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) | 
| Transform object.  More... | |
Static Public Member Functions | |
| static Dtk_VolumePtr | Create (const Dtk_BodyPtr &inParentBody) | 
| Create a volume in a body.  More... | |
| static Dtk_Volume * | DtkDynamicCast (Dtk_Object *inObject) | 
Protected Types | |
| enum | { _typeID = DTK_TYPE_TOPOLOGICAL_REPRESENTATION_ITEM } | 
| enum | { _typeID = DTK_TYPE_ENTITY } | 
| enum | { _typeID = DTK_TYPE_VOLUME } | 
Protected Member Functions | |
| void | _Clone (Dtk_TopologicalEntityPtr &outTopo, Dtk_Body *_inParentBody) | 
| void | _copy (const Dtk_Entity &s) | 
| void | _Copy (const Dtk_Volume &inToCopy, Dtk_Body *inParentBody) | 
| void | _init () | 
| void | _Init () | 
| void | _reset () | 
| void | _Reset () | 
| virtual Dtk_Object * | Clone () | 
| Dtk_Volume () | |
| Dtk_Volume (const Dtk_Volume &inEdgeTpCopy, Dtk_Body *inParentBody) | |
| Dtk_ErrorStatus | GetParentBody (Dtk_Body *&outParentBody) const | 
| Dtk_ErrorStatus | SetParentBody (const Dtk_BodyPtr &inParentBody) | 
| virtual | ~Dtk_Volume () | 
Protected Attributes | |
| Dtk_Handle * | _Private | 
| unsigned long | count_ | 
A Dtk_Volume is a space limited by edges. It contain one or several Dtk_Shell. If two objects have a common face without common edge you have to create 2 volumes.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
      
  | 
  protectedvirtual | 
Implements Dtk_TopologicalEntity.
      
  | 
  protectedinherited | 
      
  | 
  protected | 
      
  | 
  protectedinherited | 
      
  | 
  protected | 
      
  | 
  protectedinherited | 
      
  | 
  protected | 
      
  | 
  virtual | 
Reimplemented from Dtk_Entity.
| Dtk_ErrorStatus Dtk_Volume::AddInnerShell | ( | const Dtk_ShellPtr & | inShell | ) | 
Add Inner Shell.
| [in] | inShell | : pointer on inner shell | 
| Dtk_ErrorStatus Dtk_Volume::AddOpenShell | ( | const Dtk_ShellPtr & | inShell | ) | 
Add Open Shell (only one supported)
| [in] | inShell | : pointer on outer shell | 
| Dtk_ErrorStatus Dtk_Volume::AddOuterShell | ( | const Dtk_ShellPtr & | inShell | ) | 
Add Outer Shell (only one supported)
| [in] | inShell | : pointer on outer shell | 
| Dtk_ErrorStatus Dtk_Volume::AddWireShell | ( | const Dtk_ShellPtr & | inShell | ) | 
Add Wire Shell.
| [in] | inShell | : pointer on inner shell | 
      
  | 
  protectedvirtualinherited | 
Implements Dtk_Entity.
| Dtk_ErrorStatus Dtk_Volume::ComputeBoundingBox | ( | Dtk_pnt & | outMin, | 
| Dtk_pnt & | outMax | ||
| ) | 
      
  | 
  static | 
Create a volume in a body.
| [in] | inParentBody | : parent body | 
      
  | 
  static | 
      
  | 
  virtual | 
      
  | 
  virtualinherited | 
      
  | 
  inherited | 
      
  | 
  virtual | 
      
  | 
  inherited | 
Get Internal UniqueID.
| Dtk_Size_t Dtk_Volume::GetNumShells | ( | ) | const | 
Get Number of Shell in Volume.
      
  | 
  protected | 
| Dtk_ErrorStatus Dtk_Volume::GetParentLump | ( | Dtk_LumpPtr & | outParentLump | ) | const | 
Get Parent Lump.
| [out] | outParentLump | : parent lump | 
| Dtk_ErrorStatus Dtk_Volume::GetShell | ( | const Dtk_Size_t & | inIndex, | 
| Dtk_ID & | outShellId | ||
| ) | const | 
| Dtk_ErrorStatus Dtk_Volume::GetShell | ( | const Dtk_Size_t & | inIndex, | 
| Dtk_ShellPtr & | outShell | ||
| ) | const | 
Get Shell.
| [in] | inIndex | : index of shell | 
| [out] | outShell | : pointer on shell | 
      
  | 
  virtual | 
Reimplemented from Dtk_Entity.
      
  | 
  virtual | 
Reimplemented from Dtk_TopologicalEntity.
| Dtk_ErrorStatus Dtk_Volume::GetTopologyStatus | ( | ) | const | 
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
Reimplemented in Dtk_OffsetSurface.
      
  | 
  protectedvirtual | 
Reimplemented from Dtk_TopologicalEntity.
| Dtk_ErrorStatus Dtk_Volume::SetParentLump | ( | const Dtk_ID & | inParentLumpId | ) | 
| Dtk_ErrorStatus Dtk_Volume::SetParentLump | ( | const Dtk_LumpPtr & | inParentLump | ) | 
Set Parent Lump.
| [in] | inParentLump | : parent lump | 
| void Dtk_Volume::SetTopologyStatus | ( | Dtk_ErrorStatus | inStatus | ) | 
      
  | 
  virtualinherited | 
Transform object.
| [in] | inTransfo | : matrix to apply | 
Implements Dtk_Entity.
      
  | 
  protected | 
      
  | 
  protectedinherited |