VR-Forces Development_Version 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 
19 namespace makVrv
20 {
24  {
25  public:
26  virtual DtOsgEffectTextureController* create(DtOsgFileCache& fileCache, DtOsgShaderManager& shaderMgr, DtDe& de);
27  };
28 
32  {
33  public:
35  DtOsgFlowMapController(DtOsgFileCache& fileCache, DtOsgShaderManager& shaderMgr, DtDe& de);
36 
38  virtual ~DtOsgFlowMapController();
39 
40  public: // DtOsgEffectTextureController interface
41 
42  std::string getEffectTypeCode() const { return "FLW"; }
43 
44  bool generateShaders(int baseUnit, int effectUnit, osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName);
45 
46  protected:
49  };
50 
51 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)