![]() |
VR-Forces 4.1 Class Documentation
|
class DtAreaConfigWidget: More...

Public Slots | |
| virtual void | createRoutes () |
| This routine will ask the user if they want to create separate route from each edge in the dialog. | |
| virtual void | setEditPoint (QTreeWidgetItem *item) |
| virtual void | moveEdgeUp () |
| These routines will take the points from an edge and move them up or down in the edge hierarchy. | |
| virtual void | moveEdgeDown () |
| virtual void | moveEdge (int iFrom, bool up, bool select=true) |
| virtual void | getPointRange (int iRangeIndex, int &iFrom, int &iTo) const |
| virtual QVector< DtPoint > | getPointList (int iRangeIndex) const |
Public Slots inherited from DtLineConfigWidget | |
| virtual void | updateUnits (const DtUnitDisplayManager *u) |
| virtual void | updateCoordinateSystem (const DtCoordSys &system) |
| virtual void | addPoint (const DtPoint &p) |
| virtual void | editPoint (const DtPoint &p) |
| virtual void | redisplayPoints () |
| virtual void | cancelAndClose () |
| virtual void | createAndClose () |
| virtual void | editAndClose () |
| virtual void | changeName (const QString &s) |
| virtual void | setEditPoint (QTreeWidgetItem *item) |
| virtual void | changeDefaultZPoint (double height) |
| virtual void | changeAllZPoints (double h) |
| virtual void | setHeightOffset (double h) |
| virtual void | addPoint () |
| virtual void | selectionChanged () |
| virtual void | userComplete (bool finish) |
| Received when the user has right clicked the mouse and they never want this dialog shown. | |
| virtual void | setInFreehandDrawingMode (bool) |
| Set when in freehand drawing mode. Will not update list box until set to false. | |
| virtual void | updateUnits (const QString &, const QString &, const QString &) |
Public Member Functions | |
| DtTerrainLineConfigWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| default constructor | |
| virtual | ~DtTerrainLineConfigWidget () |
| destructor | |
| virtual void | setPointRanges (const QVector< int > &ranges) |
| This routine will set grouped ranges of points in the dialog. | |
Public Member Functions inherited from DtLineConfigWidget | |
| DtLineConfigWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| default constructor | |
| virtual | ~DtLineConfigWidget () |
| destructor | |
| virtual bool | init (const DtTMMapArea *converter, QVector< DtPoint > *list, QString *name, QString *label, int forceType, const QString &minimumPoints, const DtModelData *data, bool editNotCreate=0, DtSymbol *workingSymbol=NULL, const DtEntityMapperKey *key=NULL, DtArchivableObject *userData=NULL) |
| virtual double | heightOffset () const |
| bool | editNotCreate () const |
| const DtEntityMapperKey & | entityMapperKey () const |
Static Public Member Functions | |
| static QWidget * | create (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) |
Protected Member Functions | |
| virtual QTreeWidgetItem * | addPoint (const DtPoint &pnt, QTreeWidgetItem *before, const QString &name, const QString &xtr, const QString &ystr, const QString &zstr) |
| If there is a range specified, add the point to the correct range, else call down to base class to add. | |
| virtual DtRangeGroup * | rangeGroup (int iPointNum) |
| Returns the current range parent or creates a new one if the range parent does not exist. | |
| virtual QTreeWidgetItem * | firstChild () |
| Override to make sure to skip range parent items. | |
| virtual QTreeWidgetItem * | nextSibling (QTreeWidgetItem *item) |
| virtual bool | isRangeGroup (QTreeWidgetItem *item) const |
| Returns true if the specified item is a range group item. | |
| virtual void | clearListView () |
| virtual void | reversePoints () |
| Reverse the points in the point list. | |
| virtual bool | initMainDialogChanges () |
| Override to modify the main body of the dialog with new controls. | |
| virtual void | createRouteFromRange (int route, int iBeing, int iEnd, bool last=false) |
| Creates a route from the specified range by putting all the points that need to be created into a temporary list and emitting the createActivated signal with that point list. | |
| virtual void | updateButtons () |
| virtual void | deletePoint () |
| virtual void | addPointToList (const DtPoint &p, QTreeWidgetItem *before) |
| virtual int | rangeIndex (QTreeWidgetItem *) const |
| Returns the range index of the group range item. Returns -1 if not a range group. | |
| virtual DtRangeGroup * | rangeGroup (QTreeWidgetItem *) const |
| Returns the range group of the specified list view item, or NULL if there is no parent. | |
| virtual unsigned int | childCount () const |
| virtual void | changePoint () |
| virtual void | reverseRangeGroup (const DtRangeGroup *) |
| Reverses the points found in the specified range group. | |
| virtual DtSymbol * | selectedSymbol () |
| Returns the currently selected symbol. | |
| virtual void | removeMappedSymbols () |
| virtual void | applyChangesToPointList () |
| Override to remove vertices that are next to each other in the list (i.e. | |
| virtual void | setupEdgeSymbol () |
| virtual DtModelData * | setupEdgeModelData () |
| virtual DtModelData * | edgeModelData () const |
Protected Member Functions inherited from DtLineConfigWidget | |
| virtual void | keyPressEvent (QKeyEvent *e) |
| Handle the return key to accept changes or escape key to cancel changes. | |
| virtual bool | initConnections (const DtTMMapArea *area) |
| virtual void | clearPointEdit () |
| virtual bool | passNameCheck () |
| virtual bool | shouldPublish () const |
| virtual void | updateNumPointsLabel () |
| virtual bool | prepareCreateModify (QColor &color) |
| virtual bool | hideZValues (const DtEntityMapperKey *key) |
| Hide Z values based on key type. Return true if want to hide. | |
| virtual void | hideHeightInformation () |
| virtual void | fillPointList () |
| virtual int | selectedIndex () const |
| virtual void | setLabels () |
| Sets labels due to coordinate system and unit selection. | |
| virtual bool | fillPointListIfDifferent (DtPoint *curPoint=NULL) |
| If the number of points in the list view is different than the internal list, update the internal list. | |
| virtual void | closeEvent (QCloseEvent *c) |
| virtual void | updateOptions (DtSymbol *symbol, const DtModelData *data, const DtEntityMapperKey *key) |
| virtual bool | eventFilter (QObject *o, QEvent *e) |
| virtual void | reversePoints (int iStart, int iCount) |
| Reverses the points from start to end location in the myPointList array and redisplay points on the screen. | |
| virtual void | reversePointsInMemory (int iStart, int iCount) |
| virtual void | updatePointList (bool emitSignal=true) |
| Clears and redisplays point list. | |
| virtual void | addPointToPointLists (DtPoint *pnt, int pos) |
| If there is a list of original points, add the point in relative position (given current sampling rate) into the list. | |
| virtual void | addPointToPointList (QVector< DtPoint > *list, DtPoint *pnt, int pos) |
| virtual bool | pointListsDifferent () |
| virtual void | setupZValue () |
Private Member Functions | |
| DtTerrainLineConfigWidget (const DtTerrainLineConfigWidget &orig) | |
| copy constructor | |
| DtTerrainLineConfigWidget & | operator= (const DtTerrainLineConfigWidget &orig) |
| assignment operator | |
Additional Inherited Members | |
Signals inherited from DtLineConfigWidget | |
| void | updateSymbol () |
| void | createActivated (QVector< DtPoint > &points, QString name, QString label, QColor color, int forceType, int appearance, bool publish, QString attachTo, DtArchivableObject *userData, bool lastOne=true) |
| void | cancelActivated () |
| void | editActivated (QString name, QString label, QColor color, int forceType, int appearance, bool publish, DtArchivableObject *userData) |
| void | heightOffsetChanged (double) |
| void | colorChanged () |
| Sent when the color of the object has changed. | |
| void | nameChanged () |
| Sent when the user has changed the name of the object. | |
| void | closing (QVector< DtPoint > *) |
| Emitted when this dialog is closing, also pass it along to the controller to remove any dialogs spawned by this dialog. | |
| void | altitudeSelectionChanged (int, double) |
Public Attributes inherited from DtLineConfigWidget | |
| Ui::LineConfigWidgetUi | myUiImpl |
class DtAreaConfigWidget:
Instances of DtAreaConfigWidget are
| DtTerrainLineConfigWidget::DtTerrainLineConfigWidget | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor
|
virtual |
destructor
|
private |
copy constructor
|
static |
Reimplemented from DtLineConfigWidget.
|
virtual |
This routine will set grouped ranges of points in the dialog.
This method will be called if more than one terrain edge is selected so the dialog can group route points by edges. The ranges are interpreted as how many points from the previous point in the range are included in this range (so, the first range is from 0 to the index). This range should be set before the dialog is initialized
|
protectedvirtual |
If there is a range specified, add the point to the correct range, else call down to base class to add.
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Returns the current range parent or creates a new one if the range parent does not exist.
|
protectedvirtual |
Override to make sure to skip range parent items.
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Returns true if the specified item is a range group item.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reverse the points in the point list.
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Override to modify the main body of the dialog with new controls.
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Creates a route from the specified range by putting all the points that need to be created into a temporary list and emitting the createActivated signal with that point list.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Returns the range index of the group range item. Returns -1 if not a range group.
|
protectedvirtual |
Returns the range group of the specified list view item, or NULL if there is no parent.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
Reverses the points found in the specified range group.
|
protectedvirtual |
Returns the currently selected symbol.
If a clone of the base terrain symbol does not exist, it will create one and add it to the view driver
|
protectedvirtual |
|
protectedvirtual |
Override to remove vertices that are next to each other in the list (i.e.
overlapping points from the end of one route to the beginning of the next)
Reimplemented from DtLineConfigWidget.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtualslot |
This routine will ask the user if they want to create separate route from each edge in the dialog.
If they do, each edge will be gathered into a point array and emitted as a signal to create a route from those point
|
virtualslot |
|
virtualslot |
These routines will take the points from an edge and move them up or down in the edge hierarchy.
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
private |
assignment operator
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Mapped terrain symbols to temp symbols kept track of by this dialog.
Used for reversing points
|
protected |
|
protected |