3ds Max C++ API Reference
|
A plugin which wants to use the Bevel Profile Curves should derive from this class and implement the following methods. More...
#include <BevelProfileInterface.h>
Public Member Functions | |
virtual void | ChangedBevelProfile ()=0 |
Lets the curve user know that the bevel profile has changed in some way. | |
virtual void | InhibitMesh (bool sw)=0 |
Tells the plugin to update or not update its mesh on changes to the profile. | |
virtual void | RedrawBevelProfile ()=0 |
When this is called, if the plugin is using the Bevel Profile Editor, it should call bevelProfileEditorInfo->Notify(WM_BEVELPROFILE_REDRAW, 0, 0) to force a redraw. | |
virtual bool | GetAutoBevelUpdate ()=0 |
When this is called, the plugin should return its auto bevel update switch state. | |
virtual void | SetAutoBevelUpdate (bool sw)=0 |
When this is called, the plugin should store the switch state for use when GetAutoBevelUpdate is called. | |
virtual HWND | GetBevelProfileEditorHWND ()=0 |
Get the bevel profile editor window handle. | |
virtual void | SetBevelProfileCurveInterface (BevelProfileCurveInterface *curve)=0 |
The system will call this method to set the plugin's bevel profile curve. | |
virtual BevelProfileCurveInterface * | GetBevelProfileCurveInterface ()=0 |
When this is called, the plugin should return its bevel profile curve interface. | |
virtual void | BevelPresetSelectionChanged ()=0 |
This is called when the bevel peset selection has changed. | |
virtual BevelProfileEditorInformation * | GetBevelProfileEditorInformation ()=0 |
When called, the plugin should return its BevelProfileEditorInformation pointer. | |
virtual HWND | BevelProfileEditorOwningWindow ()=0 |
When called, the plugin should return the handle of the window that owns the Bevel Profile Editor. | |
A plugin which wants to use the Bevel Profile Curves should derive from this class and implement the following methods.
|
pure virtual |
Lets the curve user know that the bevel profile has changed in some way.
This can be via the user selecting a different profile or other editing methods if the Bevel Profile Editor is in use. The plugin should update its model if it has not been inhibited via the InhibitMesh call (see below)
|
pure virtual |
Tells the plugin to update or not update its mesh on changes to the profile.
The plugin should maintain an internal switch to keep track of this setting.
sw | - If true, the plugin should ignore changes to the bevel profile curve untin this method is called again with 'sw' set to false. |
|
pure virtual |
When this is called, if the plugin is using the Bevel Profile Editor, it should call bevelProfileEditorInfo->Notify(WM_BEVELPROFILE_REDRAW, 0, 0) to force a redraw.
|
pure virtual |
When this is called, the plugin should return its auto bevel update switch state.
This lets the editor call beck to tell the plugin to update itrs mesh when changes to the curve are made.
|
pure virtual |
When this is called, the plugin should store the switch state for use when GetAutoBevelUpdate is called.
sw | - The automatic update flag. |
|
pure virtual |
Get the bevel profile editor window handle.
|
pure virtual |
The system will call this method to set the plugin's bevel profile curve.
curve | - The bevel profile curve to set. This should be stored as a reference in your plugin |
|
pure virtual |
When this is called, the plugin should return its bevel profile curve interface.
|
pure virtual |
This is called when the bevel peset selection has changed.
When this call is received, the plugin should update its current bevel preset selection in the UI by calling BevelProfileInterface::LoadBevelProfilePresetList(presetList, true);
|
pure virtual |
When called, the plugin should return its BevelProfileEditorInformation pointer.
|
pure virtual |
When called, the plugin should return the handle of the window that owns the Bevel Profile Editor.