23 #include <rapidjson/document.h>
29 class DtOsgArticulatedModel;
49 ,
const unsigned int nodeTypeIndex) = 0;
52 template<
class TickableToCreate,
bool add>
69 virtual TickableToCreate*
create(
DtDe& de, osg::Node* node,
73 ,
const unsigned int nodeTypeIndex)
76 if (osgArticulatedModel)
81 TickableToCreate* tickable =
new TickableToCreate(de,
82 elementId, parentSceneObjectId, uniqueId, nodeTypeIndex, osgArticulatedModel);
83 tickable->configure(node, jsonObject);
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtUniqueID sceneObjectId() const
Parent of the model.
DtTemplatedTickableCreator()
CTOR.
Definition: DtMetaObjectCreator.h:57
Contains makVrv::DtDe class.
An articulated model manipulator for controlling an articulated model. Supports indirect rendering of...
Definition: DtOsgArticulatedModel.h:67
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
Contains makVrv::DtVirtualBaseClass class.
virtual bool addTickableObject(DtTickable *ticObj)=0
Add a DtTickable object to this manager.
virtual TickableToCreate * create(DtDe &de, osg::Node *node, DtOsgArticulatedModel *osgArticulatedModel, const rapidjson::Value &jsonObject, const std::string &modelDefName, const DtElementID elementId, const DtUniqueID uniqueId, const unsigned int nodeTypeIndex)
Creator method.
Definition: DtMetaObjectCreator.h:69
Definition: DtMetaObjectCreator.h:53
IMGUI_API void Value(const char *prefix, bool b)
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
virtual DtRenderer & renderer() const
Get the renderer.
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
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
Contains the makVrv::DtOsgArticulatedModel class declaration.
DtTickableManagerInterface & tickableManager()
Get the scene manager's attachable scene object manager.
virtual ~DtTemplatedTickableCreator()
DTOR.
Definition: DtMetaObjectCreator.h:63
Contains the declaration for makVrv::DtTickableManager.