3ds Max C++ API Reference
JointParams2 Class Reference

#include <interpik.h>

+ Inheritance diagram for JointParams2:

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 Member Functions inherited from JointParams
CoreExport JointParams (DWORD type=JNT_POS, int dofs=3, float s=1.0f)
 
CoreExport JointParams (const JointParams &j)
 
CoreExport ~JointParams ()
 
DWORD ID ()
 
CoreExport JointParamsoperator= (JointParams &j)
 
CoreExport BOOL IsDefault ()
 
CoreExport IOResult Save (ISave *isave)
 
CoreExport IOResult Load (ILoad *iload)
 
CoreExport float ConstrainInc (int index, float v, float delta)
 
BOOL Active (int i)
 
BOOL Limited (int i)
 
BOOL Ease (int i)
 
BOOL Spring (int i)
 
DWORD Type ()
 
BOOL RollupOpen ()
 
void SetActive (int i, BOOL s)
 
void SetLimited (int i, BOOL s)
 
void SetEase (int i, BOOL s)
 
void SetSpring (int i, BOOL s)
 
void SetType (DWORD type)
 
void SetRollOpen (BOOL open)
 
virtual CoreExport void SpinnerChange (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin, BOOL interactive)
 
CoreExport void InitDialog (InterpCtrlUI *ui)
 
CoreExport void EndDialog (InterpCtrlUI *ui, BOOL dontDel=FALSE)
 
CoreExport void SpinnerDown (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin)
 
CoreExport void SpinnerUp (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin, BOOL accept)
 
CoreExport void Command (InterpCtrlUI *ui, WORD notify, WORD id, HWND hCtrl)
 
CoreExport void EnableDisable (InterpCtrlUI *ui)
 
CoreExport void MirrorConstraints (int axis)
 
JointParams2GetJointParams2Interface ()
 
- Public Member Functions inherited from AnimProperty
virtual BOOL DontDelete ()
 
virtual ~AnimProperty ()
 

Public Attributes

float * preferredAngle
 
- Public Attributes inherited from JointParams
float * min
 
float * max
 
float * damping
 
float * spring
 
float * stens
 
float scale
 
DWORD flags
 
int dofs
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

See also
Class JointParams

Description:
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.

Constructor & Destructor Documentation

◆ JointParams2() [1/3]

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.

◆ JointParams2() [2/3]

Remarks
Constructor. The data members are initialized to those of the JointParams2 passed.

◆ JointParams2() [3/3]

Remarks
Constructor. The data members are initialized to those of the JointParams passed.

◆ ~JointParams2()

Remarks
Destructor.

Member Data Documentation

◆ preferredAngle

float* preferredAngle