#include <lib_description.h>
The description class contains information for all description ID of an object.
For example it stores a BaseContainer for ID_BASEOBJECT_REL_POSITION that describes that this value is a Vector, has minimum and maximum values XYZ etc.
To access the actual values of these description parameters you will have to ask the object itself, for example with C4DAtom::GetParameter().
Example to get the name of a description, for example "Landscape Object":
Public Member Functions | |
Bool | LoadDescription (const BCResourceObj *bc, Bool copy) |
Bool | LoadDescription (Int32 id) |
Bool | LoadDescription (const String &id) |
Bool | SortGroups () |
const BCResourceObj * | GetDescription () |
const BaseContainer * | GetParameter (const DescID &id, BaseContainer &temp, AtomArray *ar) const |
BaseContainer * | GetParameterI (const DescID &id, AtomArray *ar) |
Bool | SetParameter (const DescID &id, const BaseContainer ¶m, const DescID &groupid) |
void * | BrowseInit () const |
Bool | GetNext (void *handle, const BaseContainer **bc, DescID &id, DescID &groupid) const |
void | BrowseFree (void *&handle) const |
DescEntry * | GetFirst (const AtomArray &op) |
DescEntry * | GetNext (DescEntry *de) |
DescEntry * | GetDown (DescEntry *de) |
void | GetDescEntry (DescEntry *de, const BaseContainer **bc, DescID &descid) |
SubDialog * | CreateDialogI () |
void | FreeDialog (SubDialog *dlg) |
Bool | CreatePopupMenu (BaseContainer &menu) |
Bool | GetPopupId (Int32 id, const DescID &descid) |
Bool | CheckDescID (const DescID &searchid, const AtomArray &ops, DescID *completeid) |
Bool | GetSubDescriptionWithData (const DescID &did, const AtomArray &op, RESOURCEDATATYPEPLUGIN *resdatatypeplugin, const BaseContainer &bc, DescID *singledescid) |
const DescID * | GetSingleDescID () |
void | SetSingleDescriptionMode (const DescID &descid) |
Private Member Functions | |
Description () | |
~Description () | |
Alloc/Free | |
static Description * | Alloc () |
static void | Free (Description *&description) |