VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions
DtLineObjectSymbol Class Reference

class DtLineObjectSymbol: More...

Inheritance diagram for DtLineObjectSymbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtLineObjectSymbol ()
 Constructor.
 DtLineObjectSymbol (DtSymbolDrawer &d)
virtual ~DtLineObjectSymbol ()
 Destructor.
 DtLineObjectSymbol (const DtLineObjectSymbol &orig)
 Copy Constructor.
DtLineObjectSymboloperator= (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 DtSymbolclone () 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 DtSymbolcreate (DtSymbolDrawer &drawer)

Detailed Description

class DtLineObjectSymbol:

Instances of DtLineObjectSymbol are


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy Constructor.


Member Function Documentation

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.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)