VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgTextureKeyHolder.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include <vrvOsg/vrvOsg.h>
12 #include <vrvCore/DtUniqueID.h>
13 #include <osg/Referenced>
14 #include <list>
15 
16 namespace makVrv
17 {
18 
25  class DT_DLL_VRVOSG DtOsgTextureKeyHolder : public osg::Referenced
26  {
27  public:
28 
29  typedef std::list<int> KeyList;
30 
33 
35  virtual ~DtOsgTextureKeyHolder();
36 
38  virtual const KeyList& textureKeys() const;
39 
40  virtual void addTextureKey( int key );
41 
42  protected:
44  };
45 
46 }
std::list< int > KeyList
Definition: DtOsgTextureKeyHolder.h:29
A Referenced texture key holder for terrain nodes. When a terrain patch is loaded, a visitor finds all the filenames of all the textures applied to terrain nodes, puts them in a map, and stores the key to the filename in the node&#39;s userData via DtOsgTextureKeyHolder objects.
Definition: DtOsgTextureKeyHolder.h:25
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
KeyList myTextureKeys
Definition: DtOsgTextureKeyHolder.h:43

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)