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")
121 bool get_halos()
const {
122 return impl_->get_halos();
129 impl_->set_halos(value);
138 help,
"Draw white shadows on zones opposite to dark shadows"
140 bool get_positive_shadows()
const {
141 return impl_->get_positive_shadows();
148 impl_->set_positive_shadows(value);
Implementation of full screen effects.
Represents the list of objects loaded in Graphite.
A GOM wrapper around UnsharpMaskingImpl.
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.
FullScreenEffectImpl * implementation() override
Gets the implementation.
void set_halos(bool value)
Specifies whether halos should be used.
index_t get_contrast() const
Gets the contrast.
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.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Base classes for full screen effects.