This is the Reference Frame Class.
It is part of the Dtk_ToleranceSpecification entity.
It's basically composed by one - or more - Dtk_ReferenceBlock.
More...
|
enum | { _typeID = DTK_TYPE_OBJECT
} |
|
enum | { _typeID = DTK_TYPE_REFERENCE_FRAME
} |
|
This is the Reference Frame Class.
It is part of the Dtk_ToleranceSpecification entity.
It's basically composed by one - or more - Dtk_ReferenceBlock.
- See also
- Use Dtk_ReferenceFramePtr class to handle it.
◆ anonymous enum
◆ anonymous enum
◆ Dtk_ReferenceFrame() [1/4]
Dtk_ReferenceFrame::Dtk_ReferenceFrame |
( |
| ) |
|
|
protected |
◆ Dtk_ReferenceFrame() [2/4]
◆ Dtk_ReferenceFrame() [3/4]
◆ Dtk_ReferenceFrame() [4/4]
◆ ~Dtk_ReferenceFrame()
Dtk_ReferenceFrame::~Dtk_ReferenceFrame |
( |
| ) |
|
|
protected |
◆ AddReferenceBlock()
Add a reference block to the Dtk_ReferenceFrame.
- Parameters
-
inReferenceBlock | The reference block to add |
- Returns
- DtkNoError if OK.
◆ Clone()
◆ Create() [1/4]
Calls default constructor to allocate a new object.
◆ Create() [2/4]
Full featured constructor with one first reference block.
- Parameters
-
inFirstReferenceBlock | The first reference block |
- Returns
- the created Dtk_ReferenceFramePtr
◆ Create() [3/4]
Calls copy constructor to allocate a new object.
- Parameters
-
◆ Create() [4/4]
Calls move constructor to allocate a new object.
- Parameters
-
◆ DtkDynamicCast()
Performs a dynamic cast - doesn't need RTTI -.
◆ DtkDynamicType() [1/2]
Retrieves the dynamic entity type.
◆ DtkDynamicType() [2/2]
virtual int Dtk_Object::DtkDynamicType |
( |
const int & |
inId | ) |
|
|
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.
◆ dump()
virtual void Dtk_Object::dump |
( |
FILE * |
file = stdout | ) |
|
|
virtualinherited |
◆ FirstReference() [1/2]
Retrieves the first reference block - get/set -.
- Returns
- The first reference block.
- See also
- FirstReference() const
◆ FirstReference() [2/2]
Retrieves the first reference block - read only -.
- Returns
- The first reference block.
- See also
- FirstReference()
◆ GetAnchorPoints()
Processes all the Dtk_ReferenceFrame anchor points.
- Parameters
-
outTabPnts | The resulting anchor point array. |
inOffSet | - internal use only -. |
- Returns
- DtkNoError if OK
◆ GetNumReferences()
Dtk_Size_t Dtk_ReferenceFrame::GetNumReferences |
( |
| ) |
const |
Retrieves the number of reference blocks - read only -.
- Returns
- The number of reference blocks.
◆ GetOuterBoundingBox()
◆ GetSize()
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.
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
◆ Reference() [1/2]
Retrieves the ith reference block - get/set -.
- Parameters
-
inReferencePos | The reference block index |
- Returns
- The inReferencePos'th reference block.
- Exceptions
-
Dtk_OutOfRangeType | Dtk_Exception is raised if the inReferencePos parameter is invalid |
◆ Reference() [2/2]
Retrieves the ith reference blocks - read only -.
- Parameters
-
inReferencePos | The reference block index |
- Returns
- The inReferencePos'th reference block.
- Exceptions
-
Dtk_OutOfRangeType | Dtk_Exception is raised if the inReferencePos parameter is invalid |
◆ SecondReference() [1/2]
Retrieves the second reference block - get/set -.
- Returns
- The second reference block.
- See also
- FirstReference() const
◆ SecondReference() [2/2]
Retrieves the second reference block - read only -.
- Returns
- The second reference block.
- See also
- FirstReference()
◆ SetAnchorPoint()
Sets the Dtk_ReferenceFrame anchor point.
- Parameters
-
inNewLocation | The new location point. |
inLocationAnchorType | The anchor type related to the new location. |
inOffSet | For internal use only. |
- Returns
- DtkNoError if OK
◆ ThirdReference() [1/2]
Retrieves the third reference block - get/set -.
- Returns
- The third reference block.
- See also
- FirstReference() const
◆ ThirdReference() [2/2]
Retrieves the third reference block - read only -.
- Returns
- The third reference block.
- See also
- FirstReference()
◆ Translate()
void Dtk_ReferenceFrame::Translate |
( |
const Dtk_dir & |
inTranslationDir | ) |
|
◆ _Private
Dtk_Handle* Dtk_ReferenceFrame::_Private |
|
protected |
◆ count_
unsigned long Dtk_Object::count_ |
|
protectedinherited |