15 #include <matrix/vlVector.h>
27 class DtCoordinateSystem;
29 namespace vrvExampleDisplayUnitsPlugin
54 virtual QString
title();
QComboBox * myIdBox
Definition: ElementInspectorPage.h:120
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Contains makVrv::DtSubjectObserver class.
virtual ~ElementInspectorPage()
DTOR for page.
Contains makVrv::DtPage class declaration.
virtual DtQIconConfigurations qIconConfigurations() const
Get the icon configurations for the page. This is used to style the page's icon based on application ...
virtual const std::string & pageClassName() const
Get the class name of the page.
void updateElementPosition(DtElementEntry *entry)
Update the element position label.
DtPageCreatorTemplate< ElementInspectorPage > ElementInspectorPageCreator
Definition: ElementInspectorPage.h:142
virtual void slot_coordinateSystemChanged()
slot for when the coordinate system changes
Contains makVrv:DtSelectionManager class.
ElementInspectorPage(DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
The DtPage should not populate itself automatically. It should only do this when activate is called...
DtCoordinateSystem * myCoordinateSystem
local clone of the system wide coordinate system. for thread safety.
Definition: ElementInspectorPage.h:139
QLabel * myYLabel
Definition: ElementInspectorPage.h:126
virtual QString title()
Get the title of the page.
void updateElementType(DtElementEntry *entry)
Update the element type label.
QLabel * myIdLabel
Definition: ElementInspectorPage.h:119
DtElementEntry holds the non-simulation-specific data about an element, including its element type an...
Definition: DtElementEntry.h:22
virtual void slot_activate(DtDe *de)
Called when the display engine is done initializing.
QLabel * myZValue
Definition: ElementInspectorPage.h:131
DtSignalConnectionManager myConnections
Definition: ElementInspectorPage.h:135
void onRefreshElementDisplay()
Called by a timer ever so often to update the element display.
DtUnicode getDisplayUnitCollectionName(DtElementEntry *entry) const
Get the display unit collection name for the entry, if one is specified. If one is not specified...
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:51
void updateElementParameters(DtElementEntry *entry)
Update all of the element parameters.
void selectionChanged(const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected, DtSelectionManager::SelectionType newType, DtSelectionManager::SelectionType oldType)
Selection changed called when the selected elements in the scene changes. This is connected to the ap...
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
The ElementInspectorPage displays information about the currently selected elements. This page will display the element name, type, and it's location in the scene using the current display units.
Definition: ElementInspectorPage.h:35
virtual void activate()
Called when the page is displayed.
Base class to provide boost signal/slot management.
QLabel * myZLabel
Definition: ElementInspectorPage.h:127
void onCurrentElementIdChanged(int index)
Called when the current elemment id in the combo box is changed.
virtual void deactivate()
Called when the page is hidden.
QLabel * myTypeLabel
Definition: ElementInspectorPage.h:122
QGridLayout * myMainLayout
Definition: ElementInspectorPage.h:118
QLabel * myXLabel
Definition: ElementInspectorPage.h:125
QLabel * myTypeValue
Definition: ElementInspectorPage.h:123
SelectionType
The nature of the current selection.
Definition: DtSelectionManager.h:42
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
virtual QIcon icon()
Get the icon of the page.
QLabel * myXValue
Definition: ElementInspectorPage.h:129
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32
virtual void slot_deactivate(DtDe *de)
Called when the display engine is destroyed.
DtVector getPosition(DtElementEntry *entry) const
Get the local position for the entry. The position will be in local coordinates.
QLabel * myYValue
Definition: ElementInspectorPage.h:130
DtSignalConnectionManager mySignals
Definition: ElementInspectorPage.h:117
QTimer * myRefreshTimer
Definition: ElementInspectorPage.h:133
static const std::string & thePageClassName()
Get the class name of this page class.