21#include <matrix/vlVector.h>
135 const std::string&
name()
const;
Contains makArchives::DtPropRecord class.
Contains makVrv:DtSelectionManager class.
Contains makVrv::DtUniqueID type.
A DtPropRecord contains the information to recreate a prop.
Definition DtPropRecord.h:20
The abstract interface necessary for agents.
Definition DtAgentManagerInterface.h:34
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer,...
Definition DtDe.h:77
Agent class for the scene object class: DtModel.
Definition DtModelAgent.hpp:27
void setColorFilter(float r, float g, float b, float a)
Set the multipliers for the prop's color.
DtTerrainTreeSettings * myTerrainTreeSettings
Definition DtProp.h:216
DtModelAgent * model()
Get the prop's distributed model driver.
float red() const
Get the current color filter components.
DtScribeBoxModelAgent * myScribeBoxModel
Definition DtProp.h:178
bool scribed() const
Get if the prop has a scribed bounding box.
const DtSceneObjectAgent * sceneObject() const
Get the prop's distributed scene object driver.
DtSceneObjectAgent * sceneObject()
Get the prop's distributed scene object driver.
void destroy()
Delete the contents of the prop.
double myPosX
Definition DtProp.h:203
std::string myPropType
Definition DtProp.h:175
void setOrientation(double psi, double theta, double phi)
Set the prop orientation in Euler angles.
void setExternalNodeLocation(const std::string &searchExpression, unsigned int index)
Set the location of the node moved to this prop from a terrain.
unsigned int searchIndex() const
Get the index used to find the prop.
DtSceneObjectAgent * mySceneObject
Definition DtProp.h:176
float myB
Definition DtProp.h:197
void getPosition(double &x, double &y, double &z) const
Get the prop position.
const std::string & searchExp() const
Get the expression used to find the prop.
std::string myName
The prop's unique name.
Definition DtProp.h:188
DtAgentManagerInterface & myAgentManagerInterface
Definition DtProp.h:218
void setPropType(const std::string &proptype)
Change the prop type of this prop.
float myG
Definition DtProp.h:196
double myOrientationW
Definition DtProp.h:211
double myPosY
Definition DtProp.h:204
void setVisible(bool isVisible)
Set the prop visible or not.
void setName(const std::string &name)
Set the props name.
void getOrientation(double &x, double &y, double &z, double &w) const
Get the prop orientation.
const std::string & name() const
Get the prop's name.
std::string mySearchExp
The expression that was used to find the prop.
Definition DtProp.h:184
void setPosition(double x, double y, double z)
Set the prop position in scene coordinates.
void setFromRecord(const makArchives::DtPropRecord &rec)
Fill out this prop from the record.
DtProp(DtDe &de, DtAgentManagerInterface &agentManagerInterface, const std::string &propType, const std::string &name)
CTOR Construct a prop from a model definition.
void setModelDefinition(const std::string &modelDefinition)
Set the model definition of a prop.
DtProp(const DtProp ©)
Copy CTOR.
bool getRecord(makArchives::DtPropRecord &recOut) const
Returns true if recOut was filled with all the information about this prop.
double myOrientationY
Definition DtProp.h:209
const std::string & modelDefinition() const
Get the model definition.
double myOrientationZ
Definition DtProp.h:210
DtDe & myDe
Definition DtProp.h:173
DtUniqueID uniqueID() const
Accessors.
const std::string & propType() const
Get type of prop (e.g. building, tree, ...).
DtModelAgent * myObjectModel
Definition DtProp.h:177
double myOrientationX
Definition DtProp.h:208
void setScribed(bool isSelected)
Set the prop has a scribed bounding box.
bool myIsTreeFlag
Definition DtProp.h:214
void setTerrainTreeSettings(DtTerrainTreeSettings *terrainTreeSettings)
Set tree settings (for when the prop is a tree).
float myR
Definition DtProp.h:195
friend class DtTerrainLayer
Definition DtProp.h:166
DtProp & operator=(const DtProp ©)
Assignment operator.
float myAlpha
Color components.
Definition DtProp.h:194
const DtTerrainTreeSettings * terrainTreeSettings(void) const
Get the tree settings (for when the prop is a tree).
bool operator==(const DtProp &prop) const
Returns true IFF argument has same type and name.
std::string myModelDefinition
The model definition.
Definition DtProp.h:181
bool myIsVisible
Whether the prop is visible.
Definition DtProp.h:191
void setOrientation(double x, double y, double z, double w)
Set the prop orientation.
const DtModelAgent * model() const
Get the prop's distributed model driver.
bool operator!=(const DtProp &prop) const
!= operator for props
double myPosZ
Definition DtProp.h:205
virtual void selectionChanged(const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected)
unsigned int mySearchIndex
Definition DtProp.h:185
Agent class for the scene object class: DtSceneObject.
Definition DtSceneObjectAgent.hpp:32
Agent class for the scene object class: DtScribeBoxModel.
Definition DtScribeBoxModelAgent.hpp:25
std::set< DtUniqueID > IdSet
Definition DtSelectionManager.h:32
Class for setting and maintaining state for user-modifiable TerrainTree settings All of the TerrainTr...
Definition DtTerrainTreeSettings.h:29
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
unsigned long long DtUniqueID
Definition DtUniqueID.h:19
Contains DLL export macros.
#define DT_DLL_VRVCORE
Definition vrvCore.h:20