Public Member Functions |
| | DtMovingObjectSymbol (DtSymbolDrawer &d) |
| | Constructor.
|
| virtual | ~DtMovingObjectSymbol () |
| | Destructor.
|
| | DtMovingObjectSymbol (const DtMovingObjectSymbol &orig) |
| | Copy Constructor.
|
| DtMovingObjectSymbol & | operator= (const DtMovingObjectSymbol &rhs) |
| | Assignment Operator.
|
| virtual void | copyDataFrom (const DtSymbol *symbol) |
| | Copy specific heading, etc. information.
|
| virtual void | setHighlight (const bool highlight) |
| | Draw -> draws the children not itself...
|
| virtual bool | highlight () const |
| virtual void | setOrigin (int x, int y) |
| | Same as above.
|
| virtual void | setOrigin (const QPoint &position) |
| | Set the display coordinate that will become the 0,0 point for drawing this symbol.
|
| virtual const DtDisplayPoint | centerPoint () const |
| | Set/get the location of the center of the symbol.
|
| virtual const QPoint | origin () const |
| | returns the display origin for the symbol.
|
| virtual bool | select (const QPoint &point) |
| | Checks to see if any children symbols intersect.
|
| virtual bool | selectPart (const QPoint &point) |
| | See if something that is part of this entity symbol wants to be selected.
|
| virtual bool | select (const QPoint &point, const QSize &s) |
| | Returns true if the rectangle intersects the symbol, if the symbol is selectable.
|
| virtual QSize | bbox () const |
| | Calculates size of the composite based on its children.
|
| virtual QRect | selBbox () const |
| | Get the selection box (area where you can select an item)
|
| virtual DtLineSymbol * | velocityIndicator () |
| virtual void | setVelocityIndicator (DtLineSymbol *s) |
| virtual DtLineSymbol * | headingIndicator () |
| virtual void | setHeadingIndicator (DtLineSymbol *s) |
| virtual DtSymbol * | damagedSymbol () |
| virtual void | setDamagedSymbol (DtSymbol *s) |
| virtual DtSymbol * | objectConsoleWarningIndicator () |
| virtual void | setObjectConsoleWarningIndicator (DtSymbol *s) |
| virtual DtTTSSymbol * | location () |
| virtual void | setLocation (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | velocity () |
| virtual void | setVelocity (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | acceleration () |
| virtual void | setAcceleration (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | heading () |
| virtual void | setHeading (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | entityType () |
| virtual void | setEntityType (DtTTSSymbol *s) |
| virtual DtSymbol * | clone () const |
| | Returns an instance of a symbol which is a copy of this.
|
| virtual int | resetLabelPositions () const |
| virtual void | setPenColor (const QColor &color) |
| | Sets the color of all labels.
|
| virtual void | shift (QPoint p) |
| | Move the center of this object by p amount.
|
| virtual void | setRotateToHeading (bool b) |
| | Accessors for rotation.
|
| virtual bool | rotateToHeading () const |
| virtual void | setRotationValue (double d) |
| | Value must be in degrees.
|
| virtual double | rotationValue () const |
| | DtNameLabelSymbol () |
| | Constructor.
|
| | DtNameLabelSymbol (DtSymbolDrawer &d) |
| virtual | ~DtNameLabelSymbol () |
| | Destructor.
|
| | DtNameLabelSymbol (const DtNameLabelSymbol &orig) |
| | Copy Constructor.
|
| DtNameLabelSymbol & | operator= (const DtNameLabelSymbol &rhs) |
| | Assignment Operator.
|
| virtual DtTTSSymbol * | name () |
| virtual void | setName (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | label () |
| virtual void | setLabel (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | layer () |
| virtual void | setLayer (DtTTSSymbol *s) |
| virtual bool | offsetFromBottom () const |
| | Return true if you want to offset labels from bottom of symbol.
|
| virtual void | setOffsetFromBottom (bool b) |
| virtual void | setColor (const QColor &col) |
| | Sets the color of the main symbol and name/label.
|
| virtual void | setMainSymbolColor (const QColor &col) |
| | Set the color of the main symbol if it is a DtColorizedSymbol.
|
| virtual QColor * | mainSymbolColor () const |
| virtual QColor | penColor () const |
| virtual void | setNeedsLabelUpdate (bool b) |
| virtual bool | needsLabelUpdate () const |
| virtual bool | addNameLabel () const |
| virtual bool | addLabelLabel () const |
| virtual bool | addLayerLabel () const |
| virtual bool | canChangeFont () const |
| | Return true if the dialog (point dialog only) should show a font change section rather than the default height above terrain section.
|
| virtual void | setName (const QString &name) |
| | The specific name of this symbol.
|
| virtual QString | getName () const |
| virtual void | setLabel (const QString &label) |
| virtual QString | getLabel () const |
| virtual void | setLayer (const QString &label) |
| virtual QString | getLayer () const |
| virtual const QFont * | font () const |
| virtual void | setFontname (const QString &font) |
| virtual bool | adjustPoints (QPolygon &pnts, bool constrain) |
| | Opportunity to adjust the point array to some desired other points.
|
| virtual void | setEditable (bool b) |
| | Accessors for whether or not this line can be edited.
|
| virtual bool | editable () const |
| virtual void | setAllowEditOnSelection (bool b) |
| | Set in main symbol as well.
|
| virtual bool | supportsRightClickDialog () const |
| | Returns true as to whether or not dialogs can be shown on right clicks.
|
| virtual bool | freehand () const |
| | Returns true if main symbol is in freehand mode.
|
| virtual DtTTSSymbol * | createNameSymbol () |
| | Must set drawer to draw labels before being able to create.
|
| virtual DtTTSSymbol * | createLabelSymbol () |
| virtual void | setLabelDrawer (DtSymbolDrawer *drawer) |
| void | setPositionLabelChildren (bool) |
| bool | positionLabelChildren () const |
| virtual void | clearColor () |
| | Noop function to allow subclasses to clear out any color information.
|
| virtual void | clearMainSymbolColor () |
| | DtCompositeSymbol (const DtCompositeSymbol &orig) |
| | standard
|
| DtCompositeSymbol & | operator= (const DtCompositeSymbol &orig) |
| virtual | ~DtCompositeSymbol () |
| | DtCompositeSymbol (DtSymbolDrawer &drawer) |
| | default constructor
|
| | DtCompositeSymbol (DtSymbolDrawer &drawer, const DtDisplayPoint ¢er) |
| virtual bool | setLocationData (const QPolygon *) |
| | This function is used so that multipoint symbols have the same interface as single point symbols In the single point case, it takes the first value and sets the origin from that.
|
| virtual void | draw (QPainter &paint) const |
| virtual void | drawHidden (QPainter &paint) const |
| virtual void | addSymbol (DtSymbol *symbol, bool isALabel=false) |
| | Adds a child symbol to the composite.
|
| virtual void | removeSymbol (const DtSymbol *symbol, bool deleteSymbol=true, bool resetMainSymbol=false) |
| | Removes a child symbol from the composite.
|
| virtual void | removeSymbol (int iIndex, bool deleteSymbol=true, bool resetMainSymbol=false) |
| virtual void | removeAllSymbols (const QVector< DtSymbol * > &except=QVector< DtSymbol * >()) |
| | Removes all child symbols from the composite.
|
| virtual DtSymbol * | setMainSymbol (DtSymbol *symbol) |
| | Set/get the center symbol.
|
| virtual DtSymbol * | mainSymbol () const |
| virtual DtSymbol * | getSymbolByName (const QString &name) |
| | Get a symbol by using its name.
|
| virtual bool | isComposite () |
| | Returns true if this symbol is a combination of others (this returns true)
|
| virtual bool | overlapsSymbol (const DtSymbol &aSymbol, const DtSymbol_OverlapTest aTest=DtSymbol_BoxPieces, const float aTolerance=0) const |
| | Returns true if the two symbols overlap Different intersection tests are available.
|
| virtual bool | labelsOverlapsSymbol (const DtSymbol &aSymbol, const DtSymbol_OverlapTest aTest=DtSymbol_BoundingBox, const float aTolerance=0) const |
| virtual DtSymbolList * | childrenList () const |
| virtual DtSymbolList * | labelList () const |
| virtual bool | show (DtShowHideContext module) |
| | Show this symbol and any other symbol in the hidden list.
|
| virtual bool | hide (DtShowHideContext module) |
| | Hide symbols that are shown and put into hidden list.
|
| virtual void | setDrawOrder () |
| | Creates the draw order list for the symbols.
|
| virtual int | labelOffset (const DtSymbol *s) const |
| | Returns the label offset from the main symbols bounding box.
|
| virtual void | setLabelOffset (int i) |
| virtual const QPoint & | lowestLabelOffset () const |
| | Returns the parent offset of the last label drawn.
|
| virtual void | setTransparencyLevel (int i) |
| | Transparency information.
|
| virtual void | hideAllChildren (DtShowHideContext iModule=DtDefaultShowHideContext) |
| | Hides all children but keeps main symbol shown.
|
| virtual void | showAllChildren (DtShowHideContext iModule=DtDefaultShowHideContext) |
| | Shows all children.
|
| virtual void | setShadowText (bool b) |
| | Cycles through all children and set shadow text to be true (if they are TTS symbol).
|
| virtual void | blockSignals (bool) |
| | Blocks signals from being emitted from this symbol.
|
| virtual bool | originIsCenterOfMass () const |
| | Asks main symbol if the origin is center of call.
|
| virtual void | setCacheSymbolAsBitmap (bool) |
| | Get/set whether or not the drawer should cache this symbol as a bitmap.
|
| virtual void | setShowIndicatorOption (int) |
| int | showIndicatorOption () const |
| virtual DtShowHideContext | mapIndicatorOptionToContext (int) const |
| virtual bool | editMode () |
| | Extends the editMode functions from basic DtySymbol to propagate correctly.
|
| virtual void | setEditMode (bool onOff) |
| virtual void | reset () |
| | Resets any relevant information associated with this symbol.
|
| virtual | ~DtSymbol () |
| | destructor
|
| | DtSymbol (const DtSymbol &orig) |
| | copy constructor
|
| DtSymbol & | operator= (const DtSymbol &orig) |
| | assignment operator Note that the copy constructor, by default, make the symbol non editable even if the source is editable
|
| | DtSymbol (DtSymbolDrawer &drawer) |
| | Drawer is non-const since it does memory management.
|
| virtual const QString & | name () const |
| virtual bool | selected () const |
| virtual const DtDisplayPoint | topLeftPoint () const |
| | The real visual top left corner of the symbol in display coordinates.
|
| virtual const QPolygon * | getLocationData () const |
| | Provided for a simpler interface to subclasses.
|
| virtual const DtSymbolDrawer & | drawer () const |
| virtual QRect | brect () const |
| virtual void | clearOffsetToParent () |
| | Set/get the offset to the parent.
|
| virtual void | setOffsetToParent (const QPoint &offsetToParent) |
| virtual const QPoint * | offsetToParent () const |
| | if the offsetToParent blit has been cleared, this returns null
|
| virtual void | show () |
| | Use this method to show the symbol regardless of how many contexts have hidden it.
|
| virtual void | hide () |
| | Use this method to hide a symbol without context. Same as hide(DtDefaultShowHideContext)
|
| virtual void | addIgnoreContext (DtShowHideContext) |
| | Add/remove contexts for hide() to ignore.
|
| virtual void | removeIgnoreContext (DtShowHideContext) |
const QVector
< DtShowHideContext > & | ignoreContexts () const |
| virtual bool | isShown () const |
| virtual DtSymbol * | parent () const |
| virtual void | setParent (DtSymbol *dad) |
| virtual DtSymbolGeometry | geometry () const |
| virtual void | setGeometry (DtSymbolGeometry geom) |
| virtual void | setCategoryTag (const QString &name) |
| | A tag is the name of this type of symbol such as velocity vector name or force or whatever.
|
| virtual const QString & | categoryTag () const |
| virtual void | setSelectable (bool value) |
| | Set/get the ability to select with this symbol.
|
| virtual bool | isSelectable () const |
| virtual bool | allowEditOnSelection () const |
| virtual void | setInternalSelectable (bool value) |
| | The following two functions are internal values kept in order to make sure that if an object has been filter modified and not shown, that it will not be selectable.
|
| virtual bool | isInternalSelectable () const |
| virtual void | setAddToDrawOrder (bool b) |
| | Add this item to the draw order regardless of whether or not it is visible on the screen.
|
| virtual bool | addToDrawOrder () const |
| virtual bool | overlapsAreaSymbol (const DtSymbol &aSymbol, const DtSymbol_OverlapTest aTest=DtSymbol_BoxPieces, const float aTolerance=0) const |
| | handles the case when aSymbol spans an area, such as a bitmap or a text symbol.
|
| virtual bool | overlapsLineSymbol (DtSymbol &aSymbol, const float aTolerance=0) const |
| | handles the case when aSymbol is composed of line segments, such as a line, polygon, or route.
|
| virtual bool | isOriginal () const |
| | Returns true if this symbol is an original symbol, otherwise return false.
|
| virtual DtStaticAnimData * | staticAnimData () const |
| virtual void | setDrawOnComposite (DtSymbolCompositeDrawOptions opt) |
| | If true, will not draw this symbol if it is part of a composite symbol.
|
| virtual bool | drawOnComposite () const |
virtual
DtSymbolCompositeDrawOptions | drawOnCompositeValue () const |
| virtual bool | drawFirst () const |
| | If true, this symbol will always be drawn first.
|
| virtual void | setDrawFirst (bool b) |
| virtual bool | drawLast () const |
| | If true, this symbol will always be drawn last.
|
| virtual void | setDrawLast (bool b) |
| virtual bool | selectAdditionalSymbols (QList< DtSymbol * > &additionalSymbols) |
| | This routine is called during symbol selection time to see if the selection of this symbol requires other symbols to be selected as well.
|
| virtual void | setDragClone (DtSymbol *clone) |
| | Contains the symbol that is being dragged that represents this symbol.
|
| virtual DtSymbol * | dragClone () const |
| virtual double | scaleBy () const |
| virtual void | enableVisibilityChange (bool b) |
| virtual void | scheduleDisplayComplete (int) |
| | Sets a QTimer for the specified amount of time to fire off and then call the displayComplete() slot.
|
| virtual void | setShouldSelect (bool) |
| virtual bool | shouldSelect () const |
| virtual int | transparencyLevel () const |
| virtual bool | needsTransparentRedraw () const |
| | Will return true if there is no cached image or internal variables have changed such that the cached image needs a redraw.
|
| virtual QPixmap * | transparentImage () const |
| virtual QPixmap * | cacheTransparentImage (const QPixmap &pixmap) |
| virtual QPixmap * | cacheTransparentImage (const QImage &image) |
| virtual bool | wantsTransparentDraw () const |
| | Will return true if transparent percent is not 0 or 100.
|
| bool | operator== (const DtSymbol &orig) const |
| bool | operator!= (const DtSymbol &orig) const |
| virtual DtSymbolDrawer * | symbolDrawer () |
| | Sets the new drawer to be the supplied drawer.
|
| virtual DtSymbolDrawer * | setDrawer (const DtSymbolDrawer &) |
| virtual DtSymbolDrawer & | backupDrawer () const |
| | Returns the drawer that was set as a backup.
|
| virtual void | setBackupDrawer (DtSymbolDrawer *) |
| virtual bool | removeIfOffScreen () const |
| | Return true/false if this symbol should be removed if it is off screen By default is true.
|
| void | setRemoveIfOffScreen (bool b) |
| | Default is true.
|
| virtual void | setSymbolDisplayOptions (DtSymbolDisplayOptions *) |
virtual const
DtSymbolDisplayOptions * | symbolDisplayOptions () const |
| virtual DtSymbolDisplayOptions * | symbolDisplayOptions () |
| virtual int | displayOptionsCache () const |
| void | setAdjustPoints (bool) |
| bool | adjustPoints () const |
const QVector
< DtShowHideContext > & | hiddenByModules () const |
| | Routines to access which modules this symbol is hidden by.
|
| bool | hiddenByModule (DtShowHideContext module) const |
| bool | cacheSymbolAsBitmap () const |
| virtual const QString & | bitmapSymbolCacheKey () const |
| | Returns a cache key that can be used to lookup in a bitmap cache.
|