Class ISplineSelect
See Also: Class Animatable, Working with Shapes and Splines.
class ISplineSelect
Description:
This class is available in release 3.0 and later only.
This class provides an interface to the Spline Select Modifer. To obtain a pointer to this class use the method Animatable::GetInterface() passing I_SPLINESELECT.
For example:
ISplineSelect *iss = (ISplineSelect*)anim->GetInterface(I_SPLINESELECT));
DWORD sl = iss->GetSelLevel();
Methods:
public:
Prototype:
virtual DWORD GetSelLevel()=0;
Remarks:
Returns a value indicating the current selection level of the modifier. One of the following values:
SS_VERTEX
SS_SEGMENT
SS_SPLINE
SS_OBJECT
Prototype:
virtual void SetSelLevel(DWORD level)=0;
Remarks:
Sets the current level of selection of the modifier.
Parameters:
DWORD level
The level to set. One of the following values:
SS_VERTEX
SS_SEGMENT
SS_SPLINE
SS_OBJECT
Prototype:
virtual void LocalDataChanged()=0;
Remarks:
This method must be called when the selection level of the modifier is changed. Developers can use the methods of ISplineSelect to get and set the actual selection data. When a developers does set any of these selection sets this method must be called when done.