#include <HUndoManager.h>
List of all members.
Detailed Description
HUndoItemCamera stores a camera state for undo and redo.
Constructor & Destructor Documentation
HUndoItemCamera::HUndoItemCamera |
( |
HBaseView * |
view | ) |
|
Member Function Documentation
virtual HCamera* HUndoItemCamera::GetCamera |
( |
| ) |
[inline, virtual] |
- Returns:
- A pointer to this item's camera.
virtual const char* HUndoItemCamera::GetName |
( |
| ) |
[inline, virtual] |
- Returns:
- The item type name which is 'HUndoItemCamera'.
Reimplemented from HUndoItem.
virtual void HUndoItemCamera::Redo |
( |
bool |
setuponly = false | ) |
[virtual] |
This method returns the scene to being viewed by the camera that was used prior to the undo method being called.
- Parameters:
-
setuponly | Pass true if you want to perform the redo without updating the view. The default value is false. |
Reimplemented from HUndoItem.
virtual void HUndoItemCamera::Undo |
( |
bool |
setuponly = false | ) |
[virtual] |
This method restores the scene to be viewed with the initial camera state when this item was created.
- Parameters:
-
setuponly | Pass true if you want to perform the undo without updating the view. The default value is false. |
Reimplemented from HUndoItem.
Member Data Documentation
Pointer to view associated to this item
The documentation for this class was generated from the following file: