3ds Max C++ API Reference
|
Extension class that adds functionality to class IRendParams2 for 3ds Max 2017 Service Pack 2. More...
#include <IRendParams.h>
Public Member Functions | |
virtual void | AddTabRollupPage (QWidget &qtWidget, const Class_ID &tabID, const MCHAR *title, DWORD rollupFlags=0, int category=ROLLUP_CAT_STANDARD)=0 |
Adds a rollup page that hosts a Qt dialog, to a specific tab. | |
virtual void | DeleteTabRollupPage (QWidget &qtWidget, const Class_ID &tabID)=0 |
Removes a rollup page that hosts a Qt dialog, from a specific tab. | |
Public Member Functions inherited from IRendParams | |
virtual TimeValue | GetTime ()=0 |
Returns the current position of the frame slider. | |
virtual void | RegisterTimeChangeCallback (TimeChangeCallback *tc)=0 |
Register a callback object that will get called every time the current animation time is changed. | |
virtual void | UnRegisterTimeChangeCallback (TimeChangeCallback *tc)=0 |
Un-registers a callback object registered using RegisterTimeChangeCallback(). | |
virtual MtlBase * | DoMaterialBrowseDlg (HWND hParent, DWORD flags, BOOL &newMat, BOOL &cancel)=0 |
Brings up the material browse dialog allowing the user to select a material. | |
virtual HWND | AddRollupPage (HINSTANCE hInst, const MCHAR *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD)=0 |
This method adds rollup pages to the dialog and returns the window handle of the page. | |
virtual HWND | AddRollupPage (HINSTANCE hInst, DLGTEMPLATE *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD)=0 |
virtual void | AddRollupPage (QWidget &qtWidget, const MCHAR *title, DWORD rollupFlags=0, int category=ROLLUP_CAT_STANDARD)=0 |
Adds a rollup page that hosts a Qt dialog. | |
virtual void | DeleteRollupPage (HWND hRollup)=0 |
Removes a rollup page and destroys it. | |
virtual void | DeleteRollupPage (QWidget &qtWidget)=0 |
Removes a rollup page that hosts a Qt dialog. | |
virtual void | RollupMouseMessage (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)=0 |
This allows hand cursor scrolling when the user clicks the mouse in an unused area of the dialog. | |
virtual void | SetPickMode (RendPickProc *proc)=0 |
This will set the command mode to a standard pick mode. | |
virtual void | EndPickMode ()=0 |
If a plug-in is finished editing its parameters it should not leave the user in a pick mode. | |
virtual void | PutMtlToMtlEditor (MtlBase *mb)=0 |
When a plugin has a Texmap, clicking on the button associated with that map should cause this routine to be called. | |
virtual float | GetMaxPixelSize ()=0 |
This method is used internally. | |
virtual INT_PTR | Execute (int, ULONG_PTR=0, ULONG_PTR=0, ULONG_PTR=0) |
virtual IRollupWindow * | GetIRollup ()=0 |
virtual HWND | AddTabRollupPage (const Class_ID &, HINSTANCE hInst, const MCHAR *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD) |
virtual HWND | AddTabRollupPage (const Class_ID &, HINSTANCE hInst, DLGTEMPLATE *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD) |
virtual void | DeleteTabRollupPage (const Class_ID &, HWND hRollup) |
virtual void | RollupTabMouseMessage (const Class_ID &, HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
virtual IRollupWindow * | GetTabIRollup (const Class_ID &) |
virtual ITabbedDialog * | GetTabDialog () |
virtual ITabPage * | GetTabPage (const Class_ID &) |
Public Member Functions inherited from InterfaceServer | |
virtual UtilExport | ~InterfaceServer () |
Destructor. | |
virtual UtilExport BaseInterface * | GetInterface (Interface_ID id) |
template<class InterfaceType > | |
InterfaceType * | GetTypedInterface () |
Additional Inherited Members | |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator new[] (size_t size) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. | |
static UtilExport void * | aligned_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. | |
Extension class that adds functionality to class IRendParams2 for 3ds Max 2017 Service Pack 2.
A pointer to this extension interface may be retrieved through a dynamic_cast from a IRendParams.
Note: this class will eventually disappear, having its functionality folded into IRendParams.
|
pure virtual |
Adds a rollup page that hosts a Qt dialog, to a specific tab.
qtWidget | the Qt widget that will be hosted in the rollup. This QWidget becomes the ownership of the system; it will be deleted by the system once no longer needed. |
tabID | Identifier for the tab in which the rollup is to be added. This is the ID used to create new tabs in implementations of ITabDialogObject::AddTabToDialog(). |
title | The title string, displayed at the top of the rollup.l |
rollupFlags | Optional rollup flags, such as APPENDROLL_CLOSED, DONTAUTOCLOSE, ROLLUP_SAVECAT, etc. |
category | The category controls the ordering of the rollups, with lower values being inserted before rollups of higher category. |
Removes a rollup page that hosts a Qt dialog, from a specific tab.
qtWidget | the Qt widget to be removed. |
tabID | Identifier for the tab from which the rollup is to be removed; the same value passed to AddTabRollupPage(). |