3ds Max C++ API Reference
Loading...
Searching...
No Matches
BevelProfileInterface.h File Reference
#include "ref.h"

Classes

class  BevelProfileEditorInformation
 This class provides information on the Bevel Profile Editor to plugins which want to use the standard editor (initially implemented by TextPlus). More...
 
class  BevelProfileUtilityInterface
 This object is a system interface which allows plugins to work with Bevel Profiles. More...
 
class  BevelProfileCurveUser
 A plugin which wants to use the Bevel Profile Curves should derive from this class and implement the following methods. More...
 
class  BevelProfileCurveInterface
 This is the interface to the actual bevel profile curve. More...
 

Macros

#define TEXT_BEVEL_PROFILE_CURVE_CLASS_ID   Class_ID(0x3f5337aa, 0x2e8e7699)
 
#define BEVEL_PROFILE_UTILITY_INTERFACE_CLASS_ID   Class_ID(0x7f520b41, 0x41493d26)
 
#define WM_BEVELPROFILE_TEXT_CHANGE   (WM_USER + 0x2000)
 
#define WM_BEVELPROFILE_REDRAW   (WM_USER + 0x2001)
 
#define WM_BEVELPROFILE_UPDATE_PRESET   (WM_USER + 0x2002)
 
#define WM_BEVELPROFILE_EDITOR_CLOSED   (WM_USER + 0x2003)
 

Functions

CoreExport BevelProfileUtilityInterfaceCreateBevelProfileUtilityInterface ()
 To get a BevelProfileUtilityInterface object (see above), call this core function.
 
CoreExport BevelProfileCurveInterfaceCreateStandardBevelProfileCurve (BevelProfileCurveUser *user)
 To use 3ds Max's standard bevel profile curves, make your plugin class a subclass of BevelProfileCurveUser, then call this function, providing a pointer to your object as the 'user' parameter.
 

Macro Definition Documentation

◆ TEXT_BEVEL_PROFILE_CURVE_CLASS_ID

#define TEXT_BEVEL_PROFILE_CURVE_CLASS_ID   Class_ID(0x3f5337aa, 0x2e8e7699)

◆ BEVEL_PROFILE_UTILITY_INTERFACE_CLASS_ID

#define BEVEL_PROFILE_UTILITY_INTERFACE_CLASS_ID   Class_ID(0x7f520b41, 0x41493d26)

◆ WM_BEVELPROFILE_TEXT_CHANGE

#define WM_BEVELPROFILE_TEXT_CHANGE   (WM_USER + 0x2000)

◆ WM_BEVELPROFILE_REDRAW

#define WM_BEVELPROFILE_REDRAW   (WM_USER + 0x2001)

◆ WM_BEVELPROFILE_UPDATE_PRESET

#define WM_BEVELPROFILE_UPDATE_PRESET   (WM_USER + 0x2002)

◆ WM_BEVELPROFILE_EDITOR_CLOSED

#define WM_BEVELPROFILE_EDITOR_CLOSED   (WM_USER + 0x2003)

Function Documentation

◆ CreateBevelProfileUtilityInterface()

CoreExport BevelProfileUtilityInterface * CreateBevelProfileUtilityInterface ( )

To get a BevelProfileUtilityInterface object (see above), call this core function.

It will return a pointer to the interface, which you can then use to perform functions related to bevel profile curve editing.

An example of the use of the bevel profile curves may be found in the Bevel Profile modifier.

Returns
A BevelProfileCurveInterface object containing the bevel profile curve

◆ CreateStandardBevelProfileCurve()

CoreExport BevelProfileCurveInterface * CreateStandardBevelProfileCurve ( BevelProfileCurveUser user)

To use 3ds Max's standard bevel profile curves, make your plugin class a subclass of BevelProfileCurveUser, then call this function, providing a pointer to your object as the 'user' parameter.

The system will create and return a pointer to a standard bevel profile curve, which you should then make a reference to, as these curves can be animated.

An example of the use of the bevel profile curves may be found in the Bevel Profile modifier.

Parameters
user- Pointer to your BevelProfileUser object (your plugin)
Returns
A BevelProfileCurveInterface object containing the bevel profile curve