GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
GLC_ZoomMover Class Reference

GLC_ZoomMover : Zoom interactive manipulation. More...

#include <glc_zoommover.h>

+ Inheritance diagram for GLC_ZoomMover:

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.
 
- Public Member Functions inherited from GLC_Mover
 GLC_Mover (GLC_Viewport *, const QList< GLC_RepMover * > &)
 Default constructor.
 
 GLC_Mover (const GLC_Mover &)
 Copy constructor.
 
virtual ~GLC_Mover ()
 Destructor.
 
virtual void ends ()
 Ends this mover.
 
void setRepresentationsList (const QList< GLC_RepMover * > &)
 Set the mover representation list.
 
void initRepresentation ()
 Init representation.
 
void updateRepresentation ()
 Update representation.
 
void renderRepresentation ()
 Mover representations list display.
 

Private Attributes

double m_MaxZoomFactor
 The maximum zoom factor.
 

Additional Inherited Members

- Signals inherited from GLC_Mover
void updated ()
 Signal sent if the view as been updated.
 
- Protected Attributes inherited from GLC_Mover
QList< GLC_RepMover * > m_RepMoverList
 The mover representations list.
 
GLC_Vector3d m_PreviousVector
 The previous mover value.
 
GLC_Viewportm_pViewport
 The Viewport.
 
GLC_RepMover::RepMoverInfo m_MoverInfo
 The mover info (passed to the rep)
 

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

double GLC_ZoomMover::m_MaxZoomFactor
private

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:

©2005-2013 Laurent Ribon