SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccXformNDLut Class Reference

#include <IccCmm.h>

Inheritance diagram for CIccXformNDLut:

CIccXform List of all members.

Public Member Functions

 CIccXformNDLut (CIccTag *pTag)
virtual ~CIccXformNDLut ()
virtual icXformType GetXformType ()
virtual icStatusCMM Begin ()
virtual void Apply (icFloatNumber *DstPixel, const icFloatNumber *SrcPixel)
virtual bool UseLegacyPCS () const
 Checks if version 2 PCS is to be used.
virtual LPIccCurveExtractInputCurves ()
virtual LPIccCurveExtractOutputCurves ()

Protected Attributes

CIccMBBm_pTag
int m_nNumInput
LPIccCurvem_ApplyCurvePtrA
 Pointers to data in m_pTag, used only for applying the xform.
LPIccCurvem_ApplyCurvePtrB
LPIccCurvem_ApplyCurvePtrM
CIccMatrixm_ApplyMatrixPtr

Detailed Description

Type: Class

Purpose: This is the general ND-LUT Xform


Constructor & Destructor Documentation

CIccXformNDLut::CIccXformNDLut CIccTag pTag  ) 
 

Name: CIccXformNDLut::CIccXformNDLut

Purpose: Constructor

Args: pTag = Pointer to the tag of type CIccMBB

CIccXformNDLut::~CIccXformNDLut  )  [virtual]
 

Name: CIccXformNDLut::~CIccXformNDLut

Purpose: Destructor


Member Function Documentation

void CIccXformNDLut::Apply icFloatNumber DstPixel,
const icFloatNumber SrcPixel
[virtual]
 

Name: CIccXformNDLut::Apply

Purpose: Does the actual application of the Xform.

Args: DstPixel = Destination pixel where the result is stored, SrcPixel = Source pixel which is to be applied.

Implements CIccXform.

icStatusCMM CIccXformNDLut::Begin  )  [virtual]
 

Name: CIccXformNDLut::Begin

Purpose: Does the initialization of the Xform before Apply() is called. Must be called before Apply().

Reimplemented from CIccXform.

LPIccCurve * CIccXformNDLut::ExtractInputCurves  )  [virtual]
 

Name: CIccXformNDLut::ExtractInputCurves

Purpose: Gets the input curves. Should be called only after Begin() has been called. Once the curves are extracted, they will not be used by the Apply() function. WARNING: caller owns the curves and must be deleted by the caller.

Return: Pointer to the input curves.

Implements CIccXform.

LPIccCurve * CIccXformNDLut::ExtractOutputCurves  )  [virtual]
 

Name: CIccXformNDLut::ExtractOutputCurves

Purpose: Gets the output curves. Should be called only after Begin() has been called. Once the curves are extracted, they will not be used by the Apply() function. WARNING: caller owns the curves and must be deleted by the caller.

Return: Pointer to the output curves.

Implements CIccXform.

virtual icXformType CIccXformNDLut::GetXformType  )  [inline, virtual]
 

Implements CIccXform.

virtual bool CIccXformNDLut::UseLegacyPCS  )  const [inline, virtual]
 

Checks if version 2 PCS is to be used.

Reimplemented from CIccXform.


Member Data Documentation

LPIccCurve* CIccXformNDLut::m_ApplyCurvePtrA [protected]
 

Pointers to data in m_pTag, used only for applying the xform.

LPIccCurve* CIccXformNDLut::m_ApplyCurvePtrB [protected]
 

LPIccCurve* CIccXformNDLut::m_ApplyCurvePtrM [protected]
 

CIccMatrix* CIccXformNDLut::m_ApplyMatrixPtr [protected]
 

int CIccXformNDLut::m_nNumInput [protected]
 

CIccMBB* CIccXformNDLut::m_pTag [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:47 2007 for IccProfLib by  doxygen 1.3.9.1