3ds Max C++ API Reference
INodeEventCallback Class Reference

#include <ISceneEventManager.h>

+ Inheritance diagram for INodeEventCallback:

Public Types

typedef NodeEventNamespace::NodeKeyTab NodeKeyTab
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 

Public Member Functions

virtual void Added (NodeKeyTab &nodes)
 
virtual void Deleted (NodeKeyTab &nodes)
 Nodes deleted from the scene. More...
 
virtual void LinkChanged (NodeKeyTab &nodes)
 Node linked or unlinked from another parent node. More...
 
virtual void LayerChanged (NodeKeyTab &nodes)
 Nodes added or removed from a layer, or moved between layers. More...
 
virtual void GroupChanged (NodeKeyTab &nodes)
 Nodes added or removed from a group, or its group was opened or closed. More...
 
virtual void HierarchyOtherEvent (NodeKeyTab &nodes)
 All other change to the scene structure of nodes. More...
 
virtual void ModelStructured (NodeKeyTab &nodes)
 
virtual void GeometryChanged (NodeKeyTab &nodes)
 Nodes changed in their geometry channel. More...
 
virtual void TopologyChanged (NodeKeyTab &nodes)
 Nodes changed in their topology channel. More...
 
virtual void MappingChanged (NodeKeyTab &nodes)
 Nodes changed in their UV mapping channel, or vertex color channel. More...
 
virtual void ExtentionChannelChanged (NodeKeyTab &nodes)
 Nodes changed in any of their extention channels. More...
 
virtual void ModelOtherEvent (NodeKeyTab &nodes)
 All other change to the geometry or parameters of an object. More...
 
virtual void MaterialStructured (NodeKeyTab &nodes)
 
virtual void MaterialOtherEvent (NodeKeyTab &nodes)
 All other change to the settings of a node's material. More...
 
virtual void ControllerStructured (NodeKeyTab &nodes)
 
virtual void ControllerOtherEvent (NodeKeyTab &nodes)
 All other changes to node transform controller values, including nodes moved/rotated/scaled, or transform animation keys set. More...
 
virtual void NameChanged (NodeKeyTab &nodes)
 
virtual void WireColorChanged (NodeKeyTab &nodes)
 Node wire color changed. More...
 
virtual void RenderPropertiesChanged (NodeKeyTab &nodes)
 Node render-related object properties changed. More...
 
virtual void DisplayPropertiesChanged (NodeKeyTab &nodes)
 Node display-related object properties changed. More...
 
virtual void UserPropertiesChanged (NodeKeyTab &nodes)
 Node used-defined object properties changed. More...
 
virtual void PropertiesOtherEvent (NodeKeyTab &nodes)
 All other changes to node property values. More...
 
virtual void SubobjectSelectionChanged (NodeKeyTab &nodes)
 
virtual void SelectionChanged (NodeKeyTab &nodes)
 Nodes selected or deselected. More...
 
virtual void HideChanged (NodeKeyTab &nodes)
 Nodes hidden or unhidden. More...
 
virtual void FreezeChanged (NodeKeyTab &nodes)
 Nodes frozen or unfrozen. More...
 
virtual void DisplayOtherEvent (NodeKeyTab &nodes)
 All other display or interaction node events. More...
 
virtual void CallbackBegin ()
 Called when messages are being triggered for the callback, before event methods. More...
 
virtual void CallbackEnd ()
 Called when messages are being triggered for the callback, after all event methods. More...
 
virtual BOOL VerboseDeleted ()
 Verbose Deleted mode, for extra information about deleted object If verbose is false, messages are never sent for objects which are deleted from the scene (and on the undo stack). More...
 
Interface_ID GetID ()
 
BaseInterfaceGetInterface (Interface_ID id)
 
- Public Member Functions inherited from ISceneEventCallback
INodeEventCallbackGetINodeEventCallback ()
 Casts to an INodeEventCallback if possible If this object is an INodeEventCallback, this method downcasts and returns a pointer. More...
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual LifetimeType LifetimeControl ()
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Member Typedef Documentation

◆ NodeKeyTab

Member Function Documentation

◆ CallbackBegin()

virtual void CallbackBegin ( )
inlinevirtual

Called when messages are being triggered for the callback, before event methods.

270 {}

◆ CallbackEnd()

virtual void CallbackEnd ( )
inlinevirtual

Called when messages are being triggered for the callback, after all event methods.

272 {}

◆ VerboseDeleted()

virtual BOOL VerboseDeleted ( )
inlinevirtual

Verbose Deleted mode, for extra information about deleted object If verbose is false, messages are never sent for objects which are deleted from the scene (and on the undo stack).

Also the Add or Delete messages are treated as all-encompassing messages, and will never be accompanied by other messages. If verbose is true, all messages are sent, even for deleted objects, and even accompanying Add and Delete messages. Do not change this value dynamically. The method is called only once by the system, when the callback is registered.

Returns
The Verbose Deleted setting to use for the callback
281 {return FALSE;}

◆ GetID()

Interface_ID GetID ( )
inlinevirtual
Remarks
This method returns the unique interface ID.

Reimplemented from BaseInterface.

#define INODEEVENTCALLBACK_INTERFACE_ID
Definition: ISceneEventManager.h:32

◆ GetInterface()

BaseInterface* GetInterface ( Interface_ID  id)
inlinevirtual
Remarks
Returns a pointer to the interface whose ID is specified.
Parameters:
Interface_ID id

The ID of the interface to return.
Default Implementation:
{ return NULL; }

Reimplemented from BaseInterface.

286  { if (id == INODEEVENTCALLBACK_INTERFACE_ID) return this; else return BaseInterface::GetInterface(id); }
UtilExport BaseInterface * GetInterface(Interface_ID id)