Inheritance diagram for Eaagles::Instruments::DialTickMarks:


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::LcGraphic * | getTickGraphic () |
Protected Member Functions | |
| bool | setSlotLength (const Basic::LcNumber *const newLength) |
| bool | setSlotQuantity (const Basic::LcNumber *const newQ) |
Private Attributes | |
| LCreal | length |
| int | quantity |
| BasicGL::LcGraphic * | myGraphic |
| Eaagles::Instruments::DialTickMarks::DialTickMarks | ( | ) |
| void Eaagles::Instruments::DialTickMarks::drawFunc | ( | ) | [virtual] |
| 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] |
tick mark length (if not a graphic)
int Eaagles::Instruments::DialTickMarks::quantity [private] |
how many tick marks will we have?
our graphic (if we choose to use on for a tick mark)
1.5.0