OpenWalnut  1.4.0
Public Types | Public Member Functions | List of all members
WGEViewerEffectVignette Class Reference

Vignette Effect. More...

#include <WGEViewerEffectVignette.h>

+ Inheritance diagram for WGEViewerEffectVignette:

Public Types

typedef osg::ref_ptr
< WGEViewerEffectVignette
SPtr
 Convenience typedef for a boost::shared_ptr< WGEViewerEffectVignette >.
typedef osg::ref_ptr< const
WGEViewerEffectVignette
ConstSPtr
 Convenience typedef for a boost::shared_ptr< const WGEViewerEffectVignette >.
- Public Types inherited from WGEViewerEffect
typedef osg::ref_ptr
< WGEViewerEffect
SPtr
 Convenience typedef for a boost::shared_ptr< WGEViewerEffect >.
typedef osg::ref_ptr< const
WGEViewerEffect
ConstSPtr
 Convenience typedef for a boost::shared_ptr< const WGEViewerEffect >.
- Public Types inherited from WObjectNDIP< WGECamera >
typedef boost::shared_ptr
< WObjectNDIP
SPtr
 Shared ptr to an instance.
typedef boost::shared_ptr
< const WObjectNDIP
ConstSPtr
 Shared ptr to a const instance.
- Public Types inherited from WGECamera
enum  ProjectionMode { ORTHOGRAPHIC, PERSPECTIVE, TWO_D, TWO_D_UNIT }
 List of possible camera modes. More...

Public Member Functions

 WGEViewerEffectVignette ()
 Default constructor.
virtual ~WGEViewerEffectVignette ()
 Destructor.
- Public Member Functions inherited from WGEViewerEffect
 WGEViewerEffect (std::string name, std::string description, const char **icon=NULL)
 Create the effect.
virtual ~WGEViewerEffect ()
 Destructor.
virtual bool isEnabled () const
 Check whether the effect is active or not.
virtual void setEnabled (bool enable=true)
 Set the effect enabled.
virtual void setEnabledByDefault (bool enableByDefault=true)
 Use this to activate an effect by default.
- Public Member Functions inherited from WObjectNDIP< WGECamera >
virtual ~WObjectNDIP ()
 Destructor.
virtual std::string getName () const
 The name of the object.
virtual std::string getDescription () const
 The description of this object.
virtual const char ** getIcon () const
 The icon of this object.
virtual WProperties::SPtr getProperties ()
 Return the property group of this object.
- Public Member Functions inherited from WGECamera
 WGECamera (int width, int height, ProjectionMode projectionMode)
 Constructor which sets defaults.
 WGECamera ()
 Constructor which sets defaults.
void setDefaultProjectionMode (ProjectionMode mode)
 Sets the default projection mode used for cameras getting reset.
ProjectionMode getDefaultProjectionMode ()
 Returns the current default projection mode.
void reset ()
 Resets the camera and activates the prior set defaults.
void resize ()
 Change camera parameters which should be changed on a resize.

Additional Inherited Members

- Protected Member Functions inherited from WObjectNDIP< WGECamera >
 WObjectNDIP (std::string name, std::string description, const char **icon=NULL)
 Construct a NDIP'ed object.
- Protected Attributes inherited from WGEViewerEffect
osg::ref_ptr< osg::Geode > m_geode
 The fullscreen quad.
osg::ref_ptr< osg::StateSet > m_state
 The stateset of the cam.
WPropBool m_active
 Enable or disable effect.

Detailed Description

Vignette Effect.

Definition at line 33 of file WGEViewerEffectVignette.h.

Member Typedef Documentation

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

Definition at line 44 of file WGEViewerEffectVignette.h.

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

Definition at line 39 of file WGEViewerEffectVignette.h.

Constructor & Destructor Documentation

WGEViewerEffectVignette::WGEViewerEffectVignette ( )
WGEViewerEffectVignette::~WGEViewerEffectVignette ( )
virtual

Destructor.

Definition at line 46 of file WGEViewerEffectVignette.cpp.


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