15 #include <matrix/vlVector.h>
16 #include <matrix/vlTaitBryan.h>
18 #include <osg/MatrixTransform>
19 #include <osg/Matrixf>
29 class DtOsgSceneConnector;
30 class DtOsgIndirectEntityManager;
31 class DtOsgSimpleModelInstance;
57 virtual void setModelDefinition(
const std::string& str);
60 virtual void setVisible(
bool visible);
63 virtual void setPosition(
int vtx,
const DtVector& position);
66 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation);
70 virtual void setPositionOffset(
const DtVector& positionOffset);
74 virtual void setOrientationOffset(
const DtTaitBryan& orientationOffset);
86 virtual void addToSceneAsProp(
const DtUniqueID& sceneObjectId);
89 virtual void removeFromScene();
94 virtual void setIsSupportModel(
bool isSupport);
104 virtual void enableColorBlending(
bool b);
107 virtual void setBlendColor(
float r,
float g,
float b,
float a);
111 virtual void setModelScalingEnabled(
bool b);
114 virtual bool modelScalingEnabled();
117 virtual void slot_atcModeEnableChanged(
bool state);
DtTaitBryan mySetOrientation
Definition: DtOsgSimpleModel.h:131
DtVector myBoundMin
Definition: DtOsgSimpleModel.h:136
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool myInitialOrientationOffsetSet
Definition: DtOsgSimpleModel.h:134
singleton class that acts as a bridge between the
Definition: DtOsgIndirectEntityManager.h:68
bool myInitialOrientationSet
Definition: DtOsgSimpleModel.h:130
DtVector mySetPosition
Definition: DtOsgSimpleModel.h:129
DtSignalConnectionManager myConnections
Definition: DtOsgSimpleModel.h:137
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:77
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgSimpleModel.h:121
bool myInitialPositionSet
Definition: DtOsgSimpleModel.h:128
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myModelScalingEnabled
Definition: DtOsgSimpleModel.h:124
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtModel class.
Base class to provide boost signal/slot management.
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:56
Contains makVrv::DtUniqueID type.
DtUniqueID mySceneObjectId
Definition: DtOsgSimpleModel.h:127
Contains DLL export macros.
bool myInitialPositionOffsetSet
Definition: DtOsgSimpleModel.h:133
std::string myModelDefinition
Definition: DtOsgSimpleModel.h:126
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:72
This is a realization of DtModel. It is a model class that is used to create a simple, model definition-based modelInstance. Renaming (when the Attachable- is removed from the class name) is recommended.
Definition: DtOsgSimpleModel.h:38
DtModelSetId
Definition: DtModelSetEnums.h:19
DtOsgIndirectEntityManager & myIndirectEntityManager
Definition: DtOsgSimpleModel.h:140