This is the Dtk_ModelDisplay class. More...
Inheritance diagram for Dtk_ModelDisplay:Public Member Functions | |
| virtual Dtk_ErrorStatus | _Store (void *) |
| Dtk_Int32 | DtkDynamicType (const Dtk_Int32 &inId) |
| Retrieves the dynamic entity type. More... | |
| int | DtkDynamicType (const int &inId) |
| virtual void | dump (FILE *file=stdout) |
| Dtk_InfoPtr | get_info () const |
| type_detk | get_type_detk () const |
| const Dtk_CameraPtr & | GetCamera () const |
| Retrieves the Dtk_ModelDisplay camera - read only -. More... | |
| Dtk_EntityPtr | GetClippingEntity () const |
| Retrieves the Dtk_ModelDisplay clipping entity - read only -. More... | |
| const Dtk_ID & | GetID () const |
| Get Internal UniqueID. More... | |
| Dtk_bool | GetIsStandardView () const |
| Get DTK_TRUE if this Dtk_ModelDisplay is a Standard View , DTK_FALSE if it is a user defined view . More... | |
| RenderingModeEnum | GetRenderingMode () const |
| Get the rendering mode shaded , shaded with edge , ... More... | |
| void | GetSectionInformation (SectionTypeEnum &outSectionType, Dtk_Int32 &outIsLocked, Dtk_Double64 &outThickness) const |
| Get the type of the Section on the Dtk_Capture. More... | |
| virtual Dtk_Size_t | GetSize () const |
| void | GetVisibleLayers (Dtk_tab< Dtk_Int32 > &outVisibleLayers) const |
| Visible layer for Dtk_ModelDisplay. More... | |
| Dtk_InfoPtr & | info () |
| Dtk_bool | IsActivated () const |
| Tells if the Dtk_ModelDisplay is activated or not - read only -. More... | |
| virtual void | PrepareTransfo () |
| void | SetIsStandardView () const |
| Set if this Dtk_ModelDisplay is a Standard View other case it is a user defined view. More... | |
| void | SetRenderingMode (RenderingModeEnum inMode) const |
| Set the rendering mode shaded , shaded with edge , ... More... | |
| void | SetSectionInformation (const SectionTypeEnum &inSectionType, const Dtk_Int32 &inIsLocked=DTK_FALSE, const Dtk_Double64 &inThickness=0.0) const |
| Set the type of the Section on the Dtk_Capture. More... | |
| void | SetVisibleLayers (const Dtk_tab< Dtk_Int32 > &inVisibleLayers) |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
| Applies a transformation matrix to the entity. //! More... | |
Static Public Member Functions | |
| static Dtk_ModelDisplayPtr | Create (const Dtk_CameraPtr &inCamera, const Dtk_EntityPtr &inClippingEntity, const Dtk_bool inIsActivated) |
| Calls full featured constructor to allocate a new object. More... | |
| static Dtk_ModelDisplay * | DtkDynamicCast (Dtk_Object *s) |
| Performs a dynamic cast - doesn't need RTTI -. More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } |
| enum | { _typeID = DTK_TYPE_ENTITY } |
| enum | { _typeID = DTK_TYPE_MODEL_DISPLAY } |
Protected Member Functions | |
| void | _copy (const Dtk_Entity &s) |
| void | _init () |
| void | _reset () |
| virtual Dtk_Object * | Clone () |
| Dtk_ModelDisplay () | |
| Dtk_ModelDisplay (const Dtk_CameraPtr &inCamera, const Dtk_EntityPtr &inClippingEntity, const Dtk_bool inIsActivated) | |
| Dtk_ModelDisplay (const Dtk_ModelDisplay &s) | |
| ~Dtk_ModelDisplay () | |
| Destructor. More... | |
Protected Attributes | |
| Dtk_Handle * | _Private |
| unsigned long | count_ |
This is the Dtk_ModelDisplay class.
|
protected |
|
protected |
|
protected |
|
protected |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, and Dtk_Point.
|
protectedvirtual |
Implements Dtk_Entity.
|
static |
Calls full featured constructor to allocate a new object.
| inCamera | The included Dtk_Camera. |
| inClipping | The included clipping entity. |
| inIsActivated | Tells if the Capture is activated or not. |
|
static |
Performs a dynamic cast - doesn't need RTTI -.
Retrieves the dynamic entity type.
|
virtualinherited |
Implements Dtk_Object.
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, Dtk_MeshSurface, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Constraint, Dtk_ConstraintReference, and Dtk_AxisSystem.
|
virtualinherited |
|
inherited |
|
virtual |
| const Dtk_CameraPtr& Dtk_ModelDisplay::GetCamera | ( | ) | const |
Retrieves the Dtk_ModelDisplay camera - read only -.
| Dtk_EntityPtr Dtk_ModelDisplay::GetClippingEntity | ( | ) | const |
Retrieves the Dtk_ModelDisplay clipping entity - read only -.
|
inherited |
Get Internal UniqueID.
| Dtk_bool Dtk_ModelDisplay::GetIsStandardView | ( | ) | const |
Get DTK_TRUE if this Dtk_ModelDisplay is a Standard View , DTK_FALSE if it is a user defined view .
| RenderingModeEnum Dtk_ModelDisplay::GetRenderingMode | ( | ) | const |
Get the rendering mode shaded , shaded with edge , ...
| void Dtk_ModelDisplay::GetSectionInformation | ( | SectionTypeEnum & | outSectionType, |
| Dtk_Int32 & | outIsLocked, | ||
| Dtk_Double64 & | outThickness | ||
| ) | const |
Get the type of the Section on the Dtk_Capture.
SectionPlane : clipping by one plane , GetClippingEntity() return a Dtk_PlaneSurfacePtr .
SectionParallelePlane : clipping by two plane ,first one , GetClippingEntity() return a Dtk_PlaneSurfacePtr ,and the second is defined by a thickness from this plane.
SectionBox : clipping by a box defined by six planes , GetClippingEntity() return a Dtk_BodyPtr with six plane surface.
SectionBox : clipping by a Dtk_BodyPtr , GetClippingEntity() return a Dtk_BodyPtr .
| outSectionType | the section type , outIsLocked if Section distance is locked and outThickness for SectionParallelePlane. |
|
virtualinherited |
Reimplemented from Dtk_Object.
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, and Dtk_Point.
Visible layer for Dtk_ModelDisplay.
|
inherited |
| Dtk_bool Dtk_ModelDisplay::IsActivated | ( | ) | const |
Tells if the Dtk_ModelDisplay is activated or not - read only -.
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
| void Dtk_ModelDisplay::SetIsStandardView | ( | ) | const |
Set if this Dtk_ModelDisplay is a Standard View other case it is a user defined view.
| void Dtk_ModelDisplay::SetRenderingMode | ( | RenderingModeEnum | inMode | ) | const |
Set the rendering mode shaded , shaded with edge , ...
| void Dtk_ModelDisplay::SetSectionInformation | ( | const SectionTypeEnum & | inSectionType, |
| const Dtk_Int32 & | inIsLocked = DTK_FALSE, |
||
| const Dtk_Double64 & | inThickness = 0.0 |
||
| ) | const |
Set the type of the Section on the Dtk_Capture.
| inSectionType | the section type , inIsLocked if Section distance is locked and inThickness for SectionParallelePlane . |
|
virtual |
Applies a transformation matrix to the entity. //!
| inTransfo | The transformation matrix to apply. |
Implements Dtk_Entity.
|
protected |
|
protectedinherited |