#include <FCDPhysicsRigidConstraint.h>
Inheritance diagram for FCDPhysicsRigidConstraint:

Public Member Functions | |
| FCDPhysicsRigidConstraint (FCDocument *document, FCDPhysicsModel *_parent) | |
| Constructor: do not use directly. | |
| virtual | ~FCDPhysicsRigidConstraint () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the entity type for this class. | |
| FCDPhysicsModel * | GetParent () |
| Retrieves the physics model that contraints this rigid constraint. | |
| const FCDPhysicsModel * | GetParent () const |
| See above. | |
| const fm::string & | GetSubId () const |
| Retrieves the wanted sub-id for this transform. | |
| void | SetSubId (const fm::string &subId) |
| Sets the wanted sub-id for this transform. | |
| void | SetSubId (const char *subId) |
| See above. | |
| FCDPhysicsRigidBody * | GetReferenceRigidBody () |
| Retrieves the attached rigid body which is the reference. | |
| const FCDPhysicsRigidBody * | GetReferenceRigidBody () const |
| See above. | |
| void | SetReferenceRigidBody (FCDPhysicsRigidBody *_referenceRigidBody) |
| Sets the attached rigid body which is the reference. | |
| FCDPhysicsRigidBody * | GetTargetRigidBody () |
| Retrieves the attached rigid body which is not the reference. | |
| const FCDPhysicsRigidBody * | GetTargetRigidBody () const |
| See above. | |
| void | SetTargetRigidBody (FCDPhysicsRigidBody *_targetRigidBody) |
| Sets the attached rigid body which is not the reference. | |
| FCDSceneNode * | GetReferenceNode () |
| Retrieves the attached node which is the reference. | |
| const FCDSceneNode * | GetReferenceNode () const |
| See above. | |
| void | SetReferenceNode (FCDSceneNode *_referenceNode) |
| Sets the attached node which is the reference. | |
| FCDSceneNode * | GetTargetNode () |
| Retrieves the attached node which is not the reference. | |
| const FCDSceneNode * | GetTargetNode () const |
| See above. | |
| void | SetTargetNode (FCDSceneNode *_targetNode) |
| Sets the attached node which is not the reference. | |
| FCDTransformContainer & | GetTransformsRef () |
| Retrieves the transforms for the attached rigid body which is the reference. | |
| const FCDTransformContainer & | GetTransformsRef () const |
| See above. | |
| FCDTransformContainer & | GetTransformsTar () |
| Retrieves the transforms for the attached rigid body which is not the reference. | |
| const FCDTransformContainer & | GetTransformsTar () const |
| See above. | |
| FCDTransform * | AddTransformRef (FCDTransform::Type type, size_t index=(size_t)-1) |
| Adds a transform for the attached rigid body which is the reference. | |
| FCDTransform * | AddTransformTar (FCDTransform::Type type, size_t index=(size_t)-1) |
| Adds a transform for the attached rigid body which is not the reference. | |
| FCDParameterAnimatableFloat & | GetEnabled () |
| Retrieves whether this rigid constraint is enabled. | |
| const FCDParameterAnimatableFloat & | GetEnabled () const |
| See above. | |
| bool | IsEnabled () const |
| See above. | |
| void | SetEnabled (bool _enabled) |
| Sets whether this rigid constraint is enabled. | |
| FCDParameterAnimatableFloat & | GetInterpenetrate () |
| Retrieves whether the connected rigid bodies can penetrate eachother. | |
| const FCDParameterAnimatableFloat & | GetInterpenetrate () const |
| See above. | |
| bool | IsInterpenetrate () const |
| See above. | |
| void | SetInterpenetrate (bool _interpenetrate) |
| Sets whether the connected rigid bodies can penetrate eachother. | |
| FUParameterVector3 & | GetLimitsLinearMin () |
| Retrieves the linear min limit of the degrees of freedom. | |
| const FUParameterVector3 & | GetLimitsLinearMin () const |
| See above. | |
| void | SetLimitsLinearMin (const FMVector3 &_limitsLinearMin) |
| Sets the linear min limit of the degrees of freedom. | |
| FUParameterVector3 & | GetLimitsLinearMax () |
| Retrieves the linear max limit of the degrees of freedom. | |
| const FUParameterVector3 & | GetLimitsLinearMax () const |
| See above. | |
| void | SetLimitsLinearMax (const FMVector3 &_limitsLinearMax) |
| Sets the linear max limit of the degrees of freedom. | |
| FUParameterVector3 & | GetLimitsSCTMin () |
| Retrieves the swing cone and twist min limit of the degrees of freedom. | |
| const FUParameterVector3 & | GetLimitsSCTMin () const |
| See above. | |
| void | SetLimitsSCTMin (const FMVector3 &_limitsSCTMin) |
| Sets the swing cone and twist min limit of the degrees of freedom. | |
| FUParameterVector3 & | GetLimitsSCTMax () |
| Retrieves the swing cone and twist max limit of the degrees of freedom. | |
| const FUParameterVector3 & | GetLimitsSCTMax () const |
| See above. | |
| void | SetLimitsSCTMax (const FMVector3 &_limitsSCTMax) |
| Sets the swing cone and twist max limit of the degrees of freedom. | |
| FUParameterFloat & | GetSpringLinearStiffness () |
| Retrieves the spring linear stiffness of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringLinearStiffness () const |
| See above. | |
| void | SetSpringLinearStiffness (float _springLinearStiffness) |
| Sets the spring linear stiffness of the spring rigid constraint. | |
| FUParameterFloat & | GetSpringLinearDamping () |
| Retrieves the spring linear damping of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringLinearDamping () const |
| See above. | |
| void | SetSpringLinearDamping (float _springLinearDamping) |
| Sets the spring linear damping of the spring rigid constraint. | |
| FUParameterFloat & | GetSpringLinearTargetValue () |
| Retrieves the sping linear target value of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringLinearTargetValue () const |
| See above. | |
| void | SetSpringLinearTargetValue (float _springLinearTargetValue) |
| Sets the sping linear target value of the spring rigid constraint. | |
| FUParameterFloat & | GetSpringAngularStiffness () |
| Retrieves the spring angular stiffness of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringAngularStiffness () const |
| See above. | |
| void | SetSpringAngularStiffness (float _springAngularStiffness) |
| Sets the spring angular stiffness of the spring rigid constraint. | |
| FUParameterFloat & | GetSpringAngularDamping () |
| Retrieves the spring angular damping of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringAngularDamping () const |
| See above. | |
| void | SetSpringAngularDamping (float _springAngularDamping) |
| Sets the spring angular damping of the spring rigid constraint. | |
| FUParameterFloat & | GetSpringAngularTargetValue () |
| Retrieves the sping angular target value of the spring rigid constraint. | |
| const FUParameterFloat & | GetSpringAngularTargetValue () const |
| See above. | |
| void | SetSpringAngularTargetValue (float _springAngularTargetValue) |
| Sets the sping angular target value of the spring rigid constraint. | |
| DEPRECATED (3.05A, GetEnabled().GetAnimated) FCDAnimated *GetAnimatedEnabled() | |
| Retrieves the animated value for enabled. | |
| DEPRECATED (3.05A, GetEnabled().GetAnimated) const FCDAnimated *GetAnimatedEnabled() const | |
| See above. | |
| DEPRECATED (3.05A, GetInterpenetrate().GetAnimated) FCDAnimated *GetAnimatedInterpenetrate() | |
| Retrieves the animated value for interpenetrate. | |
| DEPRECATED (3.05A, GetInterpenetrate().GetAnimated) const FCDAnimated *GetAnimatedInterpenetrate() const | |
| See above. | |
| virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
| Copies the rigid constraint into a clone. | |
A rigid constraint attaches two rigid bodies together using springs, ball joints, or other limitations.
|
||||||||||||
|
Constructor: do not use directly. Create new rigid constraints using the FCDPhysicsModel::AddRigidConstraint function.
|
|
||||||||||||
|
Adds a transform for the attached rigid body which is the reference.
|
|
||||||||||||
|
Adds a transform for the attached rigid body which is not the reference.
|
|
||||||||||||
|
Copies the rigid constraint into a clone.
Reimplemented from FCDEntity. |
|
||||||||||||
|
Retrieves the animated value for interpenetrate.
|
|
||||||||||||
|
Retrieves the animated value for enabled.
|
|
|
Retrieves whether this rigid constraint is enabled.
|
|
|
Retrieves whether the connected rigid bodies can penetrate eachother.
|
|
|
Retrieves the linear max limit of the degrees of freedom.
|
|
|
Retrieves the linear min limit of the degrees of freedom.
|
|
|
Retrieves the swing cone and twist max limit of the degrees of freedom.
|
|
|
Retrieves the swing cone and twist min limit of the degrees of freedom.
|
|
|
Retrieves the physics model that contraints this rigid constraint.
|
|
|
Retrieves the attached node which is the reference. This method should be avoided as the specification says the attachment should be to a rigid body. This value is only used if GetReferenceRigidBody is NULL.
|
|
|
Retrieves the attached rigid body which is the reference.
|
|
|
Retrieves the spring angular damping of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Retrieves the spring angular stiffness of the spring rigid constraint. This is set to 1.0 if there is no spring.
|
|
|
Retrieves the sping angular target value of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Retrieves the spring linear damping of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Retrieves the spring linear stiffness of the spring rigid constraint. This is set to 1.0 if there is no spring.
|
|
|
Retrieves the sping linear target value of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Retrieves the wanted sub-id for this transform. A wanted sub-id will always be exported, even if the transform is not animated. But the wanted sub-id may be modified if it isn't unique within the scope.
|
|
|
Retrieves the attached node which is not the reference. This method should be avoided as the specification says the attachment should be to a rigid body. This value is only used if GetTargetRigidBody is NULL.
|
|
|
Retrieves the attached rigid body which is not the reference.
|
|
|
Retrieves the transforms for the attached rigid body which is the reference.
|
|
|
Retrieves the transforms for the attached rigid body which is not the reference.
|
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
|
Sets whether this rigid constraint is enabled.
|
|
|
Sets whether the connected rigid bodies can penetrate eachother.
|
|
|
Sets the linear max limit of the degrees of freedom.
|
|
|
Sets the linear min limit of the degrees of freedom.
|
|
|
Sets the swing cone and twist max limit of the degrees of freedom.
|
|
|
Sets the swing cone and twist min limit of the degrees of freedom.
|
|
|
Sets the attached node which is the reference. This method should be avoided as the specification says the attachment should be to a rigid body. This value is only used if GetReferenceRigidBody is NULL.
|
|
|
Sets the attached rigid body which is the reference.
|
|
|
Sets the spring angular damping of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Sets the spring angular stiffness of the spring rigid constraint. This is set to 1.0 if there is no spring.
|
|
|
Sets the sping angular target value of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Sets the spring linear damping of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Sets the spring linear stiffness of the spring rigid constraint. This is set to 1.0 if there is no spring.
|
|
|
Sets the sping linear target value of the spring rigid constraint. This is set to 0.0 if there is no spring.
|
|
|
Sets the wanted sub-id for this transform. A wanted sub-id will always be exported, even if the transform is not animated. But the wanted sub-id may be modified if it isn't unique within the scope.
|
|
|
Sets the attached node which is not the reference. This method should be avoided as the specification says the attachment should be to a rigid body. This value is only used if GetTargetRigidBody is NULL.
|
|
|
Sets the attached rigid body which is not the reference.
|
1.4.6-NO