Dtk_KinCurve represents a curve associated at a law. More...
Public Member Functions | |
void | addEntity (void *inEntity, enum type_detk inType) |
Add an entity and this type at the entity table. More... | |
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) |
Dtk_status | Dump (FILE *inFile) |
Write Dump file for mechanism speed/acceleration. More... | |
type_detk | get_type_detk () const |
void | getEntity (Dtk_Size_t inPos, void **outEntity, enum type_detk *outType) |
Returns the entity and this type at position inPos. More... | |
Dtk_Size_t | getEntitySize () |
Return the size of the entity tab. More... | |
Dtk_string | getFileName () |
Returns the file name associated at the curve. More... | |
int | getIdBlock () |
Returns the block id. More... | |
virtual Dtk_Size_t | GetSize () const |
void | setFileName (const Dtk_string &inFileName) |
Sets the file name associated at the curve. More... | |
void | setIdBlock (int inId) |
Sets the block id. More... | |
Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Static Public Member Functions | |
static Dtk_KinCurvePtr | Create () |
Base constructor. More... | |
static Dtk_KinCurve * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
static Dtk_KinCurvePtr | release (Dtk_KinCurvePtr inCurve) |
Delete object. More... | |
Protected Types | |
enum | { _typeID = DTK_TYPE_OBJECT } |
enum | { _typeID = DTK_TYPE_KIN_CURVE } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
Dtk_KinCurve () | |
Default constructor. More... | |
Dtk_KinCurve (const Dtk_KinCurve &inSketch) | |
Copy constructor. More... | |
~Dtk_KinCurve () | |
Destructor. More... | |
Protected Attributes | |
Dtk_tab< void * > | _entity |
Dtk_string | _fileName |
int | _idBlock |
Dtk_tab< type_detk > | _typeEntity |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_KinCurve > |
Dtk_KinCurve represents a curve associated at a law.
|
protected |
Default constructor.
|
protected |
Copy constructor.
part | the Dtk_KinSpeedAcceleration to be copied |
|
protected |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
void Dtk_KinCurve::addEntity | ( | void * | inEntity, |
enum type_detk | inType | ||
) |
Add an entity and this type at the entity table.
inEntity | Entity to be added |
inType | Entity type |
|
static |
Base constructor.
|
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 |
Dtk_status Dtk_KinCurve::Dump | ( | FILE * | inFile | ) |
Write Dump file for mechanism speed/acceleration.
inFile | the output file |
Sample
Result
type_detk Dtk_KinCurve::get_type_detk | ( | ) | const |
void Dtk_KinCurve::getEntity | ( | Dtk_Size_t | inPos, |
void ** | outEntity, | ||
enum type_detk * | outType | ||
) |
Returns the entity and this type at position inPos.
inPos | position of element |
outEntity | An out parameter |
outType | An out parameter |
If position is out bounds returns NULL
Dtk_Size_t Dtk_KinCurve::getEntitySize | ( | ) |
Return the size of the entity tab.
Dtk_string Dtk_KinCurve::getFileName | ( | ) |
Returns the file name associated at the curve.
int Dtk_KinCurve::getIdBlock | ( | ) |
Returns the block id.
|
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.
|
static |
Delete object.
void Dtk_KinCurve::setFileName | ( | const Dtk_string & | inFileName | ) |
Sets the file name associated at the curve.
void Dtk_KinCurve::setIdBlock | ( | int | inId | ) |
Sets the block id.
Dtk_ErrorStatus Dtk_KinCurve::Transform | ( | const Dtk_transfo & | inTransfo | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protectedinherited |