VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSwitchStateMapper.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
14 
15 namespace makVrv
16 {
17  class DtOsgArticulatedModel;
18 
24  public DtVirtualBaseClass
25  {
26  public:
27 
30 
32  virtual ~DtSwitchStateMapper();
33 
36  virtual void configure(osg::Node* n, DtOsgArticulatedModel* osgArticulatedModel, const std::string& modelDefName, const rapidjson::Value& jsonData);
37 
38  public:
39  // @{
42  static const char* theSwitchStateMapperFeatureName;
43  // @}
44 
45  private:
48 
51 
53  DtSwitchStateMapper& operator=(const DtSwitchStateMapper);
54 
55  protected:
56 
58 
60  std::string myFeatureName;
61 
62  };
63 
67  {
68 
69  public:
70 
73 
75  virtual ~DtSwitchStateMapperCreator();
76 
78  virtual DtSwitchStateMapper* create(DtDe& de, osg::Node* node, DtOsgArticulatedModel* osgArticulatedModel,
79  const rapidjson::Value& jsonObject, const std::string& modelDefName,
80  const DtElementID elementId, const DtUniqueID id,
81  const bool useInstancing, const unsigned int nodeTypeIndex);
82 
83  };
84 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)