This is the Dtk_ViewDisplay class to set the Display mode for the bodies stored in a view. More...
Public Types | |
enum | DisplayMode3DEnum { DefaultDisplay = 0, WireframeDisplay = 1, WithHiddenDisplay = 2, NoHiddenDisplay = 3, ShadingDisplay = 4, ShadingWithEdgeDisplay = 5 } |
Public Member Functions | |
Dtk_Int32 | DtkDynamicType (const Dtk_Int32 &inId) |
Retrieves the dynamic entity type. More... | |
virtual int | DtkDynamicType (const int &inId)=0 |
virtual void | dump (FILE *file=stdout) |
type_detk | get_type_detk () const |
DisplayMode3DEnum | GetDisplayMode () |
Return the Display Mode. More... | |
Dtk_ErrorStatus | GetHiddenEdgesLineStyle (Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const |
Retrieves Line style for Hidden Edges. More... | |
virtual Dtk_Size_t | GetSize () const |
Dtk_ErrorStatus | GetTangentEdgesLineStyle (Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const |
Retrieves Line style for Tangent Edges. More... | |
Dtk_ErrorStatus | GetVisibleEdgesLineStyle (Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const |
Retrieves Line style for Visible Edges. More... | |
void | SetHiddenEdgesLineStyle (Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor) |
Set Line style for Hidden Edges. More... | |
void | SetTangentEdgesLineStyle (Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor) |
Set Line style for Tangent Edges. More... | |
void | SetVisibleEdgesLineStyle (Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor) |
Set Line style for Visible Edges. More... | |
Static Public Member Functions | |
static Dtk_ViewDisplayPtr | Create (const Dtk_ViewDisplay &inToBeCopied) |
Copy constructor. More... | |
static Dtk_ViewDisplayPtr | Create (DisplayMode3DEnum inDisplayMode) |
Base constructor. More... | |
static Dtk_ViewDisplayPtr | Create (Dtk_ViewDisplay &&inToBeMoved) |
\MoveConstructor{inToBeMoved} More... | |
static Dtk_ViewDisplay * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
Protected Types | |
enum | { _typeID = DTK_TYPE_OBJECT } |
enum | { _typeID = DTK_TYPE_VIEW_DISPLAY } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
virtual Dtk_Object * | Clone () |
Dtk_ViewDisplay () | |
Dtk_ViewDisplay (const Dtk_ViewDisplay &s) | |
Dtk_ViewDisplay (DisplayMode3DEnum inDisplayMode) | |
Dtk_ViewDisplay (Dtk_ViewDisplay &&s) DTK_NOEXCEPT | |
~Dtk_ViewDisplay () | |
Destructor. More... | |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_ViewDisplay > |
This is the Dtk_ViewDisplay class to set the Display mode for the bodies stored in a view.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedvirtual |
|
static |
Copy constructor.
inToBeCopied | Object to copy. |
|
static |
Base constructor.
|
static |
\MoveConstructor{inToBeMoved}
|
static |
Performs a dynamic cast - doesn't need RTTI -.
Retrieves the dynamic entity type.
|
pure virtualinherited |
Implemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, Dtk_MeshPolyline, 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, Dtk_AxisSystem, Dtk_Preview, Dtk_Entity, Dtk_picture, Dtk_OverrideSet, Dtk_OverrideInfo, Dtk_MainDoc, Dtk_Component, Dtk_Node, Dtk_DocElement, Dtk_Log, and Dtk_Properties.
|
virtualinherited |
type_detk Dtk_ViewDisplay::get_type_detk | ( | ) | const |
DisplayMode3DEnum Dtk_ViewDisplay::GetDisplayMode | ( | ) |
Return the Display Mode.
Dtk_ErrorStatus Dtk_ViewDisplay::GetHiddenEdgesLineStyle | ( | Dtk_FontLineType & | outLineFont, |
Dtk_Double64 & | outLineWidth, | ||
Dtk_RGB & | outLineColor | ||
) | const |
Retrieves Line style for Hidden Edges.
outLineFont | Line Font - Solid, Dimmed, ...- |
outLineWidth | Line Width in MM |
outLineColor | Line Color |
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, 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, Dtk_Point, Dtk_Entity, and Dtk_Info.
Dtk_ErrorStatus Dtk_ViewDisplay::GetTangentEdgesLineStyle | ( | Dtk_FontLineType & | outLineFont, |
Dtk_Double64 & | outLineWidth, | ||
Dtk_RGB & | outLineColor | ||
) | const |
Retrieves Line style for Tangent Edges.
outLineFont | Line Font - Solid, Dimmed, ...- |
outLineWidth | Line Width in MM |
outLineColor | Line Color |
Dtk_ErrorStatus Dtk_ViewDisplay::GetVisibleEdgesLineStyle | ( | Dtk_FontLineType & | outLineFont, |
Dtk_Double64 & | outLineWidth, | ||
Dtk_RGB & | outLineColor | ||
) | const |
Retrieves Line style for Visible Edges.
outLineFont | Line Font - Solid, Dimmed, ...- |
outLineWidth | Line Width in MM |
outLineColor | Line Color |
void Dtk_ViewDisplay::SetHiddenEdgesLineStyle | ( | Dtk_FontLineType | inLineFont, |
Dtk_Double64 | inLineWidth, | ||
Dtk_RGB | inLineColor | ||
) |
Set Line style for Hidden Edges.
inLineFont | Line Font - Solid, Dimmed, ...- |
inLineWidth | Line Width in MM |
inLineColor | Line Color |
void Dtk_ViewDisplay::SetTangentEdgesLineStyle | ( | Dtk_FontLineType | inLineFont, |
Dtk_Double64 | inLineWidth, | ||
Dtk_RGB | inLineColor | ||
) |
Set Line style for Tangent Edges.
inLineFont | Line Font - Solid, Dimmed, ...- |
inLineWidth | Line Width in MM |
inLineColor | Line Color |
void Dtk_ViewDisplay::SetVisibleEdgesLineStyle | ( | Dtk_FontLineType | inLineFont, |
Dtk_Double64 | inLineWidth, | ||
Dtk_RGB | inLineColor | ||
) |
Set Line style for Visible Edges.
inLineFont | Line Font - Solid, Dimmed, ...- |
inLineWidth | Line Width in MM |
inLineColor | Line Color |
|
friend |
|
protected |
|
protectedinherited |