GLC_Mover Class Reference

GLC_Mover : Base class for all interactive manipulation. More...

#include <glc_mover.h>

Inheritance diagram for GLC_Mover:
GLC_FlyMover GLC_PanMover GLC_SetTargetMover GLC_TrackBallMover GLC_TsrMover GLC_TurnTableMover GLC_ZoomMover

List of all members.

Signals

void updated ()
 Signal sent if the view as been updated.

Public Member Functions

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

virtual GLC_Moverclone () const =0
 Return a clone of the mover.
Set Functions

virtual void init (const GLC_UserInput &userInput)=0
 Initialized the mover.
virtual bool move (const GLC_UserInput &userInput)=0
 Move the camera.
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.
OpenGL Functions

void renderRepresentation ()
 Mover representations list display.

Protected Attributes

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).

Private Member Functions

void clearMoverRepresentation ()
 Clear mover representation.

Detailed Description

GLC_Mover : Base class for all interactive manipulation.

Definition at line 43 of file glc_mover.h.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 28 of file glc_mover.cpp.

References m_MoverInfo, and m_RepMoverList.

GLC_Mover::GLC_Mover ( const GLC_Mover mover  ) 

Copy constructor.

Definition at line 43 of file glc_mover.cpp.

References m_MoverInfo, and m_RepMoverList.

GLC_Mover::~GLC_Mover (  )  [virtual]

Destructor.

Definition at line 58 of file glc_mover.cpp.

References clearMoverRepresentation().


Member Function Documentation

void GLC_Mover::clearMoverRepresentation (  )  [private]

Clear mover representation.

Definition at line 120 of file glc_mover.cpp.

References m_RepMoverList.

Referenced by setRepresentationsList(), and ~GLC_Mover().

virtual GLC_Mover* GLC_Mover::clone (  )  const [pure virtual]
virtual void GLC_Mover::ends (  )  [inline, virtual]

Ends this mover.

Reimplemented in GLC_FlyMover.

Definition at line 79 of file glc_mover.h.

virtual void GLC_Mover::init ( const GLC_UserInput userInput  )  [pure virtual]
void GLC_Mover::initRepresentation (  ) 

Init representation.

Definition at line 81 of file glc_mover.cpp.

References m_RepMoverList.

Referenced by GLC_TrackBallMover::init().

virtual bool GLC_Mover::move ( const GLC_UserInput userInput  )  [pure virtual]
void GLC_Mover::renderRepresentation (  ) 

Mover representations list display.

Definition at line 106 of file glc_mover.cpp.

References m_RepMoverList.

void GLC_Mover::setRepresentationsList ( const QList< GLC_RepMover * > &  listOfRep  ) 

Set the mover representation list.

Definition at line 68 of file glc_mover.cpp.

References clearMoverRepresentation(), m_MoverInfo, and m_RepMoverList.

void GLC_Mover::updated (  )  [signal]

Signal sent if the view as been updated.

Referenced by GLC_FlyMover::timerEvent().

void GLC_Mover::updateRepresentation (  ) 

Update representation.

Definition at line 91 of file glc_mover.cpp.

References m_RepMoverList.

Referenced by GLC_FlyMover::mapForFlying(), and GLC_TrackBallMover::move().


Member Data Documentation


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

SourceForge.net Logo

©2005-2011 Laurent Ribon