VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgFlowMapController.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 
14 
15 #include <osg/Vec4>
16 #include <osg/StateSet>
17 #include <osg/Texture>
18 #include <string>
19 
20 namespace makVrv
21 {
25  {
26  public:
27  virtual DtOsgEffectTextureController* create(DtOsgFileCache& fileCache, DtOsgShaderManager& shaderMgr, DtDe& de);
28  };
29 
33  {
34  public:
36  DtOsgFlowMapController(DtOsgFileCache& fileCache, DtOsgShaderManager& shaderMgr, DtDe& de);
37 
39  virtual ~DtOsgFlowMapController();
40 
41  public: // DtOsgEffectTextureController interface
42 
43  std::string getEffectTypeCode() const { return "FLW"; }
44 
45  bool generateShaders(int baseUnit, int effectUnit, osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName);
46 
47  protected:
50  };
51 
52 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)