ISplineSelect Class Reference
 
 
 
ISplineSelect Class Reference

#include <istdplug.h>

Inheritance diagram for ISplineSelect:
MaxHeapOperators SplineShape

Class Description

See also:
Class Animatable, Working with Shapes and Splines.

Description:
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();

Public Member Functions

virtual DWORD  GetSelLevel ()=0
virtual void  SetSelLevel (DWORD level)=0
virtual void  LocalDataChanged ()=0

Member Function Documentation

virtual DWORD GetSelLevel ( ) [pure virtual]
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

Implemented in SplineShape.

virtual void SetSelLevel ( DWORD  level ) [pure virtual]
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

Implemented in SplineShape.

virtual void LocalDataChanged ( ) [pure virtual]
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.

Implemented in SplineShape.