Class ON_PostEffect represents a single post effect.
More...
#include <opennurbs_post_effects.h>
Class ON_PostEffect represents a single post effect.
◆ Types
Enumerator |
---|
Unset | |
Early | Early post effects operate on HDR (float) image data.
|
ToneMapping | Tone mapping post effects convert HDR image data to LDR (8-bit) image data.
|
Late | Late post effects operate on LDR image data.
|
◆ ON_PostEffect() [1/3]
ON_PostEffect::ON_PostEffect |
( |
| ) |
|
|
delete |
You can't create a post effect with no name, id or type.
◆ ON_PostEffect() [2/3]
◆ ON_PostEffect() [3/3]
◆ ~ON_PostEffect()
virtual ON_PostEffect::~ON_PostEffect |
( |
| ) |
|
|
virtual |
◆ DataCRC()
Returns a CRC of the state of this post effect.
◆ GetAllParameters()
Get all the parameters in one go. Returns true if successful or false if the parameters could not be retrieved.
◆ GetParameter()
virtual ON_XMLVariant ON_PostEffect::GetParameter |
( |
const wchar_t * |
param_name | ) |
const |
|
virtual |
< Post effects can have any number of arbitrary parameters.
Get a parameter by its name. Param 'param_name' is the name of the parameter to set. Returns the value if successful or null if the parameter was not found.
◆ Id()
virtual ON_UUID ON_PostEffect::Id |
( |
void |
| ) |
const |
|
virtual |
Returns the unique id of this post effect.
◆ LocalName()
virtual ON_wString ON_PostEffect::LocalName |
( |
void |
| ) |
const |
|
virtual |
Returns the localized name of this post effect.
◆ On()
virtual bool ON_PostEffect::On |
( |
void |
| ) |
const |
|
virtual |
< Read/write properties.
Returns true if the post effect is 'on'. Only early and late post effects can be on. This corresponds to the check box next to the post effect's name in the user interface.
◆ operator!=()
virtual bool ON_PostEffect::operator!= |
( |
const ON_PostEffect & |
pep | ) |
const |
|
virtual |
◆ operator=()
◆ operator==()
virtual bool ON_PostEffect::operator== |
( |
const ON_PostEffect & |
pep | ) |
const |
|
virtual |
◆ SetAllParameters()
Set all the parameters in one go. Returns true if successful or false if the parameters could not be set.
◆ SetOn()
virtual void ON_PostEffect::SetOn |
( |
bool |
on | ) |
|
|
virtual |
Set if the post effect is 'on'. Only early and late post effects can be on. This corresponds to the check box next to the post effect's name in the user interface.
◆ SetParameter()
virtual bool ON_PostEffect::SetParameter |
( |
const wchar_t * |
param_name, |
|
|
const ON_XMLVariant & |
param_value |
|
) |
| |
|
virtual |
Set a parameter by its name. Param 'param_name' is the name of the parameter to set. Param 'param_value' specifies the type and value to set. Returns true if successful or false if the parameter could not be set.
◆ SetShown()
virtual void ON_PostEffect::SetShown |
( |
bool |
shown | ) |
|
|
virtual |
Set if the post effect is shown. Only early and late post effects can be shown. This corresponds to the post effect appearing in the list in the user interface.
◆ Shown()
virtual bool ON_PostEffect::Shown |
( |
void |
| ) |
const |
|
virtual |
Returns true if the post effect is shown. Only early and late post effects can be shown. This corresponds to the post effect appearing in the list in the user interface.
◆ Type()
virtual Types ON_PostEffect::Type |
( |
void |
| ) |
const |
|
virtual |
< Read-only properties.
Returns the type of this post effect.
◆ XMLNode() [1/2]
virtual ON_XMLNode& ON_PostEffect::XMLNode |
( |
void |
| ) |
|
|
virtual |
< Other.
Returns the XML node that stores the state of this post effect.
◆ XMLNode() [2/2]
virtual const ON_XMLNode& ON_PostEffect::XMLNode |
( |
void |
| ) |
const |
|
virtual |
◆ _impl
CImpl* ON_PostEffect::_impl |