#include <blendlayers.h>
Public Types | |
enum | WrapType { WrapNone, WrapClamp, WrapCycle, WrapSeamless } |
Public Member Functions | |
virtual | ~BlendEffectDistorter () |
virtual String | GetLayerName (BaseDocument *pDoc, Bool bReset=false) |
virtual Bool | Read (HyperFile *pFile, Int32 lLevel) |
virtual Bool | Write (HyperFile *pFile) const |
virtual Int32 | Compare (BlendLayer *pLayer) |
virtual Bool | CopyTo (BlendLayer *pDest, AliasTrans *pTrans) |
virtual void | GetParameter (Int32 lItem, const DescID &id, GeData &t_data, Int32 &flags) |
virtual void | SetParameter (Int32 lItem, const DescID &id, const GeData &t_data, Int32 &flags) |
virtual Bool | GetParameter (Int32 lID, GeData &d) |
virtual Bool | SetParameter (Int32 lID, const GeData &d) |
![]() | |
virtual | ~BlendLayer () |
virtual Bool | CompareStructure (BlendLayer *pLayer, Bool bCompareNames) |
virtual void | ClearShaders (BaseList2D *pParent, BaseDocument *pDoc) |
Bool | IsFolder () |
Bool | IsShader () |
LayerShaderLayer * | GetNext () |
Bool | GetParameter_ (Int32 lID, GeData &d) |
Bool | SetParameter_ (Int32 lID, const GeData &d) |
String | GetName (BaseDocument *pDoc) |
LayerType | GetType () |
Static Public Member Functions | |
static BlendLayer * | Alloc () |
![]() | |
static void | Free (BlendLayer *&pLayer) |
Public Attributes | |
NoiseType | m_Noise |
Float | m_rNoiseStrength |
Float | m_rOctaves |
Float | m_rTimeScale |
Float | m_rNoiseScale |
Bool | m_bUse3DNoise |
WrapType | m_Wrap |
![]() | |
CBlendLayers * | m_pParent |
String | m_strName |
LayerType | m_LayerType |
Bool | m_bDirty |
Bool | m_bIsSelected |
Bool | m_bIsActive |
Int32 | m_lLayerID |
Int32 | m_lFlags |
Int32 | m_lRenderFlags |
BaseBitmap * | m_pAlphaChannel |
Protected Attributes | |
Float | m_rInvNoiseScale |
Private Member Functions | |
BlendEffectDistorter () | |
Additional Inherited Members | |
![]() | |
BlendLayer () | |
Bool | CopyBasics (BlendLayer *pDest) |
![]() | |
static Bool | AllocDefaults (BlendLayer *pLayer) |
enum WrapType |
|
private |
Default constructor.
|
virtual |
Default destructor.
|
static |
Allocates a transform layer. Destroy the allocated transform layer with Free().
|
virtual |
Private.
Implements BlendLayer.
Reads the layer from a hyper file.
[in] | pFile | The hyper file to read from. The caller owns the pointed hyper file. |
[in] | lLevel | The disklevel of the layer to read. |
Implements BlendLayer.
Writes the layer to a hyper file.
[in] | pFile | The hyper file to write to. The caller owns the pointed hyper file. |
Implements BlendLayer.
|
virtual |
Compares two layers.
[in] | pLayer | The layer to compare with. The caller owns the pointed layer. |
Reimplemented from BlendLayer.
|
virtual |
Copies all values from the layer to pDest.
[in] | pDest | The destination layer. The caller owns the pointed layer. |
[in] | pTrans | An alias translator for the operation. Can be nullptr. The caller owns the pointed alias translator. |
Implements BlendLayer.
|
virtual |
Private.
Reimplemented from BlendLayer.
|
virtual |
Private.
Reimplemented from BlendLayer.
Gets layer parameters.
[in] | lID | The layer parameter ID: LAYER_S_PARAM_DISTORT |
[in] | d | Filled with the layer parameter value. |
Reimplemented from BlendLayer.
Sets layer parameters.
[in] | lID | The layer parameter ID: LAYER_S_PARAM_DISTORT |
[in] | d | The layer parameter value. |
Reimplemented from BlendLayer.
NoiseType m_Noise |
Private.
Float m_rNoiseStrength |
Private.
Float m_rOctaves |
Private.
Float m_rTimeScale |
Private.
Float m_rNoiseScale |
Private.
Bool m_bUse3DNoise |
Private.
WrapType m_Wrap |
Private.
|
protected |
Private.