OpenWalnut  1.4.0
Public Types | Public Member Functions | Protected Member Functions
WGEPostprocessorCelShading Class Reference

Cel shading effect postprocessor. More...

#include <WGEPostprocessorCelShading.h>

+ Inheritance diagram for WGEPostprocessorCelShading:

List of all members.

Public Types

typedef boost::shared_ptr
< WGEPostprocessorCelShading
SPtr
 Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >.
typedef boost::shared_ptr
< const
WGEPostprocessorCelShading
ConstSPtr
 Convenience typedef for a boost::shared_ptr< const WGEPostprocessorCelShading >.

Public Member Functions

 WGEPostprocessorCelShading ()
 Default constructor.
virtual ~WGEPostprocessorCelShading ()
 Destructor.
virtual WGEPostprocessor::SPtr create (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) const
 Create instance.

Protected Member Functions

 WGEPostprocessorCelShading (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer)
 Constructor.

Detailed Description

Cel shading effect postprocessor.

Definition at line 35 of file WGEPostprocessorCelShading.h.


Member Typedef Documentation

Convenience typedef for a boost::shared_ptr< const WGEPostprocessorCelShading >.

Reimplemented from WGEPostprocessor.

Definition at line 46 of file WGEPostprocessorCelShading.h.

Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >.

Reimplemented from WGEPostprocessor.

Definition at line 41 of file WGEPostprocessorCelShading.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 31 of file WGEPostprocessorCelShading.cpp.

Referenced by create().

Destructor.

Definition at line 70 of file WGEPostprocessorCelShading.cpp.

WGEPostprocessorCelShading::WGEPostprocessorCelShading ( osg::ref_ptr< WGEOffscreenRenderNode offscreen,
const PostprocessorInput gbuffer 
) [protected]

Constructor.

Implement this constructor and build your processing pipeline in here

Parameters:
offscreenuse this offscreen node to add your texture pass'
gbufferthe input textures you should use

Definition at line 37 of file WGEPostprocessorCelShading.cpp.

References WGEPostprocessor::PostprocessorInput::bind(), WGEPostprocessor::m_effectOnly, WGEPostprocessor::m_effectOnlyPreprocessor, WGEPostprocessor::m_properties, and WGEPostprocessor::m_resultTextures.


Member Function Documentation

WGEPostprocessor::SPtr WGEPostprocessorCelShading::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!

Parameters:
offscreenuse this offscreen node to add your texture pass'
gbufferthe input textures you should use
Returns:
shared pointer to the created instance

Implements WGEPostprocessor.

Definition at line 75 of file WGEPostprocessorCelShading.cpp.

References WGEPostprocessorCelShading().


The documentation for this class was generated from the following files: