18 #include <matrix/vlVector.h>
28 class DtSceneObjectUpdater;
31 class DtCoordinateSystem;
49 virtual bool needsUpdate(
DtTime tNow );
52 virtual void update(
DtTime tNow );
60 virtual void setEnvironmentalSceneObject(
DtSceneObject* sceneObject );
63 virtual void setOrderGroup(
int);
68 virtual void centerIcon();
74 virtual DtVector calculateLineCenter()
const;
77 virtual DtVector centerOnLine(
int startIndex,
int endIndex,
double lengthOnLine)
const;
84 virtual void slot_sceneObjectToBeDeleted(
const DtUniqueID&
id );
87 virtual void slot_modelAdded(
DtModel*);
90 virtual void slot_modelRemoved(
DtModel*);
93 virtual void slot_coordinateSystemChanged();
Distributed model for drawing polygons with attached vertices.
Definition: DtPolygonModel.h:20
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
DtUniqueID myUniqueId
This distributed object's unique identifier.
Definition: DtEnvironmentalIconCenteringUpdater.h:101
DtSignalConnectionManager myConnections
Definition: DtEnvironmentalIconCenteringUpdater.h:129
boost::signalslib::connection myModelRemovedConnection
Definition: DtEnvironmentalIconCenteringUpdater.h:127
DtDe & myDe
The display engine.
Definition: DtEnvironmentalIconCenteringUpdater.h:98
DtLineModel * myEnvironmentalLineModel
Definition: DtEnvironmentalIconCenteringUpdater.h:109
A DtEnvironmentalIconCenteringUpdater updates the attached scene object to be centered in the center ...
Definition: DtEnvironmentalIconCenteringUpdater.h:38
DtSceneObject * myEnvironmentalSceneObject
A pointer tothe current environmental scene object agent.
Definition: DtEnvironmentalIconCenteringUpdater.h:112
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
boost::signalslib::connection myModelAddedConnection
Definition: DtEnvironmentalIconCenteringUpdater.h:126
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:41
DtLineModel is the model interface for remote graphic lines.
Definition: DtLineModel.h:18
Base class to provide boost signal/slot management.
Contains the declaration for makVrv::DtTickable.
DtSceneObject * mySceneObject
A pointer to the current scene object being updated.
Definition: DtEnvironmentalIconCenteringUpdater.h:104
bool myUpdate
Definition: DtEnvironmentalIconCenteringUpdater.h:118
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
boost::signalslib::connection myEnvironmentalSceneObjectConnection
Definition: DtEnvironmentalIconCenteringUpdater.h:124
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
Contains makVrv::DtUniqueID type.
DtPolygonModel * myEnvironmentalPolygonModel
A pointer to the current environmental model object. Only one may be valid, however, both pointers are around for convenience.
Definition: DtEnvironmentalIconCenteringUpdater.h:108
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:70
std::vector< DtVector > myPoints
Points that were last used for calculation.
Definition: DtEnvironmentalIconCenteringUpdater.h:115
int myOrderGroup
Definition: DtEnvironmentalIconCenteringUpdater.h:117
boost::signalslib::connection mySceneObjectConnection
Definition: DtEnvironmentalIconCenteringUpdater.h:123
Contains DLL export macros.