#include <HUndoManager.h>
HUndoItemCamera stores a camera state for undo and redo.
HUndoItemCamera::HUndoItemCamera |
( |
HBaseView * |
view | ) |
|
virtual HCamera* HUndoItemCamera::GetCamera |
( |
| ) |
|
|
inlinevirtual |
- Returns
- A pointer to this item's camera.
virtual const char* HUndoItemCamera::GetName |
( |
| ) |
|
|
inlinevirtual |
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.
Pointer to view associated to this item
The documentation for this class was generated from the following file: