Public Member Functions | Public Attributes

JointParams2 Class Reference

Search for all occurrences

Detailed Description

See also:
Class JointParams

Description:
This class is available in release 4.0 and later only.

This class is derived from class JointParams, which is the original data structure that holds joint parameter settings. This new derived class adds the preferredAngle parameter. Note that JointParams is not a virtual class and as such a flag definition of JNT_PARAMS2 is added in order to differentiate a JointParams2 instances from a JointParams instance. When the JNT_PARAMS2 flag is set, a JointParams pointer can be safely cast to a JointParams2.
Data Members:
float *preferredAngle;

The preferred angle parameter.

#include <interpik.h>

Inheritance diagram for JointParams2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CoreExport  JointParams2 (DWORD type=JNT_POS, int dofs=3, float s=1.0f)
CoreExport  JointParams2 (const JointParams2 &j)
CoreExport  JointParams2 (const JointParams &j)
CoreExport  ~JointParams2 ()

Public Attributes

float *  preferredAngle

Constructor & Destructor Documentation

CoreExport JointParams2 ( DWORD  type = JNT_POS,
int  dofs = 3,
float  s = 1.0f 
)
Remarks:
Constructor. The data members are initialized to the values passed.
Parameters:
DWORD type=JNT_POS

The type, which corresponds to the JointParams::flags parameter.

int dofs = 3

The degrees of freedom for the joint.

float s = 1.0f

The scale factor.
CoreExport JointParams2 ( const JointParams2 j )
Remarks:
Constructor. The data members are initialized to those of the JointParams2 passed.
CoreExport JointParams2 ( const JointParams j )
Remarks:
Constructor. The data members are initialized to those of the JointParams passed.
CoreExport ~JointParams2 ( )
Remarks:
Destructor.

Member Data Documentation


JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2
JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2 JointParams2