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_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 (QMouseEvent *e)=0
 Initialized the mover.
virtual bool move (QMouseEvent *e)=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 glExecute ()
 Mover representations list display.

Protected Attributes

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.

Private Attributes

QList< GLC_RepMover * > m_RepMoverList
 The mover representations list.

Detailed Description

GLC_Mover : Base class for all interactive manipulation.

Definition at line 45 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 30 of file glc_mover.cpp.

References m_MoverInfo, and m_RepMoverList.

GLC_Mover::GLC_Mover ( const GLC_Mover mover  ) 

Copy constructor.

Definition at line 45 of file glc_mover.cpp.

References m_MoverInfo, and m_RepMoverList.

GLC_Mover::~GLC_Mover (  )  [virtual]

Destructor.

Definition at line 60 of file glc_mover.cpp.

References clearMoverRepresentation().


Member Function Documentation

void GLC_Mover::clearMoverRepresentation (  )  [private]

Clear mover representation.

Definition at line 122 of file glc_mover.cpp.

References m_RepMoverList.

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

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

Return a clone of the mover.

Implemented in GLC_FlyMover, GLC_PanMover, GLC_SetTargetMover, GLC_TrackBallMover, GLC_TurnTableMover, and GLC_ZoomMover.

virtual void GLC_Mover::ends (  )  [inline, virtual]

Ends this mover.

Reimplemented in GLC_FlyMover.

Definition at line 81 of file glc_mover.h.

void GLC_Mover::glExecute (  ) 

Mover representations list display.

Definition at line 108 of file glc_mover.cpp.

References m_RepMoverList.

virtual void GLC_Mover::init ( QMouseEvent *  e  )  [pure virtual]
void GLC_Mover::initRepresentation (  ) 

Init representation.

Definition at line 83 of file glc_mover.cpp.

References m_RepMoverList.

Referenced by GLC_TrackBallMover::init().

virtual bool GLC_Mover::move ( QMouseEvent *  e  )  [pure virtual]
void GLC_Mover::setRepresentationsList ( const QList< GLC_RepMover * > &  listOfRep  ) 

Set the mover representation list.

Definition at line 70 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 93 of file glc_mover.cpp.

References m_RepMoverList.

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


Member Data Documentation

The mover representations list.

Definition at line 121 of file glc_mover.h.

Referenced by clearMoverRepresentation(), GLC_Mover(), glExecute(), initRepresentation(), setRepresentationsList(), and updateRepresentation().


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

SourceForge.net Logo

©2005 Laurent Ribon