Eaagles::Instruments::AnalogGauge Class Reference

Inherits Eaagles::Instruments::Instrument.

Inherited by Eaagles::Instruments::GaugeSlider, Eaagles::Instruments::TapeGauge, and Eaagles::Instruments::TickMarks.

Inheritance diagram for Eaagles::Instruments::AnalogGauge:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Instruments::AnalogGauge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AnalogGauge ()
virtual void drawFunc ()
virtual bool setLeftBoundary (const LCreal newLB)
virtual bool setRightBoundary (const LCreal newRB)
virtual bool setIsOutlined (const bool newO)
virtual bool setIsVertical (const bool newV)
LCreal getLeftBoundary ()
LCreal getRightBoundary ()
bool isOutlined ()
bool isVertical ()

Protected Member Functions

virtual bool setSlotLeftBoundary (const Basic::LcNumber *const newLB)
virtual bool setSlotRightBoundary (const Basic::LcNumber *const newRB)
virtual bool setSlotIsOutlined (const Basic::LcNumber *const newO)
virtual bool setSlotIsVertical (const Basic::LcNumber *const newV)

Private Attributes

LCreal gaugePos
LCreal leftBoundary
LCreal rightBoundary
bool outline
bool vertical

Constructor & Destructor Documentation

Eaagles::Instruments::AnalogGauge::AnalogGauge (  ) 


Member Function Documentation

void Eaagles::Instruments::AnalogGauge::drawFunc (  )  [virtual]

BasicGL::LcGraphic interface.

Reimplemented from Eaagles::BasicGL::LcGraphic.

Reimplemented in Eaagles::Instruments::GaugeSlider, Eaagles::Instruments::TapeGauge, and Eaagles::Instruments::TickMarks.

bool Eaagles::Instruments::AnalogGauge::setLeftBoundary ( const LCreal  newLB  )  [virtual]

set function - where to draw the left side of the gauge

bool Eaagles::Instruments::AnalogGauge::setRightBoundary ( const LCreal  newRB  )  [virtual]

set function - where to draw the right side of the gauge

bool Eaagles::Instruments::AnalogGauge::setIsOutlined ( const bool  newO  )  [virtual]

set function - if true, the guage isn't filled

bool Eaagles::Instruments::AnalogGauge::setIsVertical ( const bool  newV  )  [virtual]

set function - if true, the gauge slides up and down

LCreal Eaagles::Instruments::AnalogGauge::getLeftBoundary (  )  [inline]

Returns the left boundary in inches.

LCreal Eaagles::Instruments::AnalogGauge::getRightBoundary (  )  [inline]

Returns the right boundary in inches.

bool Eaagles::Instruments::AnalogGauge::isOutlined (  )  [inline]

Returns if we are outlined or filled.

bool Eaagles::Instruments::AnalogGauge::isVertical (  )  [inline]

Returns true if we are sliding vertically.

bool Eaagles::Instruments::AnalogGauge::setSlotLeftBoundary ( const Basic::LcNumber *const  newLB  )  [protected, virtual]

slot functions

bool Eaagles::Instruments::AnalogGauge::setSlotRightBoundary ( const Basic::LcNumber *const  newRB  )  [protected, virtual]

bool Eaagles::Instruments::AnalogGauge::setSlotIsOutlined ( const Basic::LcNumber *const  newO  )  [protected, virtual]

bool Eaagles::Instruments::AnalogGauge::setSlotIsVertical ( const Basic::LcNumber *const  newV  )  [protected, virtual]


Member Data Documentation

LCreal Eaagles::Instruments::AnalogGauge::gaugePos [private]

direction, in inches, that we want to scale our gauge

LCreal Eaagles::Instruments::AnalogGauge::leftBoundary [private]

our left boundary (in inches)

LCreal Eaagles::Instruments::AnalogGauge::rightBoundary [private]

our right boundary (in inches)

bool Eaagles::Instruments::AnalogGauge::outline [private]

are we an outline or filled?

bool Eaagles::Instruments::AnalogGauge::vertical [private]

are we sliding vertically or horizontally? (True = vertical)


Generated on Tue Dec 19 16:27:10 2006 for Eaagles by  doxygen 1.5.0