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

CIccSampledCurveSegment Class Reference

#include <IccMpeBasic.h>

Inheritance diagram for CIccSampledCurveSegment:

CIccCurveSegment List of all members.

Public Member Functions

 CIccSampledCurveSegment (icFloatNumber start, icFloatNumber end)
 CIccSampledCurveSegment (const CIccSampledCurveSegment &ITPC)
CIccSampledCurveSegmentoperator= (const CIccSampledCurveSegment &ParamCurveTag)
virtual CIccCurveSegmentNewCopy () const
virtual ~CIccSampledCurveSegment ()
virtual icCurveSegSignature GetType () const
virtual const icCharGetClassName () const
virtual bool SetSize (icUInt32Number nSize, bool bZeroAlloc=true)
virtual icUInt32Number GetSize ()
virtual icFloatNumberGetSamples ()
virtual void Describe (std::string &sDescription)
virtual bool Read (icUInt32Number size, CIccIO *pIO)
virtual bool Write (CIccIO *pIO)
virtual bool Begin ()
virtual icFloatNumber Apply (icFloatNumber v)
virtual icValidateStatus Validate (icTagSignature sig, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL) const

Protected Attributes

icUInt32Number m_nCount
icFloatNumberm_pSamples
icFloatNumber m_range
icFloatNumber m_last

Detailed Description

Class: CIccSampledCurveSegment

Purpose: The sampled curve segment


Constructor & Destructor Documentation

CIccSampledCurveSegment::CIccSampledCurveSegment icFloatNumber  start,
icFloatNumber  end
 

Name: CIccSampledCurveSegment::CIccSampledCurveSegment

Purpose:

Args:

Return:

CIccSampledCurveSegment::CIccSampledCurveSegment const CIccSampledCurveSegment curve  ) 
 

Name: CIccSampledCurveSegment::CIccSampledCurveSegment

Purpose:

Args:

Return:

CIccSampledCurveSegment::~CIccSampledCurveSegment  )  [virtual]
 

Name: CIccSampledCurveSegment::~CIccSampledCurveSegment

Purpose:

Args:

Return:


Member Function Documentation

icFloatNumber CIccSampledCurveSegment::Apply icFloatNumber  v  )  [virtual]
 

Name: CIccSampledCurveSegment::Apply

Purpose:

Args:

Return:

Implements CIccCurveSegment.

bool CIccSampledCurveSegment::Begin  )  [virtual]
 

Name: CIccSampledCurveSegment::Begin

Purpose:

Args:

Return:

Implements CIccCurveSegment.

void CIccSampledCurveSegment::Describe std::string &  sDescription  )  [virtual]
 

Name: CIccSampledCurveSegment::Describe

Purpose:

Args:

Return:

Implements CIccCurveSegment.

virtual const icChar* CIccSampledCurveSegment::GetClassName  )  const [inline, virtual]
 

Implements CIccCurveSegment.

virtual icFloatNumber* CIccSampledCurveSegment::GetSamples  )  [inline, virtual]
 

virtual icUInt32Number CIccSampledCurveSegment::GetSize  )  [inline, virtual]
 

virtual icCurveSegSignature CIccSampledCurveSegment::GetType  )  const [inline, virtual]
 

Implements CIccCurveSegment.

virtual CIccCurveSegment* CIccSampledCurveSegment::NewCopy  )  const [inline, virtual]
 

Implements CIccCurveSegment.

CIccSampledCurveSegment & CIccSampledCurveSegment::operator= const CIccSampledCurveSegment curve  ) 
 

Name: &CIccSampledCurveSegment::operator=

Purpose:

Args:

Return:

bool CIccSampledCurveSegment::Read icUInt32Number  size,
CIccIO pIO
[virtual]
 

Name: CIccSampledCurveSegment::Read

Purpose:

Args:

Return:

Implements CIccCurveSegment.

bool CIccSampledCurveSegment::SetSize icUInt32Number  nCount,
bool  bZeroAlloc = true
[virtual]
 

Name: CIccSampledCurveSegment::SetSize

Purpose: Sets size of sampled lookup table. Previous data (if exists) is lost.

Args: nCount = number of elements in lut (must be >= 2) bZeroAlloc = flag to decide if memory should be set to zero.

Return: true if allocation successful.

icValidateStatus CIccSampledCurveSegment::Validate icTagSignature  sig,
std::string &  sReport,
const CIccTagMultiProcessElement pMPE = NULL
const [virtual]
 

Name: CIccSampledCurveSegment::Validate

Purpose:

Args:

Return:

Implements CIccCurveSegment.

bool CIccSampledCurveSegment::Write CIccIO pIO  )  [virtual]
 

Name: CIccSampledCurveSegment::Write

Purpose:

Args:

Return:

Implements CIccCurveSegment.


Member Data Documentation

icFloatNumber CIccSampledCurveSegment::m_last [protected]
 

icUInt32Number CIccSampledCurveSegment::m_nCount [protected]
 

icFloatNumber* CIccSampledCurveSegment::m_pSamples [protected]
 

icFloatNumber CIccSampledCurveSegment::m_range [protected]
 


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