Dtk_KinLaw represents a law associated at a command. More...
 Inheritance diagram for Dtk_KinLaw:Public Member Functions | |
| void | addCurve (Dtk_KinCurvePtr inCurve) | 
| Add a curve at the parameter in.  More... | |
| void | addParameter (Dtk_KinParameterPtr param) | 
| Add a paramater at the parameter 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 law.  More... | |
| type_detk | get_type_detk () const | 
| int | getActive () | 
| Returns the active attribute.  More... | |
| int | getAlgo () | 
| Dtk_string | getComment () | 
| Returns the law comment.  More... | |
| Dtk_KinCurvePtr | getCurve (Dtk_Size_t inPos) | 
| Returns the curve at the position inPos.  More... | |
| Dtk_Size_t | getCurveSize () | 
| Return the size of the curve tab.  More... | |
| Dtk_KinFormulaPtr | getExpression () | 
| Returns the law expression (formula)  More... | |
| int | getId () | 
| Returns the law id.  More... | |
| Dtk_string | getName () | 
| Returns the law name.  More... | |
| Dtk_KinParameterTab | getParameter () | 
| Returns the parameter table The last is the out parameter.  More... | |
| virtual Dtk_Size_t | GetSize () const | 
| int | getSynchrone () | 
| Returns the synchrone attribute.  More... | |
| Dtk_bool | isEqual (Dtk_KinLawPtr inLaw) | 
| Test if 2 Dtk_KinLaw is equal.  More... | |
| void | setActive (int inActive) | 
| Sets the active attribute.  More... | |
| void | setAlgo (int inAlgo) | 
| void | setComment (Dtk_string inComment) | 
| Sets the law comment.  More... | |
| void | setExpression (Dtk_KinFormulaPtr inExpression) | 
| Sets the formula.  More... | |
| void | setId (int inId) | 
| Sets the law id.  More... | |
| void | setName (Dtk_string inName) | 
| Sets the law name.  More... | |
| void | setParameter (Dtk_KinParameterTab inParamOut) | 
| Sets the parameter table.  More... | |
| void | setSynchrone (int inSynchrone) | 
| Sets the synchrone attribute.  More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) | 
Static Public Member Functions | |
| static Dtk_KinLawPtr | Create () | 
| Calls default constructor to allocate a new object.  More... | |
| static Dtk_KinLaw * | DtkDynamicCast (Dtk_Object *s) | 
| Performs a dynamic cast - doesn't need RTTI -.  More... | |
| static Dtk_KinLawPtr | release (Dtk_KinLawPtr inLaw) | 
| Delete object.  More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } | 
| enum | { _typeID = DTK_TYPE_KIN_LAW } | 
Protected Member Functions | |
| Dtk_KinLaw () | |
| Default constructor.  More... | |
| Dtk_KinLaw (const Dtk_KinLaw &inLaw) | |
| Copy constructor.  More... | |
| ~Dtk_KinLaw () | |
| Destructor.  More... | |
Protected Attributes | |
| int | _active | 
| int | _algo | 
| Dtk_string | _comment | 
| Dtk_KinCurveTab | _curve | 
| Dtk_KinFormulaPtr | _expression | 
| int | _ID | 
| Dtk_string | _name | 
| Dtk_KinParameterTab | _param | 
| int | _synchrone | 
| unsigned long | count_ | 
Dtk_KinLaw represents a law associated at a command.
A law is linked at a mechanism object.
      
  | 
  protected | 
Default constructor.
      
  | 
  protected | 
Copy constructor.
| inLaw | the Dtk_KinLaw to be copied | 
      
  | 
  protected | 
Destructor.
| void Dtk_KinLaw::addCurve | ( | Dtk_KinCurvePtr | inCurve | ) | 
Add a curve at the parameter in.
| inCurve | Curve to be added | 
| void Dtk_KinLaw::addParameter | ( | Dtk_KinParameterPtr | param | ) | 
Add a paramater at the parameter table.
| param | Parameter to be added | 
      
  | 
  static | 
Calls default constructor to allocate a new object.
      
  | 
  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_KinLaw::Dump | ( | FILE * | inFile | ) | 
Write Dump file for law.
| inFile | the output file | 
Sample
Result
| type_detk Dtk_KinLaw::get_type_detk | ( | ) | const | 
| int Dtk_KinLaw::getActive | ( | ) | 
Returns the active attribute.
| int Dtk_KinLaw::getAlgo | ( | ) | 
| Dtk_string Dtk_KinLaw::getComment | ( | ) | 
Returns the law comment.
| Dtk_KinCurvePtr Dtk_KinLaw::getCurve | ( | Dtk_Size_t | inPos | ) | 
Returns the curve at the position inPos.
| inPos | position of element | 
If position is out bounds returns NULL
| Dtk_Size_t Dtk_KinLaw::getCurveSize | ( | ) | 
Return the size of the curve tab.
| Dtk_KinFormulaPtr Dtk_KinLaw::getExpression | ( | ) | 
Returns the law expression (formula)
| int Dtk_KinLaw::getId | ( | ) | 
Returns the law id.
| Dtk_string Dtk_KinLaw::getName | ( | ) | 
Returns the law name.
| Dtk_KinParameterTab Dtk_KinLaw::getParameter | ( | ) | 
Returns the parameter table The last is the out parameter.
      
  | 
  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.
| int Dtk_KinLaw::getSynchrone | ( | ) | 
Returns the synchrone attribute.
| Dtk_bool Dtk_KinLaw::isEqual | ( | Dtk_KinLawPtr | inLaw | ) | 
      
  | 
  static | 
Delete object.
| void Dtk_KinLaw::setActive | ( | int | inActive | ) | 
Sets the active attribute.
| inActive | active attribute | 
| void Dtk_KinLaw::setAlgo | ( | int | inAlgo | ) | 
| void Dtk_KinLaw::setComment | ( | Dtk_string | inComment | ) | 
Sets the law comment.
| inComment | law comment | 
| void Dtk_KinLaw::setExpression | ( | Dtk_KinFormulaPtr | inExpression | ) | 
Sets the formula.
| inExpression | formula | 
| void Dtk_KinLaw::setId | ( | int | inId | ) | 
Sets the law id.
| inId | law id | 
| void Dtk_KinLaw::setName | ( | Dtk_string | inName | ) | 
Sets the law name.
| inName | law name | 
| void Dtk_KinLaw::setParameter | ( | Dtk_KinParameterTab | inParamOut | ) | 
Sets the parameter table.
| inParamOut | parameter table | 
| void Dtk_KinLaw::setSynchrone | ( | int | inSynchrone | ) | 
Sets the synchrone attribute.
| inSynchrone | synchrone attribute | 
| Dtk_ErrorStatus Dtk_KinLaw::Transform | ( | const Dtk_transfo & | inTransfo | ) | 
      
  | 
  protected | 
value:
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protectedinherited |