VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSwitchStateMapper.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
14 
15 namespace makVrv
16 {
20  public DtVirtualBaseClass
21  {
22  public:
23 
25  DtSwitchStateMapper(DtDe& de, DtElementID elementId, DtUniqueID sceneObjectId,
26  DtUniqueID uniqueId, bool useInstancing, unsigned int nodeTypeIndex);
27 
29  virtual ~DtSwitchStateMapper();
30 
32  virtual void configure(osg::Node* n, DtOsgArticulatedModel* osgArticulatedModel, const std::string& modelDefName, const rapidjson::Value& jsonData);
33 
34  public:
35  // @{
38  static const char* theSwitchStateMapperFeatureName;
39  // @}
40 
41  protected:
42 
44 
46  std::string myFeatureName;
47 
48  };
49 
53  {
54 
55  public:
56 
59 
61  virtual ~DtSwitchStateMapperCreator();
62 
64  virtual DtSwitchStateMapper* create(DtDe& de, osg::Node* node, DtOsgArticulatedModel* osgArticulatedModel,
65  const rapidjson::Value& jsonObject, const std::string& modelDefName,
66  const DtElementID elementId, const DtUniqueID uniqueId,
67  const bool useInstancing, const unsigned int nodeTypeIndex);
68 
69  };
70 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)