This is the FD&T class.
The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to locate the FDT into 3D Space.
Please use the Dtk_FdtPtr class to handle it...
More...
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 |
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 | 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 () |
Base constructor. More... | |
static Dtk_FdtPtr | Create (const Dtk_Fdt &s) |
Copy constructor. More... | |
static Dtk_FdtPtr | Create (const Dtk_transfo &inTransformationMatrix, const Dtk_2dEntityPtr &inSub2DEntity) |
Full featured constructor. More... | |
static Dtk_FdtPtr | Create (Dtk_Fdt &&inToBeMoved) |
\MoveConstructor{inToBeMoved} 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 | _copy (const Dtk_Object &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_ |
Friends | |
class | Dtk_SmartPtr< Dtk_Fdt > |
This is the FD&T class.
The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to locate the FDT into 3D Space.
Please use the Dtk_FdtPtr class to handle it...
Enumerator | |
---|---|
Default | |
ParallelToScreen | |
PinToScreen |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Destructor.
|
protectedinherited |
|
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 |
Base constructor.
|
static |
Copy constructor.
inToBeCopied | Object to copy. |
|
static |
Full featured constructor.
inTransformationMatrix | The Transformation Matrix |
inSub2DEntity | The sub 2D entity |
|
static |
\MoveConstructor{inToBeMoved}
|
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.
|
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::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 -.
|
friend |
|
protected |
|
protectedinherited |