3ds Max C++ API Reference
|
3ds Max uses the ExecuteAction() method of an instance of this class when an ActionItem is executed. More...
#include <actiontable_REMOTE_92.h>
Public Member Functions | |
CoreExport | ActionCallback () |
Constructor. | |
virtual CoreExport | ~ActionCallback () |
Virtual destructor. | |
virtual CoreExport BOOL | ExecuteAction (int id) |
Called by 3ds Max to execute the operation associated with an action item. | |
__declspec (deprecated) virtual void *GetDynamicMenu(int | |
virtual CoreExport void | PopulateDynamicMenu (MaxSDK::CUI::ICuiDynamicMenu *dynMenu, int actionId, HWND hWnd, const IPoint2 &cursorPos) |
If the ActionItem does produce a dynamic menu (i.e. | |
virtual CoreExport void | DynamicMenuItemSelected (int actionId, int itemId) |
If the ActionItem does produce a dynamic menu (i.e. | |
CoreExport ActionTable * | GetTable () |
Returns a pointer to the ActionTable the callback uses. | |
CoreExport void | SetTable (ActionTable *pTable) |
Sets the ActionTable the callback uses. | |
CoreExport | ActionCallback () |
Constructor. | |
virtual CoreExport | ~ActionCallback () |
Virtual destructor. | |
virtual CoreExport BOOL | ExecuteAction (int id) |
Called by 3ds Max to execute the operation associated with an action item. | |
__declspec (deprecated) virtual IMenu *GetDynamicMenu(int | |
virtual CoreExport void | PopulateDynamicMenu (MaxSDK::CUI::ICuiDynamicMenu *dynMenu, int actionId, HWND hWnd, const IPoint2 &cursorPos) |
If the ActionItem does produce a dynamic menu (i.e. | |
virtual CoreExport void | DynamicMenuItemSelected (int actionId, int itemId) |
If the ActionItem does produce a dynamic menu (i.e. | |
CoreExport ActionTable * | GetTable () |
Returns a pointer to the ActionTable the callback uses. | |
CoreExport void | SetTable (ActionTable *pTable) |
Sets the ActionTable the callback uses. | |
CoreExport | ActionCallback () |
Constructor. | |
virtual CoreExport | ~ActionCallback () |
Virtual destructor. | |
virtual CoreExport BOOL | ExecuteAction (int id) |
Called by 3ds Max to execute the operation associated with an action item. | |
virtual CoreExport IMenu * | GetDynamicMenu (int id, HWND hwnd, IPoint2 &m) |
Called by 3ds Max if an action item declares itself as a dynamic menu. | |
CoreExport ActionTable * | GetTable () |
Returns a pointer to the ActionTable the callback uses. | |
CoreExport void | SetTable (ActionTable *pTable) |
Sets the ActionTable the callback uses. | |
CoreExport | ActionCallback () |
Constructor. | |
virtual CoreExport | ~ActionCallback () |
Virtual destructor. | |
virtual CoreExport BOOL | ExecuteAction (int id) |
Called by 3ds Max to execute the operation associated with an action item. | |
__declspec (deprecated) virtual IMenu *GetDynamicMenu(int | |
virtual CoreExport void | PopulateDynamicMenu (MaxSDK::CUI::ICuiDynamicMenu *dynMenu, int actionId, HWND hWnd, const IPoint2 &cursorPos) |
If the ActionItem does produce a dynamic menu (i.e. | |
virtual CoreExport void | DynamicMenuItemSelected (int actionId, int itemId) |
If the ActionItem does produce a dynamic menu (i.e. | |
CoreExport ActionTable * | GetTable () |
Returns a pointer to the ActionTable the callback uses. | |
CoreExport void | SetTable (ActionTable *pTable) |
Sets the ActionTable the callback uses. | |
CoreExport | ActionCallback () |
Constructor. | |
virtual CoreExport | ~ActionCallback () |
Virtual destructor. | |
virtual CoreExport BOOL | ExecuteAction (int id) |
Called by 3ds Max to execute the operation associated with an action item. | |
virtual CoreExport IMenu * | GetDynamicMenu (int id, HWND hwnd, IPoint2 &m) |
Called by 3ds Max if an action item declares itself as a dynamic menu. | |
CoreExport ActionTable * | GetTable () |
Returns a pointer to the ActionTable the callback uses. | |
CoreExport void | SetTable (ActionTable *pTable) |
Sets the ActionTable the callback uses. | |
![]() | |
UtilExport BaseInterface * | GetInterface (Interface_ID id) override |
virtual UtilExport int | NumInterfaces () const |
virtual UtilExport BaseInterface * | GetInterfaceAt (int i) const |
virtual UtilExport | ~BaseInterfaceServer () |
![]() | |
virtual UtilExport | ~InterfaceServer () |
Destructor. | |
virtual UtilExport BaseInterface * | GetInterface (Interface_ID id) |
template<class InterfaceType > | |
InterfaceType * | GetTypedInterface () |
Public Attributes | |
HWND | |
IPoint2 & | final { return nullptr |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
Tab< BaseInterface * > | interfaces |
3ds Max uses the ExecuteAction() method of an instance of this class when an ActionItem is executed.
Developers need to override this class and pass an instance of it to the system when they activate an ActionTable using the method IActionManager::ActivateActionTable().
Developers need to override this class and pass an instance of it to the system when they activate an ActionTable using the method IActionManager::ActivateActionTable().
<<<<<<< HEAD
a406e112cf287e51abdbba7f88b8e4b91e0a64e7
Developers need to override this class and pass an instance of it to the system when they activate an ActionTable using the method IActionManager::ActivateActionTable().
Developers need to override this class and pass an instance of it to the system when they activate an ActionTable using the method IActionManager::ActivateActionTable().
Developers need to override this class and pass an instance of it to the system when they activate an ActionTable using the method IActionManager::ActivateActionTable().
Constructor.
|
virtual |
Virtual destructor.
Constructor.
|
virtual |
Virtual destructor.
Constructor.
|
virtual |
Virtual destructor.
Constructor.
|
virtual |
Virtual destructor.
Constructor.
|
virtual |
Virtual destructor.
|
virtual |
Called by 3ds Max to execute the operation associated with an action item.
id | The ID of the item to execute. |
Reimplemented in TrackViewActionCallback.
__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. |
actionId | - Id of ActionItem that produces the dynamic menu |
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 dynamic menu (i.e.
IsDyamicAction() returns true), this method is called by the system when user clicks on a menu item that was added in PopulateDynamicMenu. Default implementation is a no-op.
actionId | - Id of ActionItem that produced the dynamic menu |
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, ...)). |
CoreExport ActionTable * GetTable | ( | ) |
Returns a pointer to the ActionTable the callback uses.
CoreExport void SetTable | ( | ActionTable * | pTable | ) |
Sets the ActionTable the callback uses.
pTable | Points to the ActionTable the callback uses. |
|
virtual |
Called by 3ds Max to execute the operation associated with an action item.
id | The ID of the item to execute. |
Reimplemented in TrackViewActionCallback.
__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. |
actionId | - Id of ActionItem that produces the dynamic menu |
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 dynamic menu (i.e.
IsDyamicAction() returns true), this method is called by the system when user clicks on a menu item that was added in PopulateDynamicMenu. Default implementation is a no-op.
actionId | - Id of ActionItem that produced the dynamic menu |
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, ...)). |
CoreExport ActionTable * GetTable | ( | ) |
Returns a pointer to the ActionTable the callback uses.
CoreExport void SetTable | ( | ActionTable * | pTable | ) |
Sets the ActionTable the callback uses.
pTable | Points to the ActionTable the callback uses. |
|
virtual |
Called by 3ds Max to execute the operation associated with an action item.
id | The ID of the item to execute. |
Reimplemented in TrackViewActionCallback.
|
virtual |
Called by 3ds Max if an action item declares itself as a dynamic menu.
id | The item ID which is passed to the DynamicMenuCallback::MenuItemSelected() |
hwnd | If the menu is requested by a right-click quad menu, then hwnd is the window where the click occurred. If the item is used from a menu bar, then hwnd will be NULL. |
m | If the menu is requested by a right-click quad menu, then this will be the point in the window where the user clicked. |
CoreExport ActionTable * GetTable | ( | ) |
Returns a pointer to the ActionTable the callback uses.
CoreExport void SetTable | ( | ActionTable * | pTable | ) |
Sets the ActionTable the callback uses.
pTable | Points to the ActionTable the callback uses. |
|
virtual |
Called by 3ds Max to execute the operation associated with an action item.
id | The ID of the item to execute. |
Reimplemented in TrackViewActionCallback.
__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. |
actionId | - Id of ActionItem that produces the dynamic menu |
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 dynamic menu (i.e.
IsDyamicAction() returns true), this method is called by the system when user clicks on a menu item that was added in PopulateDynamicMenu. Default implementation is a no-op.
actionId | - Id of ActionItem that produced the dynamic menu |
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, ...)). |
CoreExport ActionTable * GetTable | ( | ) |
Returns a pointer to the ActionTable the callback uses.
CoreExport void SetTable | ( | ActionTable * | pTable | ) |
Sets the ActionTable the callback uses.
pTable | Points to the ActionTable the callback uses. |
|
virtual |
Called by 3ds Max to execute the operation associated with an action item.
id | The ID of the item to execute. |
Reimplemented in TrackViewActionCallback.
|
virtual |
Called by 3ds Max if an action item declares itself as a dynamic menu.
id | The item ID which is passed to the DynamicMenuCallback::MenuItemSelected() |
hwnd | If the menu is requested by a right-click quad menu, then hwnd is the window where the click occurred. If the item is used from a menu bar, then hwnd will be NULL. |
m | If the menu is requested by a right-click quad menu, then this will be the point in the window where the user clicked. |
CoreExport ActionTable * GetTable | ( | ) |
Returns a pointer to the ActionTable the callback uses.
CoreExport void SetTable | ( | ActionTable * | pTable | ) |
Sets the ActionTable the callback uses.
pTable | Points to the ActionTable the callback uses. |
HWND |
IPoint2 & final { return nullptr |