This reference page is linked to from the following overview topics: Tabbed Dialogs.
This is the interface given to a renderer, or atmospheric effect when it needs to display its parameters.
For a renderer, the Render Scene dialog may be extended using this class. All methods of this class are implemented by the system.
#include <render.h>
Public Member Functions |
|
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, MCHAR *dlgTemplate, DLGPROC dlgProc, 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, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD)=0 |
virtual void | DeleteRollupPage (HWND hRollup)=0 |
Removes a rollup page and destroys it.
|
|
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 cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0) |
virtual IRollupWindow * | GetIRollup ()=0 |
virtual HWND | AddTabRollupPage (const Class_ID &id, HINSTANCE hInst, MCHAR *dlgTemplate, DLGPROC dlgProc, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD) |
virtual HWND | AddTabRollupPage (const Class_ID &id, HINSTANCE hInst, DLGTEMPLATE *dlgTemplate, DLGPROC dlgProc, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD) |
virtual void | DeleteTabRollupPage (const Class_ID &id, HWND hRollup) |
virtual void | RollupTabMouseMessage (const Class_ID &id, HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
virtual IRollupWindow * | GetTabIRollup (const Class_ID &id) |
virtual ITabbedDialog * | GetTabDialog () |
virtual ITabPage * | GetTabPage (const Class_ID &id) |
virtual TimeValue GetTime | ( | ) | [pure virtual] |
Returns the current position of the frame slider.
virtual void RegisterTimeChangeCallback | ( | TimeChangeCallback * | tc | ) | [pure virtual] |
Register a callback object that will get called every time the current animation time is changed.
virtual void UnRegisterTimeChangeCallback | ( | TimeChangeCallback * | tc | ) | [pure virtual] |
Un-registers a callback object registered using RegisterTimeChangeCallback().
virtual MtlBase* DoMaterialBrowseDlg | ( | HWND | hParent, |
DWORD | flags, | ||
BOOL & | newMat, | ||
BOOL & | cancel | ||
) | [pure virtual] |
Brings up the material browse dialog allowing the user to select a material.
virtual HWND AddRollupPage | ( | HINSTANCE | hInst, |
MCHAR * | dlgTemplate, | ||
DLGPROC | dlgProc, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [pure virtual] |
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, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [pure virtual] |
virtual void DeleteRollupPage | ( | HWND | hRollup | ) | [pure virtual] |
Removes a rollup page and destroys it.
virtual void RollupMouseMessage | ( | HWND | hDlg, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [pure virtual] |
This allows hand cursor scrolling when the user clicks the mouse in an unused area of the dialog.
When the user mouses down in dead area of the dialog, the
plug-in should pass mouse messages to this function which will pass
them on to the rollup.
Note: In 3ds Max 2.0 and later only use of this method is no longer
required -- the functionality happens automatically.
virtual void SetPickMode | ( | RendPickProc * | proc | ) | [pure virtual] |
This will set the command mode to a standard pick mode.
The callback implements hit testing and a method that is called when the user actually picks an item.
virtual void EndPickMode | ( | ) | [pure virtual] |
If a plug-in is finished editing its parameters it should not leave the user in a pick mode.
This method will flush out any pick modes in the command stack.
virtual void PutMtlToMtlEditor | ( | MtlBase * | mb | ) | [pure virtual] |
virtual float GetMaxPixelSize | ( | ) | [pure virtual] |
This method is used internally.
virtual INT_PTR Execute | ( | int | cmd, |
ULONG_PTR | arg1 = 0 , |
||
ULONG_PTR | arg2 = 0 , |
||
ULONG_PTR | arg3 = 0 |
||
) | [inline, virtual] |
{ return 0; }
virtual IRollupWindow* GetIRollup | ( | ) | [pure virtual] |
virtual HWND AddTabRollupPage | ( | const Class_ID & | id, |
HINSTANCE | hInst, | ||
MCHAR * | dlgTemplate, | ||
DLGPROC | dlgProc, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [inline, virtual] |
{ return AddRollupPage(hInst, dlgTemplate, dlgProc, title, param, flags, category); }
virtual HWND AddTabRollupPage | ( | const Class_ID & | id, |
HINSTANCE | hInst, | ||
DLGTEMPLATE * | dlgTemplate, | ||
DLGPROC | dlgProc, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [inline, virtual] |
{ return AddRollupPage(hInst, dlgTemplate, dlgProc, title, param, flags, category); }
virtual void DeleteTabRollupPage | ( | const Class_ID & | id, |
HWND | hRollup | ||
) | [inline, virtual] |
{ DeleteRollupPage(hRollup); }
virtual void RollupTabMouseMessage | ( | const Class_ID & | id, |
HWND | hDlg, | ||
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [inline, virtual] |
{ RollupMouseMessage(hDlg, message, wParam, lParam); }
virtual IRollupWindow* GetTabIRollup | ( | const Class_ID & | id | ) | [inline, virtual] |
{ return GetIRollup(); }
virtual ITabbedDialog* GetTabDialog | ( | ) | [inline, virtual] |
{
return NULL;
}
{
return NULL;
}