3ds Max C++ API Reference
INodeInstancingPool Class Referenceabstract

Abstracts a set of nodes that all point to the the same object instance. More...

#include <INodeInstancingPool.h>

+ Inheritance diagram for INodeInstancingPool:

Classes

class  IManager
 Manages the creation and existence of node instancing pools. More...
 
class  INotifier
 Notification callback for monitoring changes in a node instancing pool. More...
 

Public Member Functions

virtual INodeGetRepresentativeNode () const =0
 Returns the pool's representative node. More...
 
virtual void MonitorNodePool (INotifier &notifier) const =0
 Registers a change notification callback, which gets called whenever the pool, or the instanced object, changes. More...
 
virtual void StopMonitoringNodePool (INotifier &notifier) const =0
 Unregisteres a notification callback previously registered with MonitorNodePool(). More...
 

Protected Member Functions

virtual ~INodeInstancingPool ()
 

Detailed Description

Abstracts a set of nodes that all point to the the same object instance.

This interface represents a set of nodes which, for rendering purposes, can be treated as all being instances of the same object. As such, the pool has a front-facing representative node which may be used to evaluate that shared/instanced object.

Constructor & Destructor Documentation

◆ ~INodeInstancingPool()

virtual ~INodeInstancingPool ( )
inlineprotectedvirtual
60 {}

Member Function Documentation

◆ GetRepresentativeNode()

virtual INode* GetRepresentativeNode ( ) const
pure virtual

Returns the pool's representative node.

The representative node is the front-facing node that may be used to evaluate the object that is instanced by the pool. In theory, any node in the pool may be used for this purpose; this method simply chooses one of them.

◆ MonitorNodePool()

virtual void MonitorNodePool ( INotifier notifier) const
pure virtual

Registers a change notification callback, which gets called whenever the pool, or the instanced object, changes.

Parameters
notifierThe notification callback to be registered.

◆ StopMonitoringNodePool()

virtual void StopMonitoringNodePool ( INotifier notifier) const
pure virtual

Unregisteres a notification callback previously registered with MonitorNodePool().

Parameters
notifierThe notification callback to be unregistered.