OpenWalnut
1.5.0dev
|
Horizon Effect. More...
#include <WGEViewerEffectHorizon.h>
Public Types | |
typedef osg::ref_ptr< WGEViewerEffectHorizon > | SPtr |
Convenience typedef for a std::shared_ptr< WGEViewerEffectHorizon >. More... | |
typedef osg::ref_ptr< const WGEViewerEffectHorizon > | ConstSPtr |
Convenience typedef for a std::shared_ptr< const WGEViewerEffectHorizon >. More... | |
Public Types inherited from WGEViewerEffect | |
typedef osg::ref_ptr< WGEViewerEffect > | SPtr |
Convenience typedef for a std::shared_ptr< WGEViewerEffect >. More... | |
typedef osg::ref_ptr< const WGEViewerEffect > | ConstSPtr |
Convenience typedef for a std::shared_ptr< const WGEViewerEffect >. More... | |
Public Types inherited from WObjectNDIP< WGECamera > | |
typedef std::shared_ptr< WObjectNDIP > | SPtr |
Shared ptr to an instance. More... | |
typedef std::shared_ptr< const WObjectNDIP > | ConstSPtr |
Shared ptr to a const instance. More... | |
Public Types inherited from WGECamera | |
enum | ProjectionMode { ORTHOGRAPHIC , PERSPECTIVE , TWO_D , TWO_D_UNIT } |
List of possible camera modes. More... | |
Public Member Functions | |
WGEViewerEffectHorizon () | |
Default constructor. More... | |
virtual | ~WGEViewerEffectHorizon () |
Destructor. More... | |
Public Member Functions inherited from WGEViewerEffect | |
WGEViewerEffect (std::string name, std::string description, const char **icon=NULL) | |
Create the effect. More... | |
virtual | ~WGEViewerEffect () |
Destructor. More... | |
virtual bool | isEnabled () const |
Check whether the effect is active or not. More... | |
virtual void | setEnabled (bool enable=true) |
Set the effect enabled. More... | |
virtual void | setEnabledByDefault (bool enableByDefault=true) |
Use this to activate an effect by default. More... | |
Public Member Functions inherited from WObjectNDIP< WGECamera > | |
virtual | ~WObjectNDIP () |
Destructor. More... | |
virtual std::string | getName () const |
The name of the object. More... | |
virtual std::string | getDescription () const |
The description of this object. More... | |
virtual const char ** | getIcon () const |
The icon of this object. More... | |
virtual WProperties::SPtr | getProperties () |
Return the property group of this object. More... | |
Public Member Functions inherited from WGECamera | |
WGECamera (int width, int height, ProjectionMode projectionMode) | |
Constructor which sets defaults. More... | |
WGECamera () | |
Constructor which sets defaults. More... | |
void | setDefaultProjectionMode (ProjectionMode mode) |
Sets the default projection mode used for cameras getting reset. More... | |
ProjectionMode | getDefaultProjectionMode () |
Returns the current default projection mode. More... | |
void | reset () |
Resets the camera and activates the prior set defaults. More... | |
void | resize () |
Change camera parameters which should be changed on a resize. More... | |
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. More... | |
Protected Member Functions inherited from WGECamera | |
virtual | ~WGECamera () |
Destructor. More... | |
Protected Attributes inherited from WGEViewerEffect | |
osg::ref_ptr< osg::Geode > | m_geode |
The fullscreen quad. More... | |
osg::ref_ptr< osg::StateSet > | m_state |
The stateset of the cam. More... | |
WPropBool | m_active |
Enable or disable effect. More... | |
Protected Attributes inherited from WObjectNDIP< WGECamera > | |
WProperties::SPtr | m_properties |
the properties of the object. More... | |
Protected Attributes inherited from WGECamera | |
ProjectionMode | m_DefProjMode |
The projection mode used as default. More... | |
Horizon Effect.
Definition at line 35 of file WGEViewerEffectHorizon.h.
typedef osg::ref_ptr< const WGEViewerEffectHorizon > WGEViewerEffectHorizon::ConstSPtr |
Convenience typedef for a std::shared_ptr< const WGEViewerEffectHorizon >.
Definition at line 46 of file WGEViewerEffectHorizon.h.
typedef osg::ref_ptr< WGEViewerEffectHorizon > WGEViewerEffectHorizon::SPtr |
Convenience typedef for a std::shared_ptr< WGEViewerEffectHorizon >.
Definition at line 41 of file WGEViewerEffectHorizon.h.
WGEViewerEffectHorizon::WGEViewerEffectHorizon | ( | ) |
Default constructor.
Definition at line 32 of file WGEViewerEffectHorizon.cpp.
References WGEViewerEffect::m_geode, WObjectNDIP< WGECamera >::m_properties, and WGEViewerEffect::m_state.
|
virtual |
Destructor.
Definition at line 61 of file WGEViewerEffectHorizon.cpp.