3ds Max C++ API Reference
Loading...
Searching...
No Matches
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.
 
virtual int NumDlgs () const =0
 Returns the number of sub dialogs being controlled.
 
virtual void AddDlg (RendParamDlg &dlg)=0
 Adds a sub-dialog to be controlled by this main dialog.
 
virtual RendParamDlgGetDlg (const int i)=0
 Returns the sub-dialog with the given index.
 
virtual void SetDlg (const int i, RendParamDlg *dlg)=0
 Replaces the dialog, at the given index, with another.
 
virtual void DeleteDlg (RendParamDlg &dlg)=0
 Removes the given dialog from the set of sub-dialogs.
 
virtual IParamMap2GetMap ()=0
 Returns the parameter map to which this dialog is connected.
 
- Public Member Functions inherited from RendParamDlg
virtual ~RendParamDlg ()
 Destructor.
 
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.
 
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.
 
virtual void DeleteThis ()=0
 Deletes this instance of the class.
 

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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 

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.