OpenWalnut
1.4.0
|
LineAO implementation. More...
#include <WGEPostprocessorLineAO.h>
Public Types | |
typedef boost::shared_ptr < WGEPostprocessorLineAO > | SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorLineAO >. | |
typedef boost::shared_ptr < const WGEPostprocessorLineAO > | ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorLineAO >. | |
Public Member Functions | |
WGEPostprocessorLineAO () | |
Default constructor. | |
virtual | ~WGEPostprocessorLineAO () |
Destructor. | |
virtual WGEPostprocessor::SPtr | create (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) const |
Create instance. | |
Protected Member Functions | |
WGEPostprocessorLineAO (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) | |
Constructor. |
LineAO implementation.
This is an implementation of the paper http://doi.ieeecomputersociety.org/10.1109/TVCG.2012.142.
Definition at line 35 of file WGEPostprocessorLineAO.h.
typedef boost::shared_ptr< const WGEPostprocessorLineAO > WGEPostprocessorLineAO::ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorLineAO >.
Reimplemented from WGEPostprocessor.
Definition at line 46 of file WGEPostprocessorLineAO.h.
typedef boost::shared_ptr< WGEPostprocessorLineAO > WGEPostprocessorLineAO::SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorLineAO >.
Reimplemented from WGEPostprocessor.
Definition at line 41 of file WGEPostprocessorLineAO.h.
Default constructor.
Definition at line 34 of file WGEPostprocessorLineAO.cpp.
Referenced by create().
WGEPostprocessorLineAO::~WGEPostprocessorLineAO | ( | ) | [virtual] |
Destructor.
Definition at line 136 of file WGEPostprocessorLineAO.cpp.
WGEPostprocessorLineAO::WGEPostprocessorLineAO | ( | 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 40 of file WGEPostprocessorLineAO.cpp.
References WGEPostprocessor::PostprocessorInput::bind(), wge::genWhiteNoiseTexture(), WGEPostprocessor::PostprocessorInput::m_depthTexture, WGEPostprocessor::m_effectOnlyPreprocessor, WGEPostprocessor::m_effectScale, WGEPostprocessor::PostprocessorInput::m_normalTexture, WGEPostprocessor::m_properties, WGEPostprocessor::m_resultTextures, and WGEPostprocessor::PostprocessorInput::m_tangentTexture.
WGEPostprocessor::SPtr WGEPostprocessorLineAO::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 141 of file WGEPostprocessorLineAO.cpp.
References WGEPostprocessorLineAO().