IPatchSelect Class Reference
 
 
 
IPatchSelect Class Reference

#include <istdplug.h>

Inheritance diagram for IPatchSelect:
MaxHeapOperators PatchObject

Class Description

See also:
Class Animatable, Working with Patches.

Description:
This class provides an interface to the Patch Select Modifer. To obtain a pointer to this class use the method Animatable::GetInterface() passing I_PATCHSELECT.

For example:

IPatchSelect *ips = (IPatchSelect*)anim->GetInterface(I_PATCHSELECT));

DWORD sl = ips->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:

PO_VERTEX

PO_EDGE

PO_PATCH

PO_OBJECT

Implemented in PatchObject.

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:

PO_VERTEX

PO_EDGE

PO_PATCH

PO_OBJECT

Implemented in PatchObject.

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 this class 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 PatchObject.