VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRotationPartMapper.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
14 
15 #include <string>
16 
17 namespace osg
18 {
19  class NOde;
20 }
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtOsgArticulatedModel;
26 
30  {
31  public:
34 
36  virtual ~DtRotationPartMapper();
37 
38  private:
39  DtRotationPartMapper() = delete;
40  DtRotationPartMapper(const DtRotationPartMapper& rhs) = delete;
41  DtRotationPartMapper& operator=(const DtRotationPartMapper& rhs) = delete;
42  public:
44  virtual void configure(osg::Node* node, DtOsgArticulatedModel* osgArticulatedModel, const rapidjson::Value& jsonData);
45  public:
46  static const std::string theFeatureName;
47  protected:
49  protected:
50  static const std::string theRotDirTag;
51  static const std::string theDegreesPerSecTag;
52  };
53 
55  {
56  public:
59 
61  virtual ~DtRotationPartMapperCreator();
62  public:
64  virtual DtRotationPartMapper* create(DtDe& de, osg::Node* node,
65  DtOsgArticulatedModel* osgArticulatedModel,
66  const rapidjson::Value& jsonObject, const std::string& modelDefName,
67  const DtElementID elementId, const DtUniqueID uniqueId
68  , const unsigned int nodeTypeIndex);
69  };
70 }
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
static const std::string theDegreesPerSecTag
Definition: DtRotationPartMapper.h:51
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.
IMGUI_API void Value(const char *prefix, bool b)
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtDe & myDe
Definition: DtRotationPartMapper.h:48
sets up a rotation on a node, given the speed, direction in the meta file does not need to create a t...
Definition: DtRotationPartMapper.h:29
static const std::string theFeatureName
Definition: DtRotationPartMapper.h:46
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:72
Contains makVrv::DtMetaObjectCreator class.
Definition: DtRotationPartMapper.h:54
static const std::string theRotDirTag
Definition: DtRotationPartMapper.h:50
Abstract dynamic feature creator class. A dynamic feature retrieves data from a .meta file and applie...
Definition: DtMetaObjectCreator.h:35

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)