GLC_ZoomMover Class Reference

GLC_ZoomMover : Zoom interactive manipulation. More...

#include <glc_zoommover.h>

Inheritance diagram for GLC_ZoomMover:
GLC_Mover

List of all members.

Public Member Functions

 GLC_ZoomMover (GLC_Viewport *, const QList< GLC_RepMover * > &repsList=QList< GLC_RepMover * >())
 Default constructor.
 GLC_ZoomMover (const GLC_ZoomMover &)
 Copy constructor.
virtual ~GLC_ZoomMover ()
 Destructor.
Get Functions

double maxZoomFactor () const
 Return the maximum zoom factor.
virtual GLC_Moverclone () const
 Return a clone of the mover.
Set Functions

virtual void init (const GLC_UserInput &userInput)
 Initialized the mover.
virtual bool move (const GLC_UserInput &userInput)
 Move the camera.
void setMaxZoomFactor (const double factor)
 Set the maximum zoom factor.

Private Attributes

double m_MaxZoomFactor
 The maximum zoom factor.

Detailed Description

GLC_ZoomMover : Zoom interactive manipulation.

Definition at line 34 of file glc_zoommover.h.


Constructor & Destructor Documentation

GLC_ZoomMover::GLC_ZoomMover ( GLC_Viewport pViewport,
const QList< GLC_RepMover * > &  repsList = QList<GLC_RepMover*>() 
)

Default constructor.

Definition at line 27 of file glc_zoommover.cpp.

Referenced by clone().

GLC_ZoomMover::GLC_ZoomMover ( const GLC_ZoomMover mover  ) 

Copy constructor.

Definition at line 35 of file glc_zoommover.cpp.

GLC_ZoomMover::~GLC_ZoomMover (  )  [virtual]

Destructor.

Definition at line 42 of file glc_zoommover.cpp.


Member Function Documentation

GLC_Mover * GLC_ZoomMover::clone (  )  const [virtual]

Return a clone of the mover.

Implements GLC_Mover.

Definition at line 53 of file glc_zoommover.cpp.

References GLC_ZoomMover().

void GLC_ZoomMover::init ( const GLC_UserInput userInput  )  [virtual]
double GLC_ZoomMover::maxZoomFactor (  )  const [inline]

Return the maximum zoom factor.

Definition at line 53 of file glc_zoommover.h.

bool GLC_ZoomMover::move ( const GLC_UserInput userInput  )  [virtual]
void GLC_ZoomMover::setMaxZoomFactor ( const double  factor  )  [inline]

Set the maximum zoom factor.

Definition at line 73 of file glc_zoommover.h.


Member Data Documentation

The maximum zoom factor.

Definition at line 82 of file glc_zoommover.h.

Referenced by move().


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

SourceForge.net Logo

©2005-2011 Laurent Ribon