HUndoItemCamera
-
class
HUndoItemCamera HUndoItemCamerastores a camera state for undo and redo.Inherits from:
HUndoItem
Methods
-
HUndoItemCamera::HUndoItemCamera(HBaseView *view) Constructs an
HUndoItemCameraobject.Parameters
view: TheHBaseViewassociated with this undo item.
-
virtual
HUndoItemCamera::~HUndoItemCamera() virtual
-
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.
-
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.
-
virtual HCamera *
HUndoItemCamera::GetCamera() virtual
Returns
A pointer to this item’s camera.
-
virtual char const *
HUndoItemCamera::GetName() virtual
Returns
The item type name which is ‘HUndoItemCamera‘.
Variables
-
HCamera
HUndoItemCamera::m_Camera protected
Camera Information
-
HBaseView *
HUndoItemCamera::m_pView protected
Pointer to view associated to this item