Public Member Functions

ISkin2 Class Reference

Search for all occurrences

Detailed Description



class ISkin2

See also:
Class ISkin, Class INode

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

This interface provide access to the stretch matrix for bones. This update is provide from a result of previous work on bones where stretch data was extracted from the base matrix.

Methods are available for both setting and getting. Also an additional method has been added that provides the ability to select vertices in the modifier.

#include <iskin.h>

Inheritance diagram for ISkin2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~ISkin2 ()
virtual BOOL  SetBoneStretchTm (INode *boneNode, Matrix3 stretchTm)=0
virtual Matrix3  GetBoneStretchTm (INode *boneNode)=0
virtual void  GetVertexSelection (INode *skinNode, BitArray &sel)=0
virtual void  SetVertexSelection (INode *skinNode, BitArray &sel)=0

Constructor & Destructor Documentation

virtual ~ISkin2 ( ) [inline, virtual]
Remarks:
Destructor.
{}

Member Function Documentation

virtual BOOL SetBoneStretchTm ( INode boneNode,
Matrix3  stretchTm 
) [pure virtual]
Remarks:
This will set the initial stretch tm for a bone in skin. The stretch matrix is the bone stretch matrix applied to bone objects. You can get a node stretch tm by calling INode::GetStretchTM()
NOTE SetBoneTm will clear the stretchTM and set it to identity so make sure you call this after SetBoneTm
Parameters:
boneNode - the node of the bone to set
stretchTm - the stretch matrix
Returns:
true if the function succeeds
virtual Matrix3 GetBoneStretchTm ( INode boneNode ) [pure virtual]
Remarks:
This will return the initial stretch tm for a bone in skin
Parameters:
boneNode - The node of the bone to get the stretch TM off.
Returns:
The stretch matrix off boneNode
virtual void GetVertexSelection ( INode skinNode,
BitArray sel 
) [pure virtual]
Remarks:
This will let you get the current vertex selection set for skin
Parameters:
skinNode - the node of the skinned object
[out] sel - The vertex selection set
virtual void SetVertexSelection ( INode skinNode,
BitArray sel 
) [pure virtual]
Remarks:
This will let you set the current vertex selection set for skin
Parameters:
skinNode - the node of the skinned object
sel - The vertex selection set

ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2
ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2 ISkin2