class INodeExposure:
public FPMixinInterface
- Description:
- This class is only available in release 5 or
later.
This interface provides the ability for a node to define whether it
is visible in any of max's dialog boxes. This interface will be
extended and used by more of 3ds Max's core utilities, but
currently ONLY TrackView and the Select Object/HideObject dialog
box use this interface. By default this interface is not
available through the default nodes, it needs to be added.
To get a pointer to this interface from a node the following code
can be used.
This will add a new INodeExposure
interface to the node if it is not present. The next time you use
this technique it will only return the interface and not create
another new interface.
- Data Members:
- enum {
kSelectObjects, kSchematicView, kMaxscript,
kMerge, kMergeAnimation, kReplace,
kKeyEditor, kCurveEditor, kRangeEditor,
};
This enum provides access to the different supported UI elements.
It is used with various methods of the class to get/set the UI
flags.
Public Types
|
enum |
{
kSelectObjects,
kSchematicView,
kMaxscript,
kMerge,
kMergeAnimation,
kReplace,
kKeyEditor,
kCurveEditor,
kRangeEditor,
kUI_num
} |
enum |
FuncID
{
kIsExposed,
kSetExposedInAll,
kSetExposed,
kBakeExposure } |
Public Member Functions
|
virtual
bool |
IsExposed
(int ui) const =0 |
virtual
void |
SetExposed
(bool state)=0 |
virtual
void |
SetExposed
(bool state, int ui)=0 |
bool |
IsExposedInSelectObjects
() const |
bool |
IsExposedInSchematicView
() const |
bool |
IsExposedInMaxscript
() const |
bool |
IsExposedInMerge
() const |
bool |
IsExposedInMergeAnimation
() const |
bool |
IsExposedInReplace
() const |
bool |
IsExposedInTrackView
() const |
bool |
IsExposedInKeyEditor
() const |
bool |
IsExposedInCurveEditor
() const |
bool |
IsExposedInRangeEditor
() const |
void |
SetExposedInSelectObjects
(bool state) |
void |
SetExposedInSchematicView
(bool state) |
void |
SetExposedInMaxscript
(bool state) |
void |
SetExposedInMerge
(bool state) |
void |
SetExposedInMergeAnimation
(bool state) |
void |
SetExposedInReplace
(bool state) |
void |
SetExposedInTrackView
(bool state) |
void |
SetExposedInKeyEditor
(bool state) |
void |
SetExposedInCurveEditor
(bool state) |
void |
SetExposedInRangeEditor
(bool state) |
virtual
IOResult |
Save
(ISave *) const =0 |
virtual
IOResult |
Load
(ILoad *)=0 |
virtual
void |
Copy
(INodeExposure
*)=0 |
virtual
void |
BakeExposure
()=0 |
virtual
bool |
IsExposureBaked
()=0 |
virtual const
void * |
ObjectOf
(void *) const =0 |
virtual void
* |
ObjectOf
(void *)=0 |
FPInterfaceDesc
* |
GetDesc
() |
BEGIN_FUNCTION_MAP |
FN_1
(kIsExposed, TYPE_bool, IsExposed, TYPE_INT) |
|
VFN_1
(kSetExposedInAll, SetExposed, TYPE_bool) |
|
VFN_2
(kSetExposed, SetExposed, TYPE_bool, TYPE_INT) |
|
VFN_0
(kBakeExposure, BakeExposure) |
Static Public Member
Functions
|
static INodeExposure
* |
GetINodeExposure
(INode &n) |
static INodeExposure
* |
AppendINodeExposure
(INode &n) |