This is the FD&T class.
The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to locate the FDT into 3D Space.
.
More...
Inheritance diagram for Dtk_Fdt:Public Types | |
| enum | ScreenDisplayEnum { Default = 0, ParallelToScreen = 1, PinToScreen = 2 } |
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 |
| Dtk_ErrorStatus | GetDisplayBackgroundColorId (Dtk_Int32 &outColorIdData) |
| Gets the DisplayBackground color id of the Dtk_Fdt. More... | |
| const Dtk_ID & | GetID () const |
| Get Internal UniqueID. More... | |
| bool | GetIsZoomableAttribute () const |
| Gets the Zoomable attribute of the Dtk_Fdt. More... | |
| Dtk_Fdt::ScreenDisplayEnum | GetScreenDisplayAttribute () const |
| Gets the ScreenDisplay attribute of the Dtk_Fdt. More... | |
| virtual Dtk_Size_t | GetSize () const |
| Dtk_InfoPtr & | info () |
| virtual void | PrepareTransfo () |
| void | SetDisplayBackgroundColorId (Dtk_Int32 inData) |
| Sets the DisplayBackground color id of the Dtk_Fdt. More... | |
| void | SetIsZoomableAttribute (const bool &inBool) |
| Sets the Zoomable attribute of the Dtk_Fdt. More... | |
| void | SetScreenDisplayAttribute (const ScreenDisplayEnum inType) |
| Sets the ScreenDisplay attribute of the Dtk_Fdt. More... | |
| Dtk_2dEntityPtr & | Sub2DEntity () |
| Retrieves the sub 2D entity - get/set -. More... | |
| const Dtk_2dEntityPtr & | Sub2DEntity () const |
| Retrieves the sub 2D entity - read only -. More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
| Applies a transformation matrix to the entity. //! More... | |
| Dtk_transfo & | TransformationMatrix () |
| Retrieves the transformation matrix - get/set -. More... | |
| const Dtk_transfo & | TransformationMatrix () const |
| Retrieves the transformation matrix - read only -. More... | |
Static Public Member Functions | |
| static Dtk_FdtPtr | Create () |
| Calls default constructor to allocate a new object. More... | |
| static Dtk_FdtPtr | Create (const Dtk_Fdt &s) |
| Calls copy constructor to allocate a new object. More... | |
| static Dtk_FdtPtr | Create (const Dtk_transfo &inTransformationMatrix, const Dtk_2dEntityPtr &inSub2DEntity) |
| Calls full featured constructor to allocate a new object. More... | |
| static Dtk_FdtPtr | Create (Dtk_Fdt &&inToBeMoved) |
| Calls move constructor to allocate a new object. More... | |
| static Dtk_Fdt * | DtkDynamicCast (Dtk_Object *s) |
| Performs a dynamic cast - doesn't need RTTI -. More... | |
| static Dtk_string | ScreenDisplayEnumToString (const ScreenDisplayEnum &inEnum) |
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } |
| enum | { _typeID = DTK_TYPE_ENTITY } |
| enum | { _typeID = DTK_TYPE_FDT } |
Protected Member Functions | |
| void | _copy (const Dtk_Entity &s) |
| void | _init () |
| void | _reset () |
| virtual Dtk_Object * | Clone () |
| Dtk_Fdt () | |
| Dtk_Fdt (const Dtk_Fdt &inToBeCopied) | |
| Dtk_Fdt (const Dtk_transfo &inTransforansform, const Dtk_2dEntityPtr &entity2D) | |
| Dtk_Fdt (Dtk_Fdt &&inToBeMoved) DTK_NOEXCEPT | |
| virtual | ~Dtk_Fdt () |
| Destructor. More... | |
Protected Attributes | |
| Dtk_Handle * | _Private |
| unsigned long | count_ |
This is the FD&T class.
The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to locate the FDT into 3D Space.
.
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
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 default constructor to allocate a new object.
|
static |
Calls copy constructor to allocate a new object.
| inToBeCopied | Object to copy from. |
|
static |
Calls full featured constructor to allocate a new object.
| inTransformationMatrix | The Transformation Matrix |
| inSub2DEntity | The sub 2D entity |
|
static |
Calls move constructor to allocate a new object.
| inToBeMoved | Object to move from. |
|
static |
Performs a dynamic cast - doesn't need RTTI -.
|
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 |
Implements Dtk_Entity.
| Dtk_ErrorStatus Dtk_Fdt::GetDisplayBackgroundColorId | ( | Dtk_Int32 & | outColorIdData | ) |
Gets the DisplayBackground color id of the Dtk_Fdt.
| outColorIdData | : if present the color id >=0 |
|
inherited |
Get Internal UniqueID.
| bool Dtk_Fdt::GetIsZoomableAttribute | ( | ) | const |
Gets the Zoomable attribute of the Dtk_Fdt.
| Dtk_Fdt::ScreenDisplayEnum Dtk_Fdt::GetScreenDisplayAttribute | ( | ) | const |
|
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.
|
inherited |
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
|
static |
| void Dtk_Fdt::SetDisplayBackgroundColorId | ( | Dtk_Int32 | inData | ) |
Sets the DisplayBackground color id of the Dtk_Fdt.
| inData | the color id |
| void Dtk_Fdt::SetIsZoomableAttribute | ( | const bool & | inBool | ) |
| void Dtk_Fdt::SetScreenDisplayAttribute | ( | const ScreenDisplayEnum | inType | ) |
Sets the ScreenDisplay attribute of the Dtk_Fdt.
| inType | The Dtk_Fdt ScreenDisplay attribute |
| Dtk_2dEntityPtr& Dtk_Fdt::Sub2DEntity | ( | ) |
| const Dtk_2dEntityPtr& Dtk_Fdt::Sub2DEntity | ( | ) | const |
|
virtual |
Applies a transformation matrix to the entity. //!
| inTransfo | The transformation matrix to apply. |
Implements Dtk_Entity.
| Dtk_transfo& Dtk_Fdt::TransformationMatrix | ( | ) |
Retrieves the transformation matrix - get/set -.
| const Dtk_transfo& Dtk_Fdt::TransformationMatrix | ( | ) | const |
Retrieves the transformation matrix - read only -.
|
protected |
|
protectedinherited |