|
OpenWalnut 1.3.1
|
Gauss filtering of the input. More...
#include <WGEPostprocessorGauss.h>
Inheritance diagram for WGEPostprocessorGauss:Public Types | |
| typedef boost::shared_ptr < WGEPostprocessorGauss > | SPtr |
| Convenience typedef for a boost::shared_ptr< WGEPostprocessorGauss >. | |
| typedef boost::shared_ptr < const WGEPostprocessorGauss > | ConstSPtr |
| Convenience typedef for a boost::shared_ptr< const WGEPostprocessorGauss >. | |
Public Member Functions | |
| WGEPostprocessorGauss () | |
| Default constructor. | |
| WGEPostprocessorGauss (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, osg::ref_ptr< osg::Texture2D > tex0, osg::ref_ptr< osg::Texture2D > tex1=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex2=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex3=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex4=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex5=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex6=osg::ref_ptr< osg::Texture2D >(), osg::ref_ptr< osg::Texture2D > tex7=osg::ref_ptr< osg::Texture2D >()) | |
| Constructor. | |
| virtual | ~WGEPostprocessorGauss () |
| Destructor. | |
| virtual WGEPostprocessor::SPtr | create (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) const |
| Create instance. | |
Gauss filtering of the input.
It does filter all the textures you bind on it and returns a gauss filtered version. If you want to define the exact list of textures to filter in one pass, use the alternative create call.
Definition at line 38 of file WGEPostprocessorGauss.h.
| typedef boost::shared_ptr< const WGEPostprocessorGauss > WGEPostprocessorGauss::ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorGauss >.
Reimplemented from WGEPostprocessor.
Definition at line 49 of file WGEPostprocessorGauss.h.
| typedef boost::shared_ptr< WGEPostprocessorGauss > WGEPostprocessorGauss::SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorGauss >.
Reimplemented from WGEPostprocessor.
Definition at line 44 of file WGEPostprocessorGauss.h.
| WGEPostprocessorGauss::WGEPostprocessorGauss | ( | ) |
Default constructor.
Definition at line 32 of file WGEPostprocessorGauss.cpp.
Referenced by create().
| WGEPostprocessorGauss::WGEPostprocessorGauss | ( | osg::ref_ptr< WGEOffscreenRenderNode > | offscreen, |
| osg::ref_ptr< osg::Texture2D > | tex0, | ||
| osg::ref_ptr< osg::Texture2D > | tex1 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex2 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex3 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex4 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex5 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex6 = osg::ref_ptr< osg::Texture2D >(), |
||
| osg::ref_ptr< osg::Texture2D > | tex7 = osg::ref_ptr< osg::Texture2D >() |
||
| ) |
Constructor.
We implement a public constructor which can take more textures as input
| offscreen | use this offscreen node to add your texture pass' |
| tex0 | texture to filter |
| tex1 | texture to filter |
| tex2 | texture to filter |
| tex3 | texture to filter |
| tex4 | texture to filter |
| tex5 | texture to filter |
| tex6 | texture to filter |
| tex7 | texture to filter |
Definition at line 38 of file WGEPostprocessorGauss.cpp.
References WGEPostprocessor::m_effectOnlyPreprocessor, and WGEPostprocessor::m_resultTextures.
| WGEPostprocessorGauss::~WGEPostprocessorGauss | ( | ) | [virtual] |
Destructor.
Definition at line 118 of file WGEPostprocessorGauss.cpp.
| WGEPostprocessor::SPtr WGEPostprocessorGauss::create | ( | osg::ref_ptr< WGEOffscreenRenderNode > | offscreen, |
| const PostprocessorInput & | gbuffer | ||
| ) | const [virtual] |
Create instance.
Uses the protected constructor. Implement it if you derive from this class!
| offscreen | use this offscreen node to add your texture pass' |
| gbuffer | the input textures you should use |
Implements WGEPostprocessor.
Definition at line 123 of file WGEPostprocessorGauss.cpp.
References WGEPostprocessor::PostprocessorInput::m_colorTexture, and WGEPostprocessorGauss().
1.7.4