|
Rhino C++ API
8.24
|
#include <IRhRdkLinearWorkflow.h>
Public Member Functions | |
| virtual | ~IRhRdkLinearWorkflow () |
| virtual void | ApplyPostProcessGamma (CRhinoDib &dibInOut) const =0 |
| virtual void | ApplyPreProcessGamma (CRhinoDib &dibInOut) const =0 |
| virtual void | ApplyPreProcessGamma (CRhRdkColor &col, bool bForTexture) const =0 |
| virtual IRhRdkLinearWorkflow & | BeginChange (RhRdkChangeContext cc) const =0 |
| virtual ON__UINT32 | ComputeCRC (void) const =0 |
| virtual void | CopyFrom (const IRhRdkLinearWorkflow &lw)=0 |
| virtual bool | EndChange (void)=0 |
| virtual void * | EVF (const wchar_t *wszFunc, void *pvData)=0 |
| virtual bool | IsEqual (const IRhRdkLinearWorkflow &lw) const =0 |
| virtual bool | PostProcessFrameBuffer (void) const =0 |
| bool | PostProcessFrameBufferOn (void) const |
| virtual float | PostProcessGamma (void) const =0 |
| bool | PostProcessGammaOn (void) const |
| virtual float | PostProcessGammaReciprocal (void) const =0 |
| virtual bool | PreProcessColors (void) const =0 |
| bool | PreProcessColorsOn (void) const |
| virtual float | PreProcessGamma (void) const =0 |
| virtual bool | PreProcessTextures (void) const =0 |
| bool | PreProcessTexturesOn (void) const |
| virtual void | SetPostProcessFrameBuffer (bool b)=0 |
| void | SetPostProcessFrameBufferOn (bool b) |
| virtual void | SetPostProcessGamma (float f)=0 |
| void | SetPostProcessGammaOn (bool) |
| virtual void | SetPreProcessColors (bool b)=0 |
| void | SetPreProcessColorsOn (bool b) |
| virtual void | SetPreProcessGamma (float f)=0 |
| virtual void | SetPreProcessTextures (bool b)=0 |
| void | SetPreProcessTexturesOn (bool b) |
Static Public Member Functions | |
| static IRhRdkLinearWorkflow * | New (void) |
This interface is deprecated and only kept for backward compatibility.
|
inlinevirtual |
|
pure virtual |
Modifies a DIB by applying gamma correction using the gamma reciprocal.
| dibInOut | is the DIB which is altered if gamma is not equal to 1. |
Implemented in CRhRdkLinearWorkflowEx, and CRhRdkLinearWorkflow.
|
pure virtual |
Applies pre-process gamma correction to a dib (i.e., an LDR texture) if PreProcessTextures is true.
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
Applies pre-process gamma correction to a color if linear workflow is active.
| bForTexture | is true if the color is part of a texture. See notes below for checking CRhRdkTexture::IsLinear(). |
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
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.
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
Copy another linear workflow object to this one.
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
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.
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
static |
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
inline |
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
| bool IRhRdkLinearWorkflow::PostProcessGammaOn | ( | void | ) | const |
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
inline |
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
pure virtual |
Implemented in CRhRdkLinearWorkflow.
|
inline |
|
pure virtual |
Set linear workflow (pre-process) active state for individual colors.
Implemented in CRhRdkLinearWorkflow.
|
inline |
|
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.
| void IRhRdkLinearWorkflow::SetPostProcessGammaOn | ( | bool | ) |
|
pure virtual |
Set linear workflow (pre-process) active state for individual colors.
Implemented in CRhRdkLinearWorkflow.
|
inline |
|
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.
|
pure virtual |
Set linear workflow (pre-process) active state for textures.
Implemented in CRhRdkLinearWorkflow.
|
inline |
1.8.17