![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtLineObjectSymbol: More...

Public Member Functions | |
| DtLineObjectSymbol () | |
| Constructor. | |
| DtLineObjectSymbol (DtSymbolDrawer &d) | |
| virtual | ~DtLineObjectSymbol () |
| Destructor. | |
| DtLineObjectSymbol (const DtLineObjectSymbol &orig) | |
| Copy Constructor. | |
| DtLineObjectSymbol & | operator= (const DtLineObjectSymbol &rhs) |
| Assignment Operator. | |
| virtual bool | select (const QPoint &point) |
| Checks to see if any children symbols intersect. | |
| virtual bool | select (const QPoint &point, const QSize &s) |
| Returns true if the rectangle intersects the symbol, if the symbol is selectable. | |
| virtual void | setHighlight (const bool highlight) |
| Set/get the highlight flag (whether the symbol should be drawn highlighted). | |
| virtual bool | highlight () const |
| virtual DtSymbol * | clone () const |
| Returns an instance of a symbol which is a copy of this. | |
| virtual int | resetLabelPositions () const |
| virtual const QPolygon * | getLocationData () const |
| Provided for a simpler interface to subclasses. | |
| virtual bool | closedFigure () const |
| virtual bool | adjustPoints (QPolygon &pnts, bool constrain) |
| Adjusts the list of points to match the box we need. | |
| virtual bool | setAndCalculatePoint (int iIndex, const QPoint &pnt) |
| Given a screen point, return a point on the line that will draw exactly to the screen. | |
| virtual bool | setAndCalculatePoint (int iIndex, const DtPoint &pnt, QVector< DtPoint > *list) |
| Given a database point and database coordinates, calculate new locations based on that and place the results into the supplied array. | |
| virtual void | setAdjustPoints (bool) |
| virtual bool | adjustPoints () const |
Static Public Member Functions | |
| static DtSymbol * | create (DtSymbolDrawer &drawer) |
class DtLineObjectSymbol:
Instances of DtLineObjectSymbol are
Constructor.
| virtual DtLineObjectSymbol::~DtLineObjectSymbol | ( | ) | [virtual] |
Destructor.
| DtLineObjectSymbol::DtLineObjectSymbol | ( | const DtLineObjectSymbol & | orig | ) |
Copy Constructor.
| DtLineObjectSymbol& DtLineObjectSymbol::operator= | ( | const DtLineObjectSymbol & | rhs | ) |
Assignment Operator.
| virtual bool DtLineObjectSymbol::select | ( | const QPoint & | point | ) | [virtual] |
Checks to see if any children symbols intersect.
Reimplemented from DtCompositeSymbol.
Reimplemented in DtAreaObjectSymbol, and DtCircleObjectSymbol.
| virtual bool DtLineObjectSymbol::select | ( | const QPoint & | aPoint, |
| const QSize & | rectangleSize | ||
| ) | [virtual] |
Returns true if the rectangle intersects the symbol, if the symbol is selectable.
Reimplemented from DtSymbol.
Reimplemented in DtCircleObjectSymbol.
| virtual void DtLineObjectSymbol::setHighlight | ( | const bool | highlight | ) | [virtual] |
Set/get the highlight flag (whether the symbol should be drawn highlighted).
Reimplemented from DtCompositeSymbol.
Reimplemented in DtCircleObjectSymbol.
| virtual bool DtLineObjectSymbol::highlight | ( | ) | const [virtual] |
Reimplemented from DtSymbol.
Reimplemented in DtCircleObjectSymbol.
| virtual DtSymbol* DtLineObjectSymbol::clone | ( | ) | const [virtual] |
Returns an instance of a symbol which is a copy of this.
The caller is responsible for freeing the memory.
Reimplemented from DtNameLabelSymbol.
Reimplemented in DtCircleObjectSymbol, and DtAreaObjectSymbol.
| virtual int DtLineObjectSymbol::resetLabelPositions | ( | ) | const [virtual] |
Reimplemented from DtNameLabelSymbol.
Reimplemented in DtCircleObjectSymbol.
| virtual const QPolygon* DtLineObjectSymbol::getLocationData | ( | ) | const [virtual] |
Provided for a simpler interface to subclasses.
Since there is only one point (the origin), this routine will return NULL
Reimplemented from DtSymbol.
| virtual bool DtLineObjectSymbol::closedFigure | ( | ) | const [virtual] |
Reimplemented in DtAreaObjectSymbol.
| virtual bool DtLineObjectSymbol::adjustPoints | ( | QPolygon & | pnts, |
| bool | constrain | ||
| ) | [virtual] |
Adjusts the list of points to match the box we need.
Reimplemented from DtNameLabelSymbol.
| virtual bool DtLineObjectSymbol::setAndCalculatePoint | ( | int | iIndex, |
| const QPoint & | pnt | ||
| ) | [virtual] |
Given a screen point, return a point on the line that will draw exactly to the screen.
Will modify by fixed length if set. It will set the point in the main symbol when complete. Return true if something changes
| virtual bool DtLineObjectSymbol::setAndCalculatePoint | ( | int | iIndex, |
| const DtPoint & | pnt, | ||
| QVector< DtPoint > * | list | ||
| ) | [virtual] |
Given a database point and database coordinates, calculate new locations based on that and place the results into the supplied array.
| virtual void DtLineObjectSymbol::setAdjustPoints | ( | bool | ) | [virtual] |
Reimplemented from DtSymbol.
| virtual bool DtLineObjectSymbol::adjustPoints | ( | ) | const [virtual] |
Reimplemented from DtSymbol.
| static DtSymbol* DtLineObjectSymbol::create | ( | DtSymbolDrawer & | drawer | ) | [static] |
Reimplemented from DtNameLabelSymbol.
Reimplemented in DtAreaObjectSymbol, and DtCircleObjectSymbol.