Related Scripting Object: Joint | Supported Parameter List: joint
The Joint object represents a Kinematic Joint property of a ChainBone or ChainEffector object. More...
#include <xsi_joint.h>
Inheritance diagram for Joint:

Public Member Functions |
|
| Joint () | |
| ~Joint () | |
| Joint (const CRef &in_ref) | |
| Joint (const Joint &in_obj) | |
| bool | IsA (siClassID in_ClassID) const |
| siClassID | GetClassID () const |
| Joint & | operator= (const Joint &in_obj) |
| Joint & | operator= (const CRef &in_ref) |
| X3DObject | GetUpVectorReference () const |
| CStatus | PutUpVectorReference (const X3DObject &in_UpVectorReference) const |
| X3DObject | GetPreferredAxisReference () const |
| CStatus | PutPreferredAxisReference (const X3DObject &in_PreferredAxisReference) |
using namespace XSI; Application app; Model root = app.GetActiveSceneRoot(); Null null1; root.AddNull(L"UpVectorReference",null1); Null null2; root.AddNull(L"PreferredAxisPreference",null2); ChainRoot myChainRoot; root.Add3DChain( MATH::CVector3(0,0,0), MATH::CVector3(1,0,0), MATH::CVector3(0,0,1), L"", myChainRoot); CRefArray boneRefArray = myChainRoot.GetBones(); Joint myJoint(ChainBone(boneRefArray.GetItem(0)).GetJoint()); myJoint.PutParameterValue(L"resplane",(LONG)siUpVectorPlane); myJoint.PutUpVectorReference(null1); myJoint.PutPreferredAxisReference(null2);
| Joint | ( | ) |
Default constructor.
| ~Joint | ( | ) |
Default destructor.
Constructor.
| in_ref | constant reference object. |
Copy constructor.
| in_obj | constant class object. |
| bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] |
Returns true if a given class type is compatible with this API class.
| in_ClassID | class type. |
Reimplemented from Property.
| siClassID GetClassID | ( | ) | const [virtual] |
Returns the type of the API class.
Reimplemented from Property.
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
| in_obj | constant class object. |
Creates an object from a reference object. The newly created object is set to empty if the input reference object is not compatible.
| in_ref | constant class object. |
Reimplemented from Property.
| X3DObject GetUpVectorReference | ( | ) | const |
Returns the X3DObject object acting as the upvector reference.
Sets the X3DObject object acting as the upvector reference.
| in_UpVectorReference | X3DObject that will act as the upvector reference. |
CStatus::Fail failure
| X3DObject GetPreferredAxisReference | ( | ) | const |
Returns the X3DObject object acting as the preferred axis reference.
Sets the X3DObject object acting as the preferred axis reference.
| in_PreferredAxisReference | X3DObject that will act as the preferred axis reference. |
CStatus::Fail failure