Inheritance diagram for TBasicSceneCommand:

Public Member Functions | |
| TBasicSceneCommand () | |
| virtual MCCOMErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj) |
| virtual uint32 MCCOMAPI | AddRef () |
| virtual void MCCOMAPI | GetMenuCallBack (ISelfPrepareMenuCallBack **callBack) |
| virtual MCCOMErr MCCOMAPI | Init (ISceneDocument *sceneDocument) |
| virtual MCCOMErr MCCOMAPI | Prepare () |
| virtual boolean MCCOMAPI | CanUndo () |
| virtual boolean MCCOMAPI | Do () |
| virtual boolean MCCOMAPI | Undo () |
| virtual boolean MCCOMAPI | Redo () |
| virtual boolean MCCOMAPI | PostPrepare () |
Protected Attributes | |
| boolean | fNeedsSelection |
|
|
|
|
|
Increments the reference count of the object Reimplemented from TBasicUnknown. |
|
|
Returns true if the Scene Command is undoable Implements I3DExSceneCommand. |
|
|
Do phase. Returns true if your actually changed something in the Scene Implements I3DExSceneCommand. |
|
|
Returns a callBack that is called to check if this scene command is enabled for a given document. Note that the returned object should never keep a reference to the scene document or anything in the scene since it will only be deleted when the application shutsdown
Implements I3DExSceneCommand. |
|
|
Init() is called after the Scene Command is instanciated. Use sceneDocument to get the selection or any other Scene data you would need to perform your action
Implements I3DExSceneCommand. |
|
|
PostPrepare is called after Prepare and the options dialog for the pmap so that you can create data caches needed for do/undo/redo operations
Implements I3DExSceneCommand. |
|
|
Prepare allows you to perform any preparation work needed (even posting a dialog). Make sure you return MC_S_OK if it is OK to proceed with the Scene Command. If your Scene Command has a PMap resource and the corresponding 'Node' UI resources, then the application will create a modal dialog for you just after Prepare(). Implements I3DExSceneCommand. |
|
||||||||||||
|
Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.
Reimplemented from TBasicDataExchanger. |
|
|
Redo phase. Returns true if your actually changed something in the Scene Implements I3DExSceneCommand. |
|
|
Undo phase. Returns true if your actually changed something in the Scene Implements I3DExSceneCommand. |
|
|
|
1.3.9.1