3ds Max C++ API Reference
|
Represents an operation contained in an ActionTable. More...
#include <actiontable_REMOTE_92.h>
Public Member Functions | |
CoreExport | ActionItem () |
Constructor. | |
virtual CoreExport | ~ActionItem () |
Destructor. | |
virtual int | GetId ()=0 |
Retrieves a unique identifier for the action. | |
virtual BOOL | ExecuteAction ()=0 |
Executes the operation associated with the action item. | |
virtual CoreExport void | EmitMacro () |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action. | |
CoreExport BOOL | Execute () |
Calls ExecuteAction() and handles macro recording etc. | |
virtual void | GetButtonText (MSTR &buttonText)=0 |
Retrieves the text that will be used when the ActionItem is on a text button. | |
virtual void | GetMenuText (MSTR &menuText)=0 |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar). | |
virtual void | GetDescriptionText (MSTR &descText)=0 |
Retrieves the text that will be used for tool tips and menu help. | |
virtual void | GetCategoryText (MSTR &catText)=0 |
Retrieves the text for the category of the operation. | |
CoreExport void | GetPersistentActionId (MSTR &persistentActionId) |
Retrieves the persistent action id text. | |
CoreExport MSTR | GetPersistentActionId () |
Retrieves the persistent action id text. | |
virtual BOOL | IsChecked ()=0 |
Returns whether a menu item is in a checked state, or if a button is in a pressed state. | |
virtual BOOL | IsIndeterminate () |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked. | |
virtual BOOL | IsItemVisible ()=0 |
Determines if an item is visible on a context menu. | |
virtual BOOL | IsEnabled ()=0 |
Determines if the operation is available to the user. | |
CoreExport MaxIcon * | GetIcon () |
Returns an icon associated with an ActionItem. | |
virtual void | DeleteThis ()=0 |
Called by 3ds Max to delete the ActionItem. | |
virtual CoreExport ActionTable * | GetTable () |
Returns a pointer to the table that owns the ActionItem. | |
virtual CoreExport void | SetTable (ActionTable *pTable) |
Sets the table that owns the item. | |
CoreExport const MCHAR * | GetShortcutString () |
Returns the string that describes all the keyboard shortcuts associated with the item. | |
virtual CoreExport MacroEntry * | GetMacroScript () |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise. | |
virtual CoreExport BOOL | IsDynamicMenu () |
Determines if a menu is created or if an action takes place. | |
virtual CoreExport void | SetIsDynamicMenu () |
This method may be called after an action item is created to tell the system that it is a dynamic menu action. | |
virtual CoreExport IMenu * | GetDynamicMenu (HWND hwnd, IPoint2 &m) |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu. | |
virtual CoreExport BOOL | IsDynamicAction () |
ActionItems that are deleted after they execute should return TRUE. | |
CoreExport BOOL | HasIcon () |
Returns TRUE if the ActionItem specifies an icon. | |
CoreExport bool | GetIconFileName (MSTR &fileName) |
If the ActionItem specifies an icon, accesses the icon filename. | |
CoreExport int | GetIconIndex () |
If the ActionItem specifies an icon, returns the icon index. | |
CoreExport MSTR | GetTooltipKey () |
Get the Action's tooltip key. | |
CoreExport void | SetTooltipKey (const MCHAR *tooltipKey) |
Set the Action's tooltip key. | |
CoreExport MaxSDK::Util::Path | GetIconPath (IconSize size) |
Get the Action's path to the icon of size specified by param. | |
CoreExport void | SetIconPath (IconSize size, const MaxSDK::Util::Path &path) |
Sets the Action's path to the icon of size specified by the input param. | |
CoreExport MSTR | GetMetadata () |
Gets the Action's metadata. | |
CoreExport void | SetMetadata (const MCHAR *metadata) |
Sets the Action's metadata. | |
virtual CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
CoreExport | ActionItem () |
Constructor. | |
virtual CoreExport | ~ActionItem () |
Destructor. | |
virtual int | GetId ()=0 |
Retrieves a unique identifier for the action. | |
which is a | WORD (16 bit unsigned short). */virtual int GetId()=0 |
virtual a406e112cf287e51abdbba7f88b8e4b91e0a64e7 BOOL | ExecuteAction ()=0 |
Executes the operation associated with the action item. | |
virtual CoreExport void | EmitMacro () |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action. | |
CoreExport BOOL | Execute () |
Calls ExecuteAction() and handles macro recording etc. | |
virtual bool | SupportsAltExecute () const |
Returns true if the action supports AltExecute. | |
virtual bool | AltExecute () |
Returns true if AltExecute ran successfully. | |
virtual bool | SupportsCloseDialogs () const |
Returns true if the action supports CloseDialogs. | |
virtual bool | CloseDialogs () |
Returns true if CloseDialogs ran successfully. | |
virtual void | GetButtonText (MSTR &buttonText)=0 |
Retrieves the text that will be used when the ActionItem is on a text button. | |
virtual void | GetMenuText (MSTR &menuText)=0 |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar). | |
virtual void | GetDescriptionText (MSTR &descText)=0 |
Retrieves the text that will be used for tool tips and menu help. | |
virtual void | GetCategoryText (MSTR &catText)=0 |
Retrieves the text for the category of the operation. | |
CoreExport void | GetPersistentActionId (MSTR &persistentActionId) |
Retrieves the persistent action id text. | |
CoreExport MSTR | GetPersistentActionId () |
Retrieves the persistent action id text. | |
virtual BOOL | IsChecked ()=0 |
Returns whether a menu item is in a checked state, or if a button is in a pressed state. | |
virtual BOOL | IsIndeterminate () |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked. | |
virtual BOOL | IsItemVisible ()=0 |
Determines if an item is visible on a context menu. | |
virtual BOOL | IsEnabled ()=0 |
Determines if the operation is available to the user. | |
CoreExport MaxIcon * | GetIcon () |
Returns an icon associated with an ActionItem. | |
virtual void | DeleteThis ()=0 |
Called by 3ds Max to delete the ActionItem. | |
virtual CoreExport ActionTable * | GetTable () |
Returns a pointer to the table that owns the ActionItem. | |
virtual CoreExport void | SetTable (ActionTable *pTable) |
Sets the table that owns the item. | |
CoreExport const MCHAR * | GetShortcutString () |
Returns the string that describes all the keyboard shortcuts associated with the item. | |
virtual CoreExport MacroEntry * | GetMacroScript () |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise. | |
virtual CoreExport BOOL | IsDynamicMenu () |
Determines if a menu is created or if an action takes place. | |
virtual CoreExport void | SetIsDynamicMenu () |
This method may be called after an action item is created to tell the system that it is a dynamic menu action. | |
__declspec (deprecated) virtual IMenu *GetDynamicMenu(HWND | |
virtual CoreExport void | PopulateDynamicMenu (MaxSDK::CUI::ICuiDynamicMenu *dynMenu, HWND hWnd, const IPoint2 &cursorPos) |
If the ActionItem does produce a dynamic menu (i.e. | |
virtual CoreExport void | DynamicMenuItemSelected (int itemId) |
If the ActionItem does produce a menu (i.e. | |
virtual CoreExport BOOL | IsDynamicAction () |
ActionItems that are deleted after they execute should return TRUE. | |
CoreExport BOOL | HasIcon () |
Returns TRUE if the ActionItem specifies an icon. | |
CoreExport bool | GetIconFileName (MSTR &fileName) |
If the ActionItem specifies an icon, accesses the icon filename. | |
CoreExport int | GetIconIndex () |
If the ActionItem specifies an icon, returns the icon index. | |
CoreExport MSTR | GetTooltipKey () |
Get the Action's tooltip key. | |
CoreExport void | SetTooltipKey (const MCHAR *tooltipKey) |
Set the Action's tooltip key. | |
CoreExport MaxSDK::Util::Path | GetIconPath (IconSize size) |
Get the Action's path to the icon of size specified by param. | |
CoreExport void | SetIconPath (IconSize size, const MaxSDK::Util::Path &path) |
Sets the Action's path to the icon of size specified by the input param. | |
CoreExport MSTR | GetMetadata () |
Gets the Action's metadata. | |
CoreExport void | SetMetadata (const MCHAR *metadata) |
Sets the Action's metadata. | |
virtual CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
CoreExport | ActionItem () |
Constructor. | |
virtual CoreExport | ~ActionItem () |
Destructor. | |
virtual int | GetId ()=0 |
Retrieves a unique identifier for the action. | |
virtual BOOL | ExecuteAction ()=0 |
Executes the operation associated with the action item. | |
virtual CoreExport void | EmitMacro () |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action. | |
CoreExport BOOL | Execute () |
Calls ExecuteAction() and handles macro recording etc. | |
virtual void | GetButtonText (MSTR &buttonText)=0 |
Retrieves the text that will be used when the ActionItem is on a text button. | |
virtual void | GetMenuText (MSTR &menuText)=0 |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar). | |
virtual void | GetDescriptionText (MSTR &descText)=0 |
Retrieves the text that will be used for tool tips and menu help. | |
virtual void | GetCategoryText (MSTR &catText)=0 |
Retrieves the text for the category of the operation. | |
CoreExport void | GetPersistentActionId (MSTR &persistentActionId) |
Retrieves the persistent action id text. | |
CoreExport MSTR | GetPersistentActionId () |
Retrieves the persistent action id text. | |
virtual BOOL | IsChecked ()=0 |
Returns whether a menu item is in a checked state, or if a button is in a pressed state. | |
virtual BOOL | IsIndeterminate () |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked. | |
virtual BOOL | IsItemVisible ()=0 |
Determines if an item is visible on a context menu. | |
virtual BOOL | IsEnabled ()=0 |
Determines if the operation is available to the user. | |
CoreExport MaxIcon * | GetIcon () |
Returns an icon associated with an ActionItem. | |
virtual void | DeleteThis ()=0 |
Called by 3ds Max to delete the ActionItem. | |
virtual CoreExport ActionTable * | GetTable () |
Returns a pointer to the table that owns the ActionItem. | |
virtual CoreExport void | SetTable (ActionTable *pTable) |
Sets the table that owns the item. | |
CoreExport const MCHAR * | GetShortcutString () |
Returns the string that describes all the keyboard shortcuts associated with the item. | |
virtual CoreExport MacroEntry * | GetMacroScript () |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise. | |
virtual CoreExport BOOL | IsDynamicMenu () |
Determines if a menu is created or if an action takes place. | |
virtual CoreExport void | SetIsDynamicMenu () |
This method may be called after an action item is created to tell the system that it is a dynamic menu action. | |
virtual CoreExport IMenu * | GetDynamicMenu (HWND hwnd, IPoint2 &m) |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu. | |
virtual CoreExport BOOL | IsDynamicAction () |
ActionItems that are deleted after they execute should return TRUE. | |
CoreExport BOOL | HasIcon () |
Returns TRUE if the ActionItem specifies an icon. | |
CoreExport bool | GetIconFileName (MSTR &fileName) |
If the ActionItem specifies an icon, accesses the icon filename. | |
CoreExport int | GetIconIndex () |
If the ActionItem specifies an icon, returns the icon index. | |
CoreExport MSTR | GetTooltipKey () |
Get the Action's tooltip key. | |
CoreExport void | SetTooltipKey (const MCHAR *tooltipKey) |
Set the Action's tooltip key. | |
CoreExport MaxSDK::Util::Path | GetIconPath (IconSize size) |
Get the Action's path to the icon of size specified by param. | |
CoreExport void | SetIconPath (IconSize size, const MaxSDK::Util::Path &path) |
Sets the Action's path to the icon of size specified by the input param. | |
CoreExport MSTR | GetMetadata () |
Gets the Action's metadata. | |
CoreExport void | SetMetadata (const MCHAR *metadata) |
Sets the Action's metadata. | |
virtual CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
CoreExport | ActionItem () |
Constructor. | |
virtual CoreExport | ~ActionItem () |
Destructor. | |
virtual int | GetId ()=0 |
Retrieves a unique identifier for the action. | |
virtual BOOL | ExecuteAction ()=0 |
Executes the operation associated with the action item. | |
virtual CoreExport void | EmitMacro () |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action. | |
CoreExport BOOL | Execute () |
Calls ExecuteAction() and handles macro recording etc. | |
virtual bool | SupportsAltExecute () const |
Returns true if the action supports AltExecute. | |
virtual bool | AltExecute () |
Returns true if AltExecute ran successfully. | |
virtual bool | SupportsCloseDialogs () const |
Returns true if the action supports CloseDialogs. | |
virtual bool | CloseDialogs () |
Returns true if CloseDialogs ran successfully. | |
virtual void | GetButtonText (MSTR &buttonText)=0 |
Retrieves the text that will be used when the ActionItem is on a text button. | |
virtual void | GetMenuText (MSTR &menuText)=0 |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar). | |
virtual void | GetDescriptionText (MSTR &descText)=0 |
Retrieves the text that will be used for tool tips and menu help. | |
virtual void | GetCategoryText (MSTR &catText)=0 |
Retrieves the text for the category of the operation. | |
CoreExport void | GetPersistentActionId (MSTR &persistentActionId) |
Retrieves the persistent action id text. | |
CoreExport MSTR | GetPersistentActionId () |
Retrieves the persistent action id text. | |
virtual BOOL | IsChecked ()=0 |
Returns whether a menu item is in a checked state, or if a button is in a pressed state. | |
virtual BOOL | IsIndeterminate () |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked. | |
virtual BOOL | IsItemVisible ()=0 |
Determines if an item is visible on a context menu. | |
virtual BOOL | IsEnabled ()=0 |
Determines if the operation is available to the user. | |
CoreExport MaxIcon * | GetIcon () |
Returns an icon associated with an ActionItem. | |
virtual void | DeleteThis ()=0 |
Called by 3ds Max to delete the ActionItem. | |
virtual CoreExport ActionTable * | GetTable () |
Returns a pointer to the table that owns the ActionItem. | |
virtual CoreExport void | SetTable (ActionTable *pTable) |
Sets the table that owns the item. | |
CoreExport const MCHAR * | GetShortcutString () |
Returns the string that describes all the keyboard shortcuts associated with the item. | |
virtual CoreExport MacroEntry * | GetMacroScript () |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise. | |
virtual CoreExport BOOL | IsDynamicMenu () |
Determines if a menu is created or if an action takes place. | |
virtual CoreExport void | SetIsDynamicMenu () |
This method may be called after an action item is created to tell the system that it is a dynamic menu action. | |
__declspec (deprecated) virtual IMenu *GetDynamicMenu(HWND | |
virtual CoreExport void | PopulateDynamicMenu (MaxSDK::CUI::ICuiDynamicMenu *dynMenu, HWND hWnd, const IPoint2 &cursorPos) |
If the ActionItem does produce a dynamic menu (i.e. | |
virtual CoreExport void | DynamicMenuItemSelected (int itemId) |
If the ActionItem does produce a menu (i.e. | |
virtual CoreExport BOOL | IsDynamicAction () |
ActionItems that are deleted after they execute should return TRUE. | |
CoreExport BOOL | HasIcon () |
Returns TRUE if the ActionItem specifies an icon. | |
CoreExport bool | GetIconFileName (MSTR &fileName) |
If the ActionItem specifies an icon, accesses the icon filename. | |
CoreExport int | GetIconIndex () |
If the ActionItem specifies an icon, returns the icon index. | |
CoreExport MSTR | GetTooltipKey () |
Get the Action's tooltip key. | |
CoreExport void | SetTooltipKey (const MCHAR *tooltipKey) |
Set the Action's tooltip key. | |
CoreExport MaxSDK::Util::Path | GetIconPath (IconSize size) |
Get the Action's path to the icon of size specified by param. | |
CoreExport void | SetIconPath (IconSize size, const MaxSDK::Util::Path &path) |
Sets the Action's path to the icon of size specified by the input param. | |
CoreExport MSTR | GetMetadata () |
Gets the Action's metadata. | |
CoreExport void | SetMetadata (const MCHAR *metadata) |
Sets the Action's metadata. | |
virtual CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
CoreExport | ActionItem () |
Constructor. | |
virtual CoreExport | ~ActionItem () |
Destructor. | |
virtual int | GetId ()=0 |
Retrieves a unique identifier for the action. | |
virtual BOOL | ExecuteAction ()=0 |
Executes the operation associated with the action item. | |
virtual CoreExport void | EmitMacro () |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action. | |
CoreExport BOOL | Execute () |
Calls ExecuteAction() and handles macro recording etc. | |
virtual void | GetButtonText (MSTR &buttonText)=0 |
Retrieves the text that will be used when the ActionItem is on a text button. | |
virtual void | GetMenuText (MSTR &menuText)=0 |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar). | |
virtual void | GetDescriptionText (MSTR &descText)=0 |
Retrieves the text that will be used for tool tips and menu help. | |
virtual void | GetCategoryText (MSTR &catText)=0 |
Retrieves the text for the category of the operation. | |
CoreExport void | GetPersistentActionId (MSTR &persistentActionId) |
Retrieves the persistent action id text. | |
CoreExport MSTR | GetPersistentActionId () |
Retrieves the persistent action id text. | |
virtual BOOL | IsChecked ()=0 |
Returns whether a menu item is in a checked state, or if a button is in a pressed state. | |
virtual BOOL | IsIndeterminate () |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked. | |
virtual BOOL | IsItemVisible ()=0 |
Determines if an item is visible on a context menu. | |
virtual BOOL | IsEnabled ()=0 |
Determines if the operation is available to the user. | |
CoreExport MaxIcon * | GetIcon () |
Returns an icon associated with an ActionItem. | |
virtual void | DeleteThis ()=0 |
Called by 3ds Max to delete the ActionItem. | |
virtual CoreExport ActionTable * | GetTable () |
Returns a pointer to the table that owns the ActionItem. | |
virtual CoreExport void | SetTable (ActionTable *pTable) |
Sets the table that owns the item. | |
CoreExport const MCHAR * | GetShortcutString () |
Returns the string that describes all the keyboard shortcuts associated with the item. | |
virtual CoreExport MacroEntry * | GetMacroScript () |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise. | |
virtual CoreExport BOOL | IsDynamicMenu () |
Determines if a menu is created or if an action takes place. | |
virtual CoreExport void | SetIsDynamicMenu () |
This method may be called after an action item is created to tell the system that it is a dynamic menu action. | |
virtual CoreExport IMenu * | GetDynamicMenu (HWND hwnd, IPoint2 &m) |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu. | |
virtual CoreExport BOOL | IsDynamicAction () |
ActionItems that are deleted after they execute should return TRUE. | |
CoreExport BOOL | HasIcon () |
Returns TRUE if the ActionItem specifies an icon. | |
CoreExport bool | GetIconFileName (MSTR &fileName) |
If the ActionItem specifies an icon, accesses the icon filename. | |
CoreExport int | GetIconIndex () |
If the ActionItem specifies an icon, returns the icon index. | |
CoreExport MSTR | GetTooltipKey () |
Get the Action's tooltip key. | |
CoreExport void | SetTooltipKey (const MCHAR *tooltipKey) |
Set the Action's tooltip key. | |
CoreExport MaxSDK::Util::Path | GetIconPath (IconSize size) |
Get the Action's path to the icon of size specified by param. | |
CoreExport void | SetIconPath (IconSize size, const MaxSDK::Util::Path &path) |
Sets the Action's path to the icon of size specified by the input param. | |
CoreExport MSTR | GetMetadata () |
Gets the Action's metadata. | |
CoreExport void | SetMetadata (const MCHAR *metadata) |
Sets the Action's metadata. | |
virtual CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
Public Member Functions inherited from FPMixinInterface | |
FPMixinInterface () | |
virtual LifetimeType | LifetimeControl () |
virtual CoreExport bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
CoreExport | ~FPMixinInterface () |
virtual BaseInterface * | GetInterface (Interface_ID id) |
virtual FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual Interface_ID | GetID () |
Public Member Functions inherited from FPInterface | |
virtual BaseInterface * | GetInterface (Interface_ID id) |
virtual FPInterfaceDesc * | GetDesc ()=0 |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPParams *params) |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL) |
virtual CoreExport FunctionID | FindFn (const MCHAR *name) |
virtual CoreExport BOOL | IsEnabled (FunctionID actionID) |
virtual CoreExport BOOL | IsChecked (FunctionID actionID) |
virtual CoreExport BOOL | IsVisible (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsEnabled (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsChecked (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsVisible (FunctionID actionID) |
virtual ActionTable * | GetActionTable () |
virtual void | EnableActions (BOOL onOff) |
Public Member Functions inherited from BaseInterface | |
virtual UtilExport | ~BaseInterface () |
Destructor. | |
UtilExport BaseInterface * | GetInterface (Interface_ID id) override |
virtual UtilExport Interface_ID | GetID () |
virtual LifetimeType | LifetimeControl () |
virtual bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
virtual BaseInterface * | AcquireInterface () |
virtual void | ReleaseInterface () |
virtual void | DeleteInterface () |
virtual BaseInterface * | CloneInterface (void *remapDir=nullptr) |
Public Member Functions inherited from InterfaceServer | |
virtual UtilExport | ~InterfaceServer () |
Destructor. | |
virtual UtilExport BaseInterface * | GetInterface (Interface_ID id) |
template<class InterfaceType > | |
InterfaceType * | GetTypedInterface () |
Public Attributes | |
IPoint2 & | final { return nullptr |
Protected Attributes | |
ActionTable * | mpTable = nullptr |
Points to the table that owns the action. | |
Protected Attributes inherited from FPMixinInterface | |
Tab< InterfaceNotifyCallback * > * | interfaceNotifyCBs |
Additional Inherited Members | |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void | operator delete (void *ptr) |
Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
Placement new operator. | |
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
Placement delete operator. | |
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. | |
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
Reallocates memory on a specified alignment boundary. | |
static UtilExport void | aligned_free (void *ptr) |
Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. | |
Static Public Attributes inherited from FPInterface | |
static CoreExport FPInterfaceDesc | nullInterface |
Represents an operation contained in an ActionTable.
Represents an operation contained in an ActionTabls.
ActionItem is an abstract class with operations to support various UI operations. The system provides a default implementation of this class that works when the table is built with the ActionTable::BuildActionTable() method. However, developers may want to specialize this class for more special-purpose applications. For example, MAXScript does this to export macroScripts to an ActionTable. Methods that are marked as internal should not be used.
ActionItem is an abstract class with operations to support various UI operations. The system provides a default implementation of this class that works when the table is built with the ActionTable::BuildActionTable() method. However, developers may want to specialize this class for more special-purpose applications. For example, MAXScript does this to export macroScripts to an ActionTable. Methods that are marked as internal should not be used.
ActionItem is an abstract class with operations to support various UI operations. The system provides a default implementation of this class that works when the table is built with the ActionTable::BuildActionTable() method. However, developers may want to specialize this class for more special-purpose applications. For example, MAXScript does this to export macroScripts to an ActionTable. Methods that are marked as internal should not be used.
ActionItem is an abstract class with operations to support various UI operations. The system provides a default implementation of this class that works when the table is built with the ActionTable::BuildActionTable() method. However, developers may want to specialize this class for more special-purpose applications. For example, MAXScript does this to export macroScripts to an ActionTable. Methods that are marked as internal should not be used.
enum IconSize |
Icon size parameter.
enum ActionItemFps |
Function IDs for function published (Fps) methods and properties.
enum IconSize |
Icon size parameter.
enum ActionItemFps |
Function IDs for function published (Fps) methods and properties.
enum IconSize |
Icon size parameter.
enum ActionItemFps |
Function IDs for function published (Fps) methods and properties.
enum IconSize |
Icon size parameter.
enum ActionItemFps |
Function IDs for function published (Fps) methods and properties.
enum IconSize |
Icon size parameter.
enum ActionItemFps |
Function IDs for function published (Fps) methods and properties.
CoreExport ActionItem | ( | ) |
Constructor.
|
virtual |
Destructor.
CoreExport ActionItem | ( | ) |
Constructor.
|
virtual |
Destructor.
CoreExport ActionItem | ( | ) |
Constructor.
|
virtual |
Destructor.
CoreExport ActionItem | ( | ) |
Constructor.
|
virtual |
Destructor.
CoreExport ActionItem | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Retrieves a unique identifier for the action.
This action must be unique in the table, but not does not have to be unique between tables.
|
pure virtual |
Executes the operation associated with the action item.
This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE.
|
virtual |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action.
CoreExport BOOL Execute | ( | ) |
Calls ExecuteAction() and handles macro recording etc.
Called by 3ds Max.
Retrieves the text that will be used when the ActionItem is on a text button.
The text is stored into the buttonText parameter.
[out] | buttonText | - The retrieved text. |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar).
This can be different from the button text. This method is called just before the menu is displayed, so it can update the text at that time. For example, the "Undo" menu item in 3ds Max's main menu adds the name of the command that will be undone.
[out] | menuText | - The retrieved text. |
Retrieves the text that will be used for tool tips and menu help.
This is also the string that is displayed for the operation in all the lists in the customization dialogs.
[out] | descText | - The retrieved text. |
Retrieves the text for the category of the operation.
This is used in the customization dialog to fill the "category" drop-down list.
[out] | catText | - The retrieved text. |
CoreExport void GetPersistentActionId | ( | MSTR & | persistentActionId | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
[out] | persistentActionId | - The retrieved text. |
CoreExport MSTR GetPersistentActionId | ( | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
|
pure virtual |
Returns whether a menu item is in a checked state, or if a button is in a pressed state.
For menus, this means that this function will return TRUE if a check mark appears next to the item. If the item is on a button, this is used to determine of the button is in the "Pressed" state. Note that button states are automatically updated on selection change and command mode changes. If your plug-in performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE).
|
inlinevirtual |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked.
When implemented return TRUE if the condition of your action is both checked and unchecked. For instance an action that sets/displays the state of a multiple nodes frozen property when you have nodes that are both frozen and unfrozen this would return TRUE and instead of a check the action will display a dash. If this returns TRUE the isChecked state is ignored. NOTE actions with pushbutton icons will not display this state
|
pure virtual |
Determines if an item is visible on a context menu.
If it returns FALSE, then the item is not included in the menu. This can be used to create items that a context sensitive. For example, you may want an item to appear on a menu only when the selected object is of a particular type. To do this, you have this method check the class id of the current selection.
|
pure virtual |
Determines if the operation is available to the user.
If this method returns FALSE, and the ActionItem it is on a menu, or button, the item is grayed out. If it assigned to a keyboard shortcut, then it will not execute the operation if invoked. If your plugin performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE)
CoreExport MaxIcon * GetIcon | ( | ) |
Returns an icon associated with an ActionItem.
First checks the result of GetIconImp(), then looks at ActionTable::GetIcon(int). If both functions return NULL, then this action has no Icon associated with it.
|
pure virtual |
Called by 3ds Max to delete the ActionItem.
This normally happens when the table that owns it is deleted.
|
virtual |
Returns a pointer to the table that owns the ActionItem.
An item can only be owned by a single table.
|
virtual |
Sets the table that owns the item.
Used internally. May be used if you implement a custom sub-class of ActionItem.
pTable | - Points to the table to set. |
CoreExport const MCHAR * GetShortcutString | ( | ) |
Returns the string that describes all the keyboard shortcuts associated with the item.
This will look something like "Alt+A" or "C, Shift+Alt+Q".
|
virtual |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise.
|
virtual |
Determines if a menu is created or if an action takes place.
|
virtual |
This method may be called after an action item is created to tell the system that it is a dynamic menu action.
|
virtual |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu.
See class DynamicMenu for an easy way to produce these menus.
hwnd | - If the menu is requested by a right-click quad menu, then this hwnd is the handle of the window where the click occurred. If the item is used from a menu bar, this hwnd will be NULL. |
m | - If the menu is requested by a right-click quad menu, then this parameter is the point in the window where the user clicked. |
|
virtual |
ActionItems that are deleted after they execute should return TRUE.
CoreExport BOOL HasIcon | ( | ) |
Returns TRUE if the ActionItem specifies an icon.
CoreExport bool GetIconFileName | ( | MSTR & | fileName | ) |
If the ActionItem specifies an icon, accesses the icon filename.
fileName | - If the ActionItem specifies an icon, then the icon filename is returned through this parameter. |
CoreExport int GetIconIndex | ( | ) |
If the ActionItem specifies an icon, returns the icon index.
CoreExport MSTR GetTooltipKey | ( | ) |
Get the Action's tooltip key.
The tooltip key may be associated with a product tooltip. By default, the tooltip key is built as "actionTableID-actionID" for native actions and as "Category-MacroName" for macros.
CoreExport void SetTooltipKey | ( | const MCHAR * | tooltipKey | ) |
Set the Action's tooltip key.
The function does not verify if the key is unique or not.
CoreExport MaxSDK::Util::Path GetIconPath | ( | IconSize | size | ) |
Get the Action's path to the icon of size specified by param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to get |
CoreExport void SetIconPath | ( | IconSize | size, |
const MaxSDK::Util::Path & | path | ||
) |
Sets the Action's path to the icon of size specified by the input param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to set |
path | The path to the icon of the size specified by the input parameter. |
CoreExport MSTR GetMetadata | ( | ) |
Gets the Action's metadata.
Metadata format is a single string with a comma
separating each individual metadatum. Metadata is used in global search command to list similar command names in other software, etc
CoreExport void SetMetadata | ( | const MCHAR * | metadata | ) |
Sets the Action's metadata.
metadata | The metadata |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Returns an icon associated with an ActionItem.
To supply a custom icon for an action item, override this method and supply a custom implementation. Default implementation: returns NULL
|
pure virtual |
Retrieves a unique identifier for the action.
This action must be unique in the table, but not does not have to be unique <<<<<<< HEAD between tables.
|
pure virtual |
|
pure virtual |
Executes the operation associated with the action item.
This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE.
|
virtual |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action.
CoreExport BOOL Execute | ( | ) |
Calls ExecuteAction() and handles macro recording etc.
Called by 3ds Max.
|
inlinevirtual |
Returns true if the action supports AltExecute.
If an action supports AltExecute, then a mouse icon (with a dark click button) appears in the quad menu item that corresponds to the action. When the icon is clicked, the AltExecute method is called.
|
inlinevirtual |
Returns true if AltExecute ran successfully.
If an action supports AltExecute, then a mouse icon (with a dark click button) appears in the quad menu item that corresponds to the action. When the icon is clicked, the AltExecute method is called.
|
inlinevirtual |
Returns true if the action supports CloseDialogs.
This is called by the internal implementation of IActionItemToggleManager::FlipToggleState to close a dialog if when executing the action the action was registered via IActionItemToggleManager::RegisterToggleAction. If true, the CloseDialogs method is called when toggling the action state off.
|
inlinevirtual |
Returns true if CloseDialogs ran successfully.
Retrieves the text that will be used when the ActionItem is on a text button.
The text is stored into the buttonText parameter.
[out] | buttonText | - The retrieved text. |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar).
This can be different from the button text. This method is called just before the menu is displayed, so it can update the text at that time. For example, the "Undo" menu item in 3ds Max's main menu adds the name of the command that will be undone.
[out] | menuText | - The retrieved text. |
Retrieves the text that will be used for tool tips and menu help.
This is also the string that is displayed for the operation in all the lists in the customization dialogs.
[out] | descText | - The retrieved text. |
Retrieves the text for the category of the operation.
This is used in the customization dialog to fill the "category" drop-down list.
[out] | catText | - The retrieved text. |
CoreExport void GetPersistentActionId | ( | MSTR & | persistentActionId | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
[out] | persistentActionId | - The retrieved text. |
CoreExport MSTR GetPersistentActionId | ( | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
|
pure virtual |
Returns whether a menu item is in a checked state, or if a button is in a pressed state.
For menus, this means that this function will return TRUE if a check mark appears next to the item. If the item is on a button, this is used to determine of the button is in the "Pressed" state. Note that button states are automatically updated on selection change and command mode changes. If your plug-in performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE).
|
inlinevirtual |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked.
When implemented return TRUE if the condition of your action is both checked and unchecked. For instance an action that sets/displays the state of a multiple nodes frozen property when you have nodes that are both frozen and unfrozen this would return TRUE and instead of a check the action will display a dash. If this returns TRUE the isChecked state is ignored. NOTE actions with pushbutton icons will not display this state
|
pure virtual |
Determines if an item is visible on a context menu.
If it returns FALSE, then the item is not included in the menu. This can be used to create items that a context sensitive. For example, you may want an item to appear on a menu only when the selected object is of a particular type. To do this, you have this method check the class id of the current selection.
|
pure virtual |
Determines if the operation is available to the user.
If this method returns FALSE, and the ActionItem it is on a menu, or button, the item is grayed out. If it assigned to a keyboard shortcut, then it will not execute the operation if invoked. If your plugin performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE)
CoreExport MaxIcon * GetIcon | ( | ) |
Returns an icon associated with an ActionItem.
First checks the result of GetIconImp(), then looks at ActionTable::GetIcon(int). If both functions return NULL, then this action has no Icon associated with it.
|
pure virtual |
Called by 3ds Max to delete the ActionItem.
This normally happens when the table that owns it is deleted.
|
virtual |
Returns a pointer to the table that owns the ActionItem.
An item can only be owned by a single table.
|
virtual |
Sets the table that owns the item.
Used internally. May be used if you implement a custom sub-class of ActionItem.
pTable | - Points to the table to set. |
CoreExport const MCHAR * GetShortcutString | ( | ) |
Returns the string that describes all the keyboard shortcuts associated with the item.
This will look something like "Alt+A" or "C, Shift+Alt+Q".
|
virtual |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise.
|
virtual |
Determines if a menu is created or if an action takes place.
|
virtual |
This method may be called after an action item is created to tell the system that it is a dynamic menu action.
__declspec | ( | deprecated | ) |
|
virtual |
If the ActionItem does produce a dynamic menu (i.e.
IsDyamicAction() returns true), this method is called by the system to populate the new menu currently being created to add items, separators, and submenus. Each item is given an arbitrary id (see ICuiDynamicMenu interface). Default implementation is a no-op.
dynMenu | - Pointer to dynamic menu interface. Pointer is owned by the system. |
hWnd | - If the menu is requested by a right-click quad menu, then this hWnd is the handle of the window where the click occurred. If the item is used from a menu bar, this hwnd will be nullptr. |
cursorPos | - If the menu is requested by a right-click quad menu, then this parameter is the point in the window where the user clicked. |
|
virtual |
If the ActionItem does produce a menu (i.e.
IsDyamicAction() returns true), this method is called by the system when user clicks a menu item thas was added in PopulateDynamicMenu. Default implementation is a no-op.
itemId | - id of menu item that was clicked by user. Use this id to execute appropriate action. This id is passed to ICuiDynamicMenu functions when populating the menu (for example: AddItem(itemCmdId, ...)). |
|
virtual |
ActionItems that are deleted after they execute should return TRUE.
CoreExport BOOL HasIcon | ( | ) |
Returns TRUE if the ActionItem specifies an icon.
CoreExport bool GetIconFileName | ( | MSTR & | fileName | ) |
If the ActionItem specifies an icon, accesses the icon filename.
fileName | - If the ActionItem specifies an icon, then the icon filename is returned through this parameter. |
CoreExport int GetIconIndex | ( | ) |
If the ActionItem specifies an icon, returns the icon index.
CoreExport MSTR GetTooltipKey | ( | ) |
Get the Action's tooltip key.
The tooltip key may be associated with a product tooltip. By default, the tooltip key is built as "actionTableID-actionID" for native actions and as "Category-MacroName" for macros.
CoreExport void SetTooltipKey | ( | const MCHAR * | tooltipKey | ) |
Set the Action's tooltip key.
The function does not verify if the key is unique or not.
CoreExport MaxSDK::Util::Path GetIconPath | ( | IconSize | size | ) |
Get the Action's path to the icon of size specified by param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to get |
CoreExport void SetIconPath | ( | IconSize | size, |
const MaxSDK::Util::Path & | path | ||
) |
Sets the Action's path to the icon of size specified by the input param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to set |
path | The path to the icon of the size specified by the input parameter. |
CoreExport MSTR GetMetadata | ( | ) |
Gets the Action's metadata.
Metadata format is a single string with a comma
separating each individual metadatum. Metadata is used in global search command to list similar command names in other software, etc
CoreExport void SetMetadata | ( | const MCHAR * | metadata | ) |
Sets the Action's metadata.
metadata | The metadata |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Returns an icon associated with an ActionItem.
To supply a custom icon for an action item, override this method and supply a custom implementation. Default implementation: returns NULL
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
pure virtual |
Retrieves a unique identifier for the action.
This action must be unique in the table, but not does not have to be unique between tables.
|
pure virtual |
Executes the operation associated with the action item.
This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE.
|
virtual |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action.
CoreExport BOOL Execute | ( | ) |
Calls ExecuteAction() and handles macro recording etc.
Called by 3ds Max.
Retrieves the text that will be used when the ActionItem is on a text button.
The text is stored into the buttonText parameter.
[out] | buttonText | - The retrieved text. |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar).
This can be different from the button text. This method is called just before the menu is displayed, so it can update the text at that time. For example, the "Undo" menu item in 3ds Max's main menu adds the name of the command that will be undone.
[out] | menuText | - The retrieved text. |
Retrieves the text that will be used for tool tips and menu help.
This is also the string that is displayed for the operation in all the lists in the customization dialogs.
[out] | descText | - The retrieved text. |
Retrieves the text for the category of the operation.
This is used in the customization dialog to fill the "category" drop-down list.
[out] | catText | - The retrieved text. |
CoreExport void GetPersistentActionId | ( | MSTR & | persistentActionId | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
[out] | persistentActionId | - The retrieved text. |
CoreExport MSTR GetPersistentActionId | ( | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
|
pure virtual |
Returns whether a menu item is in a checked state, or if a button is in a pressed state.
For menus, this means that this function will return TRUE if a check mark appears next to the item. If the item is on a button, this is used to determine of the button is in the "Pressed" state. Note that button states are automatically updated on selection change and command mode changes. If your plug-in performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE).
|
inlinevirtual |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked.
When implemented return TRUE if the condition of your action is both checked and unchecked. For instance an action that sets/displays the state of a multiple nodes frozen property when you have nodes that are both frozen and unfrozen this would return TRUE and instead of a check the action will display a dash. If this returns TRUE the isChecked state is ignored. NOTE actions with pushbutton icons will not display this state
|
pure virtual |
Determines if an item is visible on a context menu.
If it returns FALSE, then the item is not included in the menu. This can be used to create items that a context sensitive. For example, you may want an item to appear on a menu only when the selected object is of a particular type. To do this, you have this method check the class id of the current selection.
|
pure virtual |
Determines if the operation is available to the user.
If this method returns FALSE, and the ActionItem it is on a menu, or button, the item is grayed out. If it assigned to a keyboard shortcut, then it will not execute the operation if invoked. If your plugin performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE)
CoreExport MaxIcon * GetIcon | ( | ) |
Returns an icon associated with an ActionItem.
First checks the result of GetIconImp(), then looks at ActionTable::GetIcon(int). If both functions return NULL, then this action has no Icon associated with it.
|
pure virtual |
Called by 3ds Max to delete the ActionItem.
This normally happens when the table that owns it is deleted.
|
virtual |
Returns a pointer to the table that owns the ActionItem.
An item can only be owned by a single table.
|
virtual |
Sets the table that owns the item.
Used internally. May be used if you implement a custom sub-class of ActionItem.
pTable | - Points to the table to set. |
CoreExport const MCHAR * GetShortcutString | ( | ) |
Returns the string that describes all the keyboard shortcuts associated with the item.
This will look something like "Alt+A" or "C, Shift+Alt+Q".
|
virtual |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise.
|
virtual |
Determines if a menu is created or if an action takes place.
|
virtual |
This method may be called after an action item is created to tell the system that it is a dynamic menu action.
|
virtual |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu.
See class DynamicMenu for an easy way to produce these menus.
hwnd | - If the menu is requested by a right-click quad menu, then this hwnd is the handle of the window where the click occurred. If the item is used from a menu bar, this hwnd will be NULL. |
m | - If the menu is requested by a right-click quad menu, then this parameter is the point in the window where the user clicked. |
|
virtual |
ActionItems that are deleted after they execute should return TRUE.
CoreExport BOOL HasIcon | ( | ) |
Returns TRUE if the ActionItem specifies an icon.
CoreExport bool GetIconFileName | ( | MSTR & | fileName | ) |
If the ActionItem specifies an icon, accesses the icon filename.
fileName | - If the ActionItem specifies an icon, then the icon filename is returned through this parameter. |
CoreExport int GetIconIndex | ( | ) |
If the ActionItem specifies an icon, returns the icon index.
CoreExport MSTR GetTooltipKey | ( | ) |
Get the Action's tooltip key.
The tooltip key may be associated with a product tooltip. By default, the tooltip key is built as "actionTableID-actionID" for native actions and as "Category-MacroName" for macros.
CoreExport void SetTooltipKey | ( | const MCHAR * | tooltipKey | ) |
Set the Action's tooltip key.
The function does not verify if the key is unique or not.
CoreExport MaxSDK::Util::Path GetIconPath | ( | IconSize | size | ) |
Get the Action's path to the icon of size specified by param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to get |
CoreExport void SetIconPath | ( | IconSize | size, |
const MaxSDK::Util::Path & | path | ||
) |
Sets the Action's path to the icon of size specified by the input param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to set |
path | The path to the icon of the size specified by the input parameter. |
CoreExport MSTR GetMetadata | ( | ) |
Gets the Action's metadata.
Metadata format is a single string with a comma
separating each individual metadatum. Metadata is used in global search command to list similar command names in other software, etc
CoreExport void SetMetadata | ( | const MCHAR * | metadata | ) |
Sets the Action's metadata.
metadata | The metadata |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Returns an icon associated with an ActionItem.
To supply a custom icon for an action item, override this method and supply a custom implementation. Default implementation: returns NULL
|
pure virtual |
Retrieves a unique identifier for the action.
This action must be unique in the table, but not does not have to be unique between tables.
|
pure virtual |
Executes the operation associated with the action item.
This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE.
|
virtual |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action.
CoreExport BOOL Execute | ( | ) |
Calls ExecuteAction() and handles macro recording etc.
Called by 3ds Max.
|
inlinevirtual |
Returns true if the action supports AltExecute.
If an action supports AltExecute, then a mouse icon (with a dark click button) appears in the quad menu item that corresponds to the action. When the icon is clicked, the AltExecute method is called.
|
inlinevirtual |
Returns true if AltExecute ran successfully.
If an action supports AltExecute, then a mouse icon (with a dark click button) appears in the quad menu item that corresponds to the action. When the icon is clicked, the AltExecute method is called.
|
inlinevirtual |
Returns true if the action supports CloseDialogs.
This is called by the internal implementation of IActionItemToggleManager::FlipToggleState to close a dialog if when executing the action the action was registered via IActionItemToggleManager::RegisterToggleAction. If true, the CloseDialogs method is called when toggling the action state off.
|
inlinevirtual |
Returns true if CloseDialogs ran successfully.
Retrieves the text that will be used when the ActionItem is on a text button.
The text is stored into the buttonText parameter.
[out] | buttonText | - The retrieved text. |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar).
This can be different from the button text. This method is called just before the menu is displayed, so it can update the text at that time. For example, the "Undo" menu item in 3ds Max's main menu adds the name of the command that will be undone.
[out] | menuText | - The retrieved text. |
Retrieves the text that will be used for tool tips and menu help.
This is also the string that is displayed for the operation in all the lists in the customization dialogs.
[out] | descText | - The retrieved text. |
Retrieves the text for the category of the operation.
This is used in the customization dialog to fill the "category" drop-down list.
[out] | catText | - The retrieved text. |
CoreExport void GetPersistentActionId | ( | MSTR & | persistentActionId | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
[out] | persistentActionId | - The retrieved text. |
CoreExport MSTR GetPersistentActionId | ( | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
|
pure virtual |
Returns whether a menu item is in a checked state, or if a button is in a pressed state.
For menus, this means that this function will return TRUE if a check mark appears next to the item. If the item is on a button, this is used to determine of the button is in the "Pressed" state. Note that button states are automatically updated on selection change and command mode changes. If your plug-in performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE).
|
inlinevirtual |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked.
When implemented return TRUE if the condition of your action is both checked and unchecked. For instance an action that sets/displays the state of a multiple nodes frozen property when you have nodes that are both frozen and unfrozen this would return TRUE and instead of a check the action will display a dash. If this returns TRUE the isChecked state is ignored. NOTE actions with pushbutton icons will not display this state
|
pure virtual |
Determines if an item is visible on a context menu.
If it returns FALSE, then the item is not included in the menu. This can be used to create items that a context sensitive. For example, you may want an item to appear on a menu only when the selected object is of a particular type. To do this, you have this method check the class id of the current selection.
|
pure virtual |
Determines if the operation is available to the user.
If this method returns FALSE, and the ActionItem it is on a menu, or button, the item is grayed out. If it assigned to a keyboard shortcut, then it will not execute the operation if invoked. If your plugin performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE)
CoreExport MaxIcon * GetIcon | ( | ) |
Returns an icon associated with an ActionItem.
First checks the result of GetIconImp(), then looks at ActionTable::GetIcon(int). If both functions return NULL, then this action has no Icon associated with it.
|
pure virtual |
Called by 3ds Max to delete the ActionItem.
This normally happens when the table that owns it is deleted.
|
virtual |
Returns a pointer to the table that owns the ActionItem.
An item can only be owned by a single table.
|
virtual |
Sets the table that owns the item.
Used internally. May be used if you implement a custom sub-class of ActionItem.
pTable | - Points to the table to set. |
CoreExport const MCHAR * GetShortcutString | ( | ) |
Returns the string that describes all the keyboard shortcuts associated with the item.
This will look something like "Alt+A" or "C, Shift+Alt+Q".
|
virtual |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise.
|
virtual |
Determines if a menu is created or if an action takes place.
|
virtual |
This method may be called after an action item is created to tell the system that it is a dynamic menu action.
__declspec | ( | deprecated | ) |
|
virtual |
If the ActionItem does produce a dynamic menu (i.e.
IsDyamicAction() returns true), this method is called by the system to populate the new menu currently being created to add items, separators, and submenus. Each item is given an arbitrary id (see ICuiDynamicMenu interface). Default implementation is a no-op.
dynMenu | - Pointer to dynamic menu interface. Pointer is owned by the system. |
hWnd | - If the menu is requested by a right-click quad menu, then this hWnd is the handle of the window where the click occurred. If the item is used from a menu bar, this hwnd will be nullptr. |
cursorPos | - If the menu is requested by a right-click quad menu, then this parameter is the point in the window where the user clicked. |
|
virtual |
If the ActionItem does produce a menu (i.e.
IsDyamicAction() returns true), this method is called by the system when user clicks a menu item thas was added in PopulateDynamicMenu. Default implementation is a no-op.
itemId | - id of menu item that was clicked by user. Use this id to execute appropriate action. This id is passed to ICuiDynamicMenu functions when populating the menu (for example: AddItem(itemCmdId, ...)). |
|
virtual |
ActionItems that are deleted after they execute should return TRUE.
CoreExport BOOL HasIcon | ( | ) |
Returns TRUE if the ActionItem specifies an icon.
CoreExport bool GetIconFileName | ( | MSTR & | fileName | ) |
If the ActionItem specifies an icon, accesses the icon filename.
fileName | - If the ActionItem specifies an icon, then the icon filename is returned through this parameter. |
CoreExport int GetIconIndex | ( | ) |
If the ActionItem specifies an icon, returns the icon index.
CoreExport MSTR GetTooltipKey | ( | ) |
Get the Action's tooltip key.
The tooltip key may be associated with a product tooltip. By default, the tooltip key is built as "actionTableID-actionID" for native actions and as "Category-MacroName" for macros.
CoreExport void SetTooltipKey | ( | const MCHAR * | tooltipKey | ) |
Set the Action's tooltip key.
The function does not verify if the key is unique or not.
CoreExport MaxSDK::Util::Path GetIconPath | ( | IconSize | size | ) |
Get the Action's path to the icon of size specified by param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to get |
CoreExport void SetIconPath | ( | IconSize | size, |
const MaxSDK::Util::Path & | path | ||
) |
Sets the Action's path to the icon of size specified by the input param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to set |
path | The path to the icon of the size specified by the input parameter. |
CoreExport MSTR GetMetadata | ( | ) |
Gets the Action's metadata.
Metadata format is a single string with a comma
separating each individual metadatum. Metadata is used in global search command to list similar command names in other software, etc
CoreExport void SetMetadata | ( | const MCHAR * | metadata | ) |
Sets the Action's metadata.
metadata | The metadata |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Returns an icon associated with an ActionItem.
To supply a custom icon for an action item, override this method and supply a custom implementation. Default implementation: returns NULL
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
pure virtual |
Retrieves a unique identifier for the action.
This action must be unique in the table, but not does not have to be unique between tables.
|
pure virtual |
Executes the operation associated with the action item.
This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE.
|
virtual |
Called by 3ds Max to allow the ActionItem to customize macroRecorder output for this action.
CoreExport BOOL Execute | ( | ) |
Calls ExecuteAction() and handles macro recording etc.
Called by 3ds Max.
Retrieves the text that will be used when the ActionItem is on a text button.
The text is stored into the buttonText parameter.
[out] | buttonText | - The retrieved text. |
Retrieves the text to use when the item is on a menu (either Quad menu or main menu bar).
This can be different from the button text. This method is called just before the menu is displayed, so it can update the text at that time. For example, the "Undo" menu item in 3ds Max's main menu adds the name of the command that will be undone.
[out] | menuText | - The retrieved text. |
Retrieves the text that will be used for tool tips and menu help.
This is also the string that is displayed for the operation in all the lists in the customization dialogs.
[out] | descText | - The retrieved text. |
Retrieves the text for the category of the operation.
This is used in the customization dialog to fill the "category" drop-down list.
[out] | catText | - The retrieved text. |
CoreExport void GetPersistentActionId | ( | MSTR & | persistentActionId | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
[out] | persistentActionId | - The retrieved text. |
CoreExport MSTR GetPersistentActionId | ( | ) |
Retrieves the persistent action id text.
This can be used to store a reference to an action into a file, like it is done by the menu system.
|
pure virtual |
Returns whether a menu item is in a checked state, or if a button is in a pressed state.
For menus, this means that this function will return TRUE if a check mark appears next to the item. If the item is on a button, this is used to determine of the button is in the "Pressed" state. Note that button states are automatically updated on selection change and command mode changes. If your plug-in performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE).
|
inlinevirtual |
Returns whether an item is in an indeterminate state This is an optional state that can be implemented when the state of the action can be both checked and unchecked.
When implemented return TRUE if the condition of your action is both checked and unchecked. For instance an action that sets/displays the state of a multiple nodes frozen property when you have nodes that are both frozen and unfrozen this would return TRUE and instead of a check the action will display a dash. If this returns TRUE the isChecked state is ignored. NOTE actions with pushbutton icons will not display this state
|
pure virtual |
Determines if an item is visible on a context menu.
If it returns FALSE, then the item is not included in the menu. This can be used to create items that a context sensitive. For example, you may want an item to appear on a menu only when the selected object is of a particular type. To do this, you have this method check the class id of the current selection.
|
pure virtual |
Determines if the operation is available to the user.
If this method returns FALSE, and the ActionItem it is on a menu, or button, the item is grayed out. If it assigned to a keyboard shortcut, then it will not execute the operation if invoked. If your plugin performs an operation that requires the CUI buttons to be redrawn, you need to call the method CUIFrameMgr::SetMacroButtonStates(TRUE)
CoreExport MaxIcon * GetIcon | ( | ) |
Returns an icon associated with an ActionItem.
First checks the result of GetIconImp(), then looks at ActionTable::GetIcon(int). If both functions return NULL, then this action has no Icon associated with it.
|
pure virtual |
Called by 3ds Max to delete the ActionItem.
This normally happens when the table that owns it is deleted.
|
virtual |
Returns a pointer to the table that owns the ActionItem.
An item can only be owned by a single table.
|
virtual |
Sets the table that owns the item.
Used internally. May be used if you implement a custom sub-class of ActionItem.
pTable | - Points to the table to set. |
CoreExport const MCHAR * GetShortcutString | ( | ) |
Returns the string that describes all the keyboard shortcuts associated with the item.
This will look something like "Alt+A" or "C, Shift+Alt+Q".
|
virtual |
Returns the representation of the macroScript for the item, if it's implemented by a macroScript, it returns NULL otherwise.
|
virtual |
Determines if a menu is created or if an action takes place.
|
virtual |
This method may be called after an action item is created to tell the system that it is a dynamic menu action.
|
virtual |
If the ActionItem does produce a menu, this method is called to return a pointer to the menu.
See class DynamicMenu for an easy way to produce these menus.
hwnd | - If the menu is requested by a right-click quad menu, then this hwnd is the handle of the window where the click occurred. If the item is used from a menu bar, this hwnd will be NULL. |
m | - If the menu is requested by a right-click quad menu, then this parameter is the point in the window where the user clicked. |
|
virtual |
ActionItems that are deleted after they execute should return TRUE.
CoreExport BOOL HasIcon | ( | ) |
Returns TRUE if the ActionItem specifies an icon.
CoreExport bool GetIconFileName | ( | MSTR & | fileName | ) |
If the ActionItem specifies an icon, accesses the icon filename.
fileName | - If the ActionItem specifies an icon, then the icon filename is returned through this parameter. |
CoreExport int GetIconIndex | ( | ) |
If the ActionItem specifies an icon, returns the icon index.
CoreExport MSTR GetTooltipKey | ( | ) |
Get the Action's tooltip key.
The tooltip key may be associated with a product tooltip. By default, the tooltip key is built as "actionTableID-actionID" for native actions and as "Category-MacroName" for macros.
CoreExport void SetTooltipKey | ( | const MCHAR * | tooltipKey | ) |
Set the Action's tooltip key.
The function does not verify if the key is unique or not.
CoreExport MaxSDK::Util::Path GetIconPath | ( | IconSize | size | ) |
Get the Action's path to the icon of size specified by param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to get |
CoreExport void SetIconPath | ( | IconSize | size, |
const MaxSDK::Util::Path & | path | ||
) |
Sets the Action's path to the icon of size specified by the input param.
This path can be relative to the Theme- specific Resources folder under the \UI folder, or it can be an absolute path.
size | an enum specifying the icon path to set |
path | The path to the icon of the size specified by the input parameter. |
CoreExport MSTR GetMetadata | ( | ) |
Gets the Action's metadata.
Metadata format is a single string with a comma
separating each individual metadatum. Metadata is used in global search command to list similar command names in other software, etc
CoreExport void SetMetadata | ( | const MCHAR * | metadata | ) |
Sets the Action's metadata.
metadata | The metadata |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Returns an icon associated with an ActionItem.
To supply a custom icon for an action item, override this method and supply a custom implementation. Default implementation: returns NULL
|
protected |
Points to the table that owns the action.
IPoint2 & final { return nullptr |