Method Groups for Class ClassDesc

The methods in this class are grouped below.

(Links go to the ClassDesc Class Reference page.)

IsPublic
ClassDesc::IsPublic()=0
Creation Related Methods
ClassDesc::Create(BOOL loading=FALSE)=0
ClassDesc::BeginCreate(Interface *i)
ClassDesc::EndCreate(Interface *i)
ClassDesc::OkToCreate(Interface *i)
ClassName, ClassID, SuperClass ID, Category Methods
ClassDesc::ClassName()=0
ClassDesc::SuperClassID()=0
ClassDesc::ClassID()=0
ClassDesc::SubClassID()
ClassDesc::Category()=0
Class Parameter Related Methods
The following three methods deal with default settings for plug-in classes. Most plug-in do not need to be concerned with these methods.
In the 3ds Max user interface, from the Files / Preferences... menu on the Animation page there is an option for Controller Defaults. There are buttons for 'Set Defaults...' and 'Restore to Factory Settings...'. When the user presses the 'Set Defaults...' button the user is presented with a list of plug-ins that have responded TRUE to the HasClassParams() method. These plug-ins have default parameters that the user can edit. These are the defaults used when a new instance of the plug-in class is created. When the user picks an item from the list, its EditClassParams() method is called to allow the plug-in to put up a modal dialog to let the user edit the default parameters. If the user presses the 'Reset to Factory Defaults...' button, the ResetClassParams() method is called. The plug-in can then be reset to use any default settings that it has.
ClassDesc::HasClassParams()
ClassDesc::EditClassParams(HWND hParent)
ClassDesc::ResetClassParams(BOOL fileReset=FALSE)
Action Table Related Methods
These two functions return keyboard action tables that plug-ins can use.
ClassDesc::NumActionTables()
ClassDesc::GetActionTable(int i)
Manipulator Related Methods
The following methods support manipulators. These methods are called on the class descriptors of manipulators when manipulate mode is entered, or when selection changes while in manipulate mode.
ClassDesc::IsManipulator()
ClassDesc::CanManipulate(ReferenceTarget* hTarget)
ClassDesc::CanManipulateNode(INode* pNode)
ClassDesc::CreateManipulator(ReferenceTarget* hTarget, INode* pNode)
Load / Save Related Methods
The following three methods may be used to save data associated with a class in a 3ds Max file. If you want to save data associated with the class have NeedsToSave() return TRUE and implement the Save() and Load() methods.
ClassDesc::NeedsToSave()
ClassDesc::Save(ISave *is)
ClassDesc::Load(ILoad *il)
Parameter Map 2 Related Methods
ClassDesc::InitialRollupPageState()
ClassDesc::InternalName()
ClassDesc::HInstance()
ClassDesc::NumParamBlockDescs()
ClassDesc::GetParamBlockDesc(int i)
ClassDesc::GetParamBlockDescByID(BlockID id)
ClassDesc::AddParamBlockDesc(ParamBlockDesc2* pbd)
ClassDesc::BeginEditParams(IObjParam *ip, ReferenceMaker* obj, ULONG flags, Animatable *prev)
ClassDesc::EndEditParams(IObjParam *ip, ReferenceMaker* obj, ULONG flags, Animatable *prev)
ClassDesc::InvalidateUI(ParamBlockDesc2* pbd)
ClassDesc::MakeAutoParamBlocks(ReferenceMaker* owner)
ClassDesc::NumParamMaps()
ClassDesc::GetParamMap(int i)
ClassDesc::GetParamMap(ParamBlockDesc2* pbd)
ClassDesc::SetUserDlgProc(ParamBlockDesc2* pbd, ParamMap2UserDlgProc* proc=NULL)
ClassDesc::GetUserDlgProc(ParamBlockDesc2* pbd)
Function Publishing Related Methods
ClassDesc::NumInterfaces()
ClassDesc::GetInterfaceAt(int i)
ClassDesc::GetInterface(Interface_ID id)
ClassDesc::GetInterface(TCHAR* name)
ClassDesc::AddInterface(FPInterface* fpi)
ClassDesc::ClearInterfaces()
Schematic View Related Methods
ClassDesc::DrawRepresentation(COLORREF bkColor, HDC hDC, Rect &rect)
Generic Expansion Function
ClassDesc::Execute(int cmd, ULONG arg1=0, ULONG arg2=0, ULONG arg3=0)