3ds Max C++ API Reference
IAutoRendererParamDlg Class Referenceabstract

Implementation of a ParamDlg that handles the automatic creation and lifetime management for a parameter map of a renderer plugin. More...

#include <iparamm2.h>

+ Inheritance diagram for IAutoRendererParamDlg:

Public Member Functions

virtual void InvalidateUI ()=0
 Invalidates the UI for every parameter map controlled by this dialog and its sub-dialogs. More...
 
virtual int NumDlgs () const =0
 Returns the number of sub dialogs being controlled. More...
 
virtual void AddDlg (RendParamDlg &dlg)=0
 Adds a sub-dialog to be controlled by this main dialog. More...
 
virtual RendParamDlgGetDlg (const int i)=0
 Returns the sub-dialog with the given index. More...
 
virtual void SetDlg (const int i, RendParamDlg *dlg)=0
 Replaces the dialog, at the given index, with another. More...
 
virtual void DeleteDlg (RendParamDlg &dlg)=0
 Removes the given dialog from the set of sub-dialogs. More...
 
virtual IParamMap2GetMap ()=0
 Returns the parameter map to which this dialog is connected. More...
 
- Public Member Functions inherited from RendParamDlg
virtual ~RendParamDlg ()
 Destructor. More...
 
virtual void AcceptParams ()=0
 If the user selects OK from the dialog, this method will be called, at which time the renderer can read the parameters out of the UI and modify its state. More...
 
virtual void RejectParams ()
 If this method is called, typically the renderer will not have to do anything since it has not yet modified its state, but if for some reason it has, it should restore its state. More...
 
virtual void DeleteThis ()=0
 Deletes this instance of the class. More...
 

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...
 

Detailed Description

Implementation of a ParamDlg that handles the automatic creation and lifetime management for a parameter map of a renderer plugin.

Member Function Documentation

◆ InvalidateUI()

virtual void InvalidateUI ( )
pure virtual

Invalidates the UI for every parameter map controlled by this dialog and its sub-dialogs.

◆ NumDlgs()

virtual int NumDlgs ( ) const
pure virtual

Returns the number of sub dialogs being controlled.

◆ AddDlg()

virtual void AddDlg ( RendParamDlg dlg)
pure virtual

Adds a sub-dialog to be controlled by this main dialog.

◆ GetDlg()

virtual RendParamDlg* GetDlg ( const int  i)
pure virtual

Returns the sub-dialog with the given index.

◆ SetDlg()

virtual void SetDlg ( const int  i,
RendParamDlg dlg 
)
pure virtual

Replaces the dialog, at the given index, with another.

◆ DeleteDlg()

virtual void DeleteDlg ( RendParamDlg dlg)
pure virtual

Removes the given dialog from the set of sub-dialogs.

◆ GetMap()

virtual IParamMap2* GetMap ( )
pure virtual

Returns the parameter map to which this dialog is connected.