Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OutputHaze.hh
1 #ifndef OUTPUT_HAZE_HH_
2 #define OUTPUT_HAZE_HH_
3 
4 #include <bias_config.h>
5 
6 #ifndef BIAS_HAVE_OPENGL
7 # error You need BIAS with USE_OpenGL Please recompile BIAS.
8 #endif // BUILD_GLviewer
9 
10 #include <Gui/biasgl.h>
11 #include <Base/Debug/Debug.hh>
12 
13 #include <OpenGLFramework/Base/glfRenderTarget.hh>
14 #include <GLviewer/OutputAttachments/GLProjectionOutputAttachment.hh>
15 
16 namespace BIAS {
17 
18  /**
19  * @brief exemplary output attachment, creating a bluish haze effect on the rendered output
20  * @ingroup g_glviewer
21  * @author fkellner
22  */
23  class BIASGLviewer_EXPORT OutputHaze : public GLProjectionOutputAttachment {
24  public:
25  // standards
27  virtual ~OutputHaze();
28  protected:
29  /// creates strings with shader code and calls InitShader(vertex, fragment) from superclass
30  int InitShader_();
31 
32  };
33 
34 }
35 #endif
36 
exemplary output attachment, creating a bluish haze effect on the rendered output ...
Definition: OutputHaze.hh:23
Class for extra rendering pass in GLProjection (for now only used in glutGLviewer) ...
Interface for render targets.