37#ifndef H_OGF_SCENE_GRAPH_GFX_FULL_SCREEN_EFFECTS_UM_H
38#define H_OGF_SCENE_GRAPH_GFX_FULL_SCREEN_EFFECTS_UM_H
40#include <OGF/scene_graph_gfx/common/common.h>
74 return impl_->get_intensity();
81 impl_->set_intensity(value);
89 return impl_->get_contrast();
96 impl_->set_contrast(value);
103 gom_attribute(help,
"Size (in pixels) of the Gaussian blur kernel")
105 return impl_->get_blur_width();
112 impl_->set_blur_width(value);
120 gom_attribute(help,
"Draw halos around the object")
122 return impl_->get_halos();
129 impl_->set_halos(value);
138 help,
"Draw white shadows on zones opposite to dark shadows"
141 return impl_->get_positive_shadows();
148 impl_->set_positive_shadows(value);
Implementation of full screen effects.
virtual void update()
Triggers an update of both the implementation and the 3D view.
FullScreenEffect(SceneGraph *scene_graph)
FullScreenEffect constructor.
Represents the list of objects loaded in Graphite.
FullScreenEffectImpl * implementation() override
Gets the implementation.
void set_intensity(index_t value)
Sets the intensity.
void set_positive_shadows(bool value)
Specifies whether positive_shadows should be used.
void set_blur_width(index_t value)
Sets the size of the blurring kernel.
bool get_halos() const
Tests whether halos should be drawn.
bool get_positive_shadows() const
Tests whether positive_shadows should be drawn.
void set_halos(bool value)
Specifies whether halos should be used.
index_t get_contrast() const
Gets the contrast.
index_t get_blur_width() const
Gets the size of the blurring kernel.
UnsharpMasking(SceneGraph *scene_graph)
UnsharpMasking constructor.
void set_contrast(index_t value)
Sets the contrast. A value of 50 (default) corresponds to average contrast.
Implementation of UnsharpMasking full screen effect.
SmartPointer< UnsharpMaskingImpl > UnsharpMaskingImpl_var
An automatic reference-counted pointer to an UnsharpMaskingImpl.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Base classes for full screen effects.