3ds Max C++ API Reference
|
Is a notification client where you get the notifications on demand, they are stored until you ask for them. More...
#include <NotificationAPI_Subscription.h>
Public Member Functions | |
virtual | ~IOnDemandNotificationClient () |
virtual size_t | NumberOfQueuedEvents ()=0 |
Destructor. More... | |
virtual void | ProcessEvents (INotificationCallback ¬ificationCallback)=0 |
This function processes all events currently waiting in the queue. More... | |
virtual bool | MonitorNode (INode &node, NotifierType type, size_t monitoredEvents, void *userData)=0 |
Monitor this node events. More... | |
virtual bool | MonitorMaterial (Mtl &mtl, size_t monitoredEvents, void *userData)=0 |
Monitor this material events. More... | |
virtual bool | MonitorTexmap (Texmap &texmap, size_t monitoredEvents, void *userData)=0 |
Monitor this Texmap events. More... | |
virtual bool | MonitorReferenceTarget (ReferenceTarget &refTarg, size_t monitoredEvents, void *userData)=0 |
Monitor events on a generic reference target. More... | |
virtual bool | MonitorViewport (int viewID, size_t monitoredEvents, void *userData)=0 |
Monitor viewport events such as transform matrix changes (when you move the camera viewport while it's a viewport and not a Max camera) More... | |
virtual bool | MonitorRenderEnvironment (size_t monitoredEvents, void *userData)=0 |
Monitor render environment events (Tone operator for example) More... | |
virtual bool | MonitorRenderSettings (size_t monitoredEvents, void *userData)=0 |
Monitor render environment events (Tone operator for example) More... | |
virtual bool | MonitorScene (size_t monitoredEvents, void *userData)=0 |
Monitor scene events such as node added, file reset, file load, File import etc. More... | |
virtual bool | StopMonitoringNode (INode &pNode, size_t monitoredEvents, void *userData)=0 |
Stop monitoring this node. More... | |
virtual bool | StopMonitoringMaterial (Mtl &pMtl, size_t monitoredEvents, void *userData)=0 |
Stop monitoring this material. More... | |
virtual bool | StopMonitoringTexmap (Texmap &pTexmap, size_t monitoredEvents, void *userData)=0 |
Stop monitoring this texmap. More... | |
virtual bool | StopMonitoringReferenceTarget (ReferenceTarget &refTarg, size_t monitoredEvents, void *userData)=0 |
Stop monitoring a reference target Unregisters a previously registered notification callback. More... | |
virtual bool | StopMonitoringViewport (int viewID, size_t monitoredEvents, void *userData)=0 |
Stop monitoring this viewport. More... | |
virtual bool | StopMonitoringRenderEnvironment (size_t monitoredEvents, void *userData)=0 |
Stop monitoring render environment. More... | |
virtual bool | StopMonitoringRenderSettings (size_t monitoredEvents, void *userData)=0 |
Stop monitoring render settings. More... | |
virtual bool | StopMonitoringScene (size_t monitoredEvents, void *userData)=0 |
Stop monitoring scene. More... | |
![]() | |
virtual | ~INotificationClient () |
virtual int | VersionNumber () const =0 |
Destructor. More... | |
virtual void | EnableNotifications (bool enable)=0 |
Enable notifications. More... | |
virtual bool | NotificationsEnabled (void) const =0 |
Check if notifications are enabled or disabled. More... | |
virtual void | DebugPrintToFile (FILE *theFile) const =0 |
Print what's monitored inside the client (debugging purpose) More... | |
Is a notification client where you get the notifications on demand, they are stored until you ask for them.
|
inlinevirtual |
|
pure virtual |
Destructor.
Returns the number of events currently waiting to be processed.
|
pure virtual |
This function processes all events currently waiting in the queue.
The queue is emptied in the process.
notificationCallback | The callback through which the events are processed, one by one. |
|
pure virtual |
Monitor this node events.
node | the INode* to monitor. |
type | the NotifierType for this node. |
monitoredEvents | : bit array flags, the events you want to monitor for that node, you'll get called only called for the selected events. Example for 2 events is : UpdateType_Node_WireColor | UpdateType_Node_Transform; |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
Monitor this material events.
mtl | the Mtl* to monitor. |
monitoredEvents | : bit array that is the events flags you want to monitor for that material, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
|
pure virtual |
Monitor this Texmap events.
texmap | the Texmap to monitor. |
monitoredEvents | bit array : the events flags you want to monitor for that texmap, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
|
pure virtual |
Monitor events on a generic reference target.
This is used to monitor notifications an an arbitrary ReferenceTarget class for which there doesn't exist a more specialized monitoring function (as there are for INode, Mtl, Texmap, etc.).
refTarg | The reference target to be monitored. |
monitoredEvents | : bit array (see enum ReferenceTargetEventType) that is the events flags you want to monitor for that material, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
Monitor viewport events such as transform matrix changes (when you move the camera viewport while it's a viewport and not a Max camera)
viewID | the viewport ID to monitor. |
monitoredEvents | bit array : the events flags you want to monitor for this viewport, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
Monitor render environment events (Tone operator for example)
monitoredEvents | bit array : the events flags you want to monitor for render environment, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
Monitor render environment events (Tone operator for example)
monitoredEvents | bit array : the events flags you want to monitor for render settings, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
Monitor scene events such as node added, file reset, file load, File import etc.
monitoredEvents | bit array : the events flags you want to monitor for the scene, you'll get called only for the selected events |
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
|
pure virtual |
Stop monitoring this node.
pNode | the INode* to stop monitoring for events. |
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
|
pure virtual |
Stop monitoring this material.
pMtl | the Mtl* to stop monitoring. |
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
|
pure virtual |
Stop monitoring this texmap.
pTexmap | the Texmap* to stop monitoring. |
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
|
pure virtual |
Stop monitoring a reference target Unregisters a previously registered notification callback.
refTarg | The reference target to stop monitoring. |
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
|
pure virtual |
Stop monitoring this viewport.
viewID | the viewID of the viewport to stop monitoring. |
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
|
pure virtual |
Stop monitoring render environment.
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
Stop monitoring render settings.
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |
Stop monitoring scene.
monitoredEvents | : bit array flags, the events you want to stop monitoring, if you remove all the events we had recorded, we'll delete our internal data |
userData | the user data passed to the Monitor method. |