Eaagles::Instruments::DialTickMarks Class Reference

Inherits Eaagles::Instruments::AnalogDial.

Inheritance diagram for Eaagles::Instruments::DialTickMarks:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DialTickMarks ()
virtual void drawFunc ()
virtual bool setLength (const LCreal newLength)
virtual bool setQuantity (const int newQ)
virtual bool setTickGraphic (const BasicGL::LcGraphic *const newGraphic)
LCreal getLength ()
int getQuantity ()
BasicGL::LcGraphicgetTickGraphic ()

Protected Member Functions

bool setSlotLength (const Basic::LcNumber *const newLength)
bool setSlotQuantity (const Basic::LcNumber *const newQ)

Private Attributes

LCreal length
int quantity
BasicGL::LcGraphicmyGraphic

Constructor & Destructor Documentation

Eaagles::Instruments::DialTickMarks::DialTickMarks (  ) 


Member Function Documentation

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

BasicGL::LcGraphic interface.

Reimplemented from Eaagles::Instruments::AnalogDial.

bool Eaagles::Instruments::DialTickMarks::setLength ( const LCreal  newLength  )  [virtual]

set the length of each tick mark (inches)

bool Eaagles::Instruments::DialTickMarks::setQuantity ( const int  newQ  )  [virtual]

set the # of tick marks

bool Eaagles::Instruments::DialTickMarks::setTickGraphic ( const BasicGL::LcGraphic *const  newGraphic  )  [virtual]

if you want to use a complex graphic as a tick mark this will override the setLength() function and will use a graphic to draw.

LCreal Eaagles::Instruments::DialTickMarks::getLength (  )  [inline]

int Eaagles::Instruments::DialTickMarks::getQuantity (  )  [inline]

Returns the number of tick marks.

BasicGL::LcGraphic* Eaagles::Instruments::DialTickMarks::getTickGraphic (  )  [inline]

Returns the graphic - if graphic is null, returns 0.

bool Eaagles::Instruments::DialTickMarks::setSlotLength ( const Basic::LcNumber *const  newLength  )  [protected]

slot functions

bool Eaagles::Instruments::DialTickMarks::setSlotQuantity ( const Basic::LcNumber *const  newQ  )  [protected]


Member Data Documentation

LCreal Eaagles::Instruments::DialTickMarks::length [private]

tick mark length (if not a graphic)

int Eaagles::Instruments::DialTickMarks::quantity [private]

how many tick marks will we have?

BasicGL::LcGraphic* Eaagles::Instruments::DialTickMarks::myGraphic [private]

our graphic (if we choose to use on for a tick mark)


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