OpenWalnut
1.4.0
|
Edge enhancing postprocessor. More...
#include <WGEPostprocessorEdgeEnhance.h>
Public Types | |
typedef boost::shared_ptr < WGEPostprocessorEdgeEnhance > | SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorEdgeEnhance >. | |
typedef boost::shared_ptr < const WGEPostprocessorEdgeEnhance > | ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorEdgeEnhance >. | |
Public Member Functions | |
WGEPostprocessorEdgeEnhance () | |
Default constructor. | |
virtual | ~WGEPostprocessorEdgeEnhance () |
Destructor. | |
virtual WGEPostprocessor::SPtr | create (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) const |
Create instance. | |
Protected Member Functions | |
WGEPostprocessorEdgeEnhance (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) | |
Constructor. |
Edge enhancing postprocessor.
Definition at line 35 of file WGEPostprocessorEdgeEnhance.h.
typedef boost::shared_ptr< const WGEPostprocessorEdgeEnhance > WGEPostprocessorEdgeEnhance::ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorEdgeEnhance >.
Reimplemented from WGEPostprocessor.
Definition at line 46 of file WGEPostprocessorEdgeEnhance.h.
typedef boost::shared_ptr< WGEPostprocessorEdgeEnhance > WGEPostprocessorEdgeEnhance::SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorEdgeEnhance >.
Reimplemented from WGEPostprocessor.
Definition at line 41 of file WGEPostprocessorEdgeEnhance.h.
Default constructor.
Definition at line 32 of file WGEPostprocessorEdgeEnhance.cpp.
Referenced by create().
Destructor.
Definition at line 74 of file WGEPostprocessorEdgeEnhance.cpp.
WGEPostprocessorEdgeEnhance::WGEPostprocessorEdgeEnhance | ( | osg::ref_ptr< WGEOffscreenRenderNode > | offscreen, |
const PostprocessorInput & | gbuffer | ||
) | [protected] |
Constructor.
Implement this constructor and build your processing pipeline in here
offscreen | use this offscreen node to add your texture pass' |
gbuffer | the input textures you should use |
Definition at line 38 of file WGEPostprocessorEdgeEnhance.cpp.
References WGEPostprocessor::PostprocessorInput::bind(), WGEPostprocessor::m_effectOnlyPreprocessor, WGEPostprocessor::m_properties, and WGEPostprocessor::m_resultTextures.
WGEPostprocessor::SPtr WGEPostprocessorEdgeEnhance::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 79 of file WGEPostprocessorEdgeEnhance.cpp.
References WGEPostprocessorEdgeEnhance().