#include <HUndoManager.h>
Public Member Functions | |
virtual HCamera * | GetCamera () |
virtual const char * | GetName () |
HUndoItemCamera (HBaseView *view) | |
virtual void | Redo (bool setuponly=false) |
virtual void | Undo (bool setuponly=false) |
Protected Attributes | |
HCamera | m_Camera |
HBaseView * | m_pView |
HUndoItemCamera::HUndoItemCamera | ( | HBaseView * | view | ) |
Constructs an HUndoItemCamera object.
view | The HBaseView associated with this undo item. |
virtual HCamera* HUndoItemCamera::GetCamera | ( | ) | [inline, virtual] |
virtual const char* HUndoItemCamera::GetName | ( | ) | [inline, virtual] |
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.
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.
setuponly | Pass true if you want to perform the undo without updating the view. The default value is false. |
Reimplemented from HUndoItem.
HCamera HUndoItemCamera::m_Camera [protected] |
Camera Information
HBaseView* HUndoItemCamera::m_pView [protected] |
Pointer to view associated to this item