#include <IRhRdkLinearWorkflow.h>
This is the interface to linear workflow settings.
- See also
- CRhRdkDocument::LinearWorkflow()
◆ ~IRhRdkLinearWorkflow()
virtual IRhRdkLinearWorkflow::~IRhRdkLinearWorkflow |
( |
| ) |
|
|
inlinevirtual |
◆ ApplyPostProcessGamma()
virtual void IRhRdkLinearWorkflow::ApplyPostProcessGamma |
( |
CRhinoDib & |
dibInOut | ) |
const |
|
pure virtual |
Modifies a DIB by applying gamma correction using the gamma reciprocal.
- Note
- This method replaces the NewGammaCorrectedBitmap() method.
- Parameters
-
dibInOut | is the DIB which is altered if gamma is not equal to 1. |
Implemented in CRhRdkLinearWorkflowEx, and CRhRdkLinearWorkflow.
◆ ApplyPreProcessGamma() [1/2]
virtual void IRhRdkLinearWorkflow::ApplyPreProcessGamma |
( |
CRhinoDib & |
dibInOut | ) |
const |
|
pure virtual |
Applies pre-process gamma correction to a dib (i.e., an LDR texture) if PreProcessTextures is true.
- Note
- If this texture comes from a CRhRdkTexture, you should first check CRhRdkTexture::IsLinear(). If the texture is linear, it will require no further processing.
Implemented in CRhRdkLinearWorkflow.
◆ ApplyPreProcessGamma() [2/2]
virtual void IRhRdkLinearWorkflow::ApplyPreProcessGamma |
( |
CRhRdkColor & |
col, |
|
|
bool |
bForTexture |
|
) |
| const |
|
pure virtual |
Applies pre-process gamma correction to a color if linear workflow is active.
- Parameters
-
Implemented in CRhRdkLinearWorkflow.
◆ BeginChange()
Call this method to get a non-const object upon which you can call non-const methods. Calls to this method are counted; you must call EndChange() once for every call to BeginChange(). Please do not use const_cast or any other means of circumventing this requirement.
Implemented in CRhRdkLinearWorkflow.
◆ ComputeCRC()
virtual ON__UINT32 IRhRdkLinearWorkflow::ComputeCRC |
( |
void |
| ) |
const |
|
pure virtual |
◆ CopyFrom()
◆ EndChange()
virtual bool IRhRdkLinearWorkflow::EndChange |
( |
void |
| ) |
|
|
pure virtual |
◆ EVF()
virtual void* IRhRdkLinearWorkflow::EVF |
( |
const wchar_t * |
wszFunc, |
|
|
void * |
pvData |
|
) |
| |
|
pure virtual |
Emergency virtual function for future expansion. Currently implemented wszFunc: "PostProcessGammaOn" (pvData = null; returns pointer to bool). "SetPostProcessGammaOn" (pvData is pointer to bool).
Implemented in CRhRdkLinearWorkflowEx, and CRhRdkLinearWorkflow.
◆ IsEqual()
◆ New()
◆ PostProcessFrameBuffer()
virtual bool IRhRdkLinearWorkflow::PostProcessFrameBuffer |
( |
void |
| ) |
const |
|
pure virtual |
◆ PostProcessGamma()
virtual float IRhRdkLinearWorkflow::PostProcessGamma |
( |
void |
| ) |
const |
|
pure virtual |
◆ PostProcessGammaOn()
bool IRhRdkLinearWorkflow::PostProcessGammaOn |
( |
void |
| ) |
const |
◆ PostProcessGammaReciprocal()
virtual float IRhRdkLinearWorkflow::PostProcessGammaReciprocal |
( |
void |
| ) |
const |
|
pure virtual |
- Returns
- gamma reciprocal for frame buffer. This is the value that is applied to each color channel for post-process and is supplied here as an optimization.
Implemented in CRhRdkLinearWorkflow.
◆ PreProcessColors()
virtual bool IRhRdkLinearWorkflow::PreProcessColors |
( |
void |
| ) |
const |
|
pure virtual |
◆ PreProcessGamma()
virtual float IRhRdkLinearWorkflow::PreProcessGamma |
( |
void |
| ) |
const |
|
pure virtual |
◆ PreProcessTextures()
virtual bool IRhRdkLinearWorkflow::PreProcessTextures |
( |
void |
| ) |
const |
|
pure virtual |
- Returns
- linear workflow active state for textures (also check IsLinear()).
Implemented in CRhRdkLinearWorkflow.
◆ SetPostProcessFrameBuffer()
virtual void IRhRdkLinearWorkflow::SetPostProcessFrameBuffer |
( |
bool |
b | ) |
|
|
pure virtual |
Set linear workflow (pre-process) active state for individual colors.
Implemented in CRhRdkLinearWorkflow.
◆ SetPostProcessGamma()
virtual void IRhRdkLinearWorkflow::SetPostProcessGamma |
( |
float |
f | ) |
|
|
pure virtual |
Set post-process gamma. This will generally be >= 1.0 (usually 2.2). The actual value to be applied in post-process is the reciprocal.
Implemented in CRhRdkLinearWorkflow.
◆ SetPostProcessGammaOn()
void IRhRdkLinearWorkflow::SetPostProcessGammaOn |
( |
bool |
| ) |
|
◆ SetPreProcessColors()
virtual void IRhRdkLinearWorkflow::SetPreProcessColors |
( |
bool |
b | ) |
|
|
pure virtual |
Set linear workflow (pre-process) active state for individual colors.
Implemented in CRhRdkLinearWorkflow.
◆ SetPreProcessGamma()
virtual void IRhRdkLinearWorkflow::SetPreProcessGamma |
( |
float |
f | ) |
|
|
pure virtual |
Set pre-process gamma. This will generally be >= 1.0 (usually 2.2). This is the actual value applied in pre-process.
Implemented in CRhRdkLinearWorkflow.
◆ SetPreProcessTextures()
virtual void IRhRdkLinearWorkflow::SetPreProcessTextures |
( |
bool |
b | ) |
|
|
pure virtual |