Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HUndoItemCamera Class Reference

#include <HUndoManager.h>

List of all members.

Public Member Functions

virtual HCameraGetCamera ()
virtual const char * GetName ()
 HUndoItemCamera (HBaseView *view)
virtual void Redo (bool setupOnly=false)
virtual void Undo (bool setupOnly=false)

Protected Attributes

HCamera m_Camera
HBaseViewm_pView

Detailed Description

HUndoItemCamera stores a camera state for undo and redo.


Constructor & Destructor Documentation

HUndoItemCamera::HUndoItemCamera ( HBaseView view)

Constructs an HUndoItemCamera object.

Parameters:
viewThe HBaseView associated with this undo item.

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:
setupOnlyPass 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:
setupOnlyPass true if you want to perform the undo without updating the view. The default value is false.

Reimplemented from HUndoItem.


Member Data Documentation

Camera Information

Pointer to view associated to this item


The documentation for this class was generated from the following file: