GLC_RepFlyMover Class Reference

GLC_RepFlyMover : Fly representation. More...

#include <glc_repflymover.h>

Inheritance diagram for GLC_RepFlyMover:
GLC_RepMover

List of all members.

Public Member Functions

Constructor / Destructor

 GLC_RepFlyMover (GLC_Viewport *pViewport)
 Default constructor.
 GLC_RepFlyMover (const GLC_RepFlyMover &repFlyMover)
 Copy constructor.
virtual ~GLC_RepFlyMover ()
 Destructor.
Get Functions

virtual GLC_RepMoverclone () const
 Return a clone of the flymover.
Set Functions

virtual void update ()
 Update the representation.
virtual void setMainColor (const QColor &color)
 Set representation main color.
virtual void setThickness (double thickness)
 Set representation wire thickness.
OpenGL Functions

virtual void glDraw ()
 Virtual interface for OpenGL Geometry set up.

Private Member Functions

void createRepresentation ()
 Create the plane representation.

Private Attributes

double m_Radius
 Center Circle radius.
GLC_3DViewInstance m_CenterCircle
 Center Circle.
GLC_3DViewInstance m_Plane
 Plane.
GLC_3DViewInstance m_Hud
 HUD.
GLC_Vector2d m_HudOffset
 HUD offset.

Detailed Description

GLC_RepFlyMover : Fly representation.

Definition at line 37 of file glc_repflymover.h.


Constructor & Destructor Documentation

GLC_RepFlyMover::GLC_RepFlyMover ( GLC_Viewport pViewport  ) 

Default constructor.

Definition at line 32 of file glc_repflymover.cpp.

References createRepresentation().

Referenced by clone().

GLC_RepFlyMover::GLC_RepFlyMover ( const GLC_RepFlyMover repFlyMover  ) 

Copy constructor.

Definition at line 44 of file glc_repflymover.cpp.

GLC_RepFlyMover::~GLC_RepFlyMover (  )  [virtual]

Destructor.

Definition at line 55 of file glc_repflymover.cpp.


Member Function Documentation

GLC_RepMover * GLC_RepFlyMover::clone (  )  const [virtual]

Return a clone of the flymover.

Implements GLC_RepMover.

Definition at line 60 of file glc_repflymover.cpp.

References GLC_RepFlyMover().

void GLC_RepFlyMover::createRepresentation (  )  [private]
void GLC_RepFlyMover::glDraw (  )  [virtual]
void GLC_RepFlyMover::setMainColor ( const QColor &  color  )  [virtual]

Set representation main color.

Reimplemented from GLC_RepMover.

Definition at line 85 of file glc_repflymover.cpp.

References GLC_3DViewInstance::geomAt(), m_CenterCircle, m_Hud, m_Plane, and GLC_Geometry::setWireColor().

void GLC_RepFlyMover::setThickness ( double  thickness  )  [virtual]

Set representation wire thickness.

Reimplemented from GLC_RepMover.

Definition at line 93 of file glc_repflymover.cpp.

References GLC_3DViewInstance::geomAt(), m_CenterCircle, m_Hud, m_Plane, and GLC_Geometry::setLineWidth().

void GLC_RepFlyMover::update (  )  [virtual]

Member Data Documentation

Center Circle.

Definition at line 105 of file glc_repflymover.h.

Referenced by createRepresentation(), glDraw(), setMainColor(), and setThickness().

HUD.

Definition at line 111 of file glc_repflymover.h.

Referenced by createRepresentation(), glDraw(), setMainColor(), and setThickness().

HUD offset.

Definition at line 114 of file glc_repflymover.h.

Referenced by createRepresentation(), and glDraw().

Plane.

Definition at line 108 of file glc_repflymover.h.

Referenced by createRepresentation(), glDraw(), setMainColor(), setThickness(), and update().

double GLC_RepFlyMover::m_Radius [private]

Center Circle radius.

Definition at line 102 of file glc_repflymover.h.

Referenced by createRepresentation(), and update().


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

SourceForge.net Logo

©2005-2011 Laurent Ribon