3ds Max C++ API Reference
Loading...
Searching...
No Matches
IAutoMParamDlg Class Referenceabstract

#include <iparamm2.h>

+ Inheritance diagram for IAutoMParamDlg:

Public Member Functions

virtual void InvalidateUI ()=0
 
virtual void MtlChanged ()=0
 
virtual int NumDlgs ()=0
 
virtual void AddDlg (ParamDlg *dlg)=0
 
virtual ParamDlgGetDlg (int i)=0
 
virtual void SetDlg (int i, ParamDlg *dlg)=0
 
virtual void DeleteDlg (ParamDlg *dlg)=0
 
virtual IParamMap2GetMap ()=0
 
- Public Member Functions inherited from ParamDlg
virtual Class_ID ClassID ()=0
 
virtual void SetThing (ReferenceTarget *m)=0
 
virtual ReferenceTargetGetThing ()=0
 
virtual void SetTime (TimeValue t)=0
 
virtual void ReloadDialog ()=0
 
virtual void DeleteThis ()=0
 
virtual void ActivateDlg (BOOL onOff)=0
 
virtual int FindSubTexFromHWND (HWND hwnd)
 
virtual int FindSubMtlFromHWND (HWND hwnd)
 
virtual INT_PTR Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor.
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
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.
 
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

See also
Class ParamDlg, Class IParamMap2, Class IMtlParams, Class ParamMap2UserDlgProc.

Description:
This is the Auto ParamDlg class for Material Editor auto-UI, instanced by ClassDesc2::CreateParamDlg(). It maintains a table of secondary ParamDlgs for main ParamDlgs (eg, the one returned from CreateParamDlg()) and will broadcast appropriate method calls to them as the main receives them.

Member Function Documentation

◆ InvalidateUI()

virtual void InvalidateUI ( )
pure virtual
Remarks
This method causes the user interface controls to be re-drawn.

Implemented in MSAutoMParamDlg.

◆ MtlChanged()

virtual void MtlChanged ( )
pure virtual
Remarks
This method may be called to causes the viewports to be redrawn. It should be called when any parameter that affects the look of the material in the viewport has been altered. If the material is not on a visible node in a shaded view, nothing will happen. This method should not be called as a spinner is being dragged, but only upon release of the mouse button.

Implemented in MSAutoMParamDlg.

◆ NumDlgs()

virtual int NumDlgs ( )
pure virtual
Remarks
Returns the number of secondary dialogs.

Implemented in MSAutoMParamDlg.

◆ AddDlg()

virtual void AddDlg ( ParamDlg dlg)
pure virtual
Remarks
Adds the specified dialog as another secondary dialog.
Parameters:
ParamDlg* dlg

Points to the parameter dialog to add.

Implemented in MSAutoMParamDlg.

◆ GetDlg()

virtual ParamDlg * GetDlg ( int  i)
pure virtual
Remarks
Returns a pointer to the 'i-th' secondary dialog.
Parameters:
int i

The zero-based index of the dialog to return.

Implemented in MSAutoMParamDlg.

◆ SetDlg()

virtual void SetDlg ( int  i,
ParamDlg dlg 
)
pure virtual
Remarks
Sets the 'i-th' dialog to the one passed.
Parameters:
int i

The zero-based index of the dialog to set.

ParamDlg* dlg

Points to the parameter dialog to set.

Implemented in MSAutoMParamDlg.

◆ DeleteDlg()

virtual void DeleteDlg ( ParamDlg dlg)
pure virtual
Remarks
This method is used for deleting secondary dialogs from a main IAutoMParamDlg. Use this along with AddDlg() if you are dynamically changing the set of rollups for the plugin, so that the P_AUTO_UI system can correctly manage all current secondary rollups.
Parameters:
ParamDlg* dlg

Points to the ParamDlg to delete.

Implemented in MSAutoMParamDlg.

◆ GetMap()

virtual IParamMap2 * GetMap ( )
pure virtual
Remarks
Returns a pointer to the parameter map2 of this main dialog.

Implemented in MSAutoMParamDlg.