Public Member Functions

IPatchSelect Class Reference

Search for all occurrences

Detailed Description

See also:
Class Animatable, Working with Patches.

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

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

#include <istdplug.h>

Inheritance diagram for IPatchSelect:
Inheritance graph
[legend]

List of all members.

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.


IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect
IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect IPatchSelect