13 #include <vrvCore/DtWindowObjectAgent.hpp>
14 #include <vrvCore/DtWindowPolygonAgent.hpp>
15 #include <vrvCore/DtWindowSurfaceAgent.hpp>
64 virtual const std::string&
className()
const;
virtual void drawLine()
Draw a line.
Definition: DtWindowObjectsDriver.h:48
DtWindowObjects myWindowAgents
Vector of the window agents.
Definition: DtWindowObjectsDriver.h:127
virtual void rotateWindowObject()
Rotate the currently selected window object Rotates anti clockwise in rads.
DtWindowPolygonAgent * mySurfaceClipBoxVisualPoly
Polygon for displaying clipping surface.
Definition: DtWindowObjectsDriver.h:144
virtual void shiftWindowObjectPosition(DtDirection direction)
Get the agent from the map at the param in key, get the position of the DtWindowObject() from the age...
Definition: DtWindowObjectsDriver.h:51
virtual void activateObjectType(int objectType)
Select which type of window object to draw.
std::vector< DtWindowObjectAgent * > DtWindowObjects
typedef vector for holding DtWindowObjectAgents
Definition: DtWindowObjectsDriver.h:55
virtual void setParenting()
Set parenting on/off Alternates on method call.
virtual bool onTick()
Stub implementation since this driver doesn't have anything that needs updating.
virtual DtWindowObjectAgent * findWindowObjectAgent(int vecLocation)
virtual ~DtWindowObjectsDriver()
Virtual DTOR.
Contains makVrv:DtAgentManager class.
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:30
DtWindowSurfaceAgent * mySurface
Surface for clipping window objects.
Definition: DtWindowObjectsDriver.h:141
virtual void drawObject()
Draw a window object. Draws the type of object activated via keyboard inputs default is polygon...
virtual void drawText()
Draw test.
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
virtual void modifyActivateObjectId(bool increaseIdNumber)
Select which window object to current modify.
virtual const std::string & className() const
Get the class name as a string.
virtual bool onStop()
Called when the driver is stopped by the display engine.
DtDirection
Enum for moving window objects.
Definition: DtWindowObjectsDriver.h:46
This driver is responsible for creating DtWindowObjects The VR - Vantage Control Toolkit lets you cre...
Definition: DtWindowObjectsDriver.h:42
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
virtual void modifyObjectVisibility()
Change the visibility of currently selected window object This will change the visibility of all its ...
virtual const std::string & instanceName() const
Get this driver's instance name.
int myActivatedObjectType
Location in the vector of the currently selected window object for control Checks vector bounds...
Definition: DtWindowObjectsDriver.h:131
bool myParenting
Whether the next created object will be a child of the previously created object. ...
Definition: DtWindowObjectsDriver.h:138
int myActivatedObjectId
The Object that is currently being moved This is a key for the myWindowAgentsMap. ...
Definition: DtWindowObjectsDriver.h:135
virtual void drawEllipse()
Draw a ellipse.
virtual void drawPolygon()
Draw a polygon.
virtual void scaleWindowObject(DtDirection direction)
Scale vertex methods This method will get the top parent window polygon from DtWindowObjectMap and sc...
Definition: DtWindowObjectsDriver.h:49
DtAgentManager & agentManager()
Get the master scene for this host. Do not create drivers using this agentManager, use the sceneInterface as it may replaced the implementation of the sceneInterface.
DtWindowObjectsDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
Definition: DtWindowObjectsDriver.h:50