VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTextureAtlasMapper.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  DtTextureAtlasMapper(DtDe& de, DtElementID elementId, DtUniqueID sceneObjectId,
26  DtUniqueID uniqueId, bool useInstancing, unsigned int nodeTypeIndex);
27 
29  virtual ~DtTextureAtlasMapper();
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* theTextureSkinningFeatureName;
39  static const char* theTagAtlasFile;
40  static const char* theTagColor;
41  static const char* thePattern;
42  // @}
43 
44  protected:
45 
47 
49  std::string myFeatureName;
50 
52  std::string myAtlasFile;
53 
54  };
55 
59  {
60 
61  public:
62 
65 
67  virtual ~DtTextureAtlasMapperCreator();
68 
70  virtual DtTextureAtlasMapper* create(DtDe& de, osg::Node* node, DtOsgArticulatedModel* osgArticulatedModel,
71  const rapidjson::Value& jsonObject, const std::string& modelDefName,
72  const DtElementID elementId, const DtUniqueID uniqueId,
73  const bool useInstancing, const unsigned int nodeTypeIndex);
74 
75  };
76 
77 }

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)