IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
CIccCurveSegment Class Referenceabstract

#include <IccMpeBasic.h>

+ Inheritance diagram for CIccCurveSegment:

Public Member Functions

virtual ~CIccCurveSegment ()
 
virtual icFloatNumber Apply (icFloatNumber v) const =0
 
virtual bool Begin (CIccCurveSegment *pPrevSeg)=0
 
virtual void Describe (std::string &sDescription, int nVerboseness)=0
 
icFloatNumber EndPoint ()
 
virtual const icCharGetClassName () const =0
 
virtual icCurveSegSignature GetType () const =0
 
virtual CIccCurveSegmentNewCopy () const =0
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)=0
 
icFloatNumber StartPoint ()
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL, const CIccProfile *pProfile=NULL) const =0
 
virtual bool Write (CIccIO *pIO)=0
 

Static Public Member Functions

static CIccCurveSegmentCreate (icCurveSegSignature sig, icFloatNumber start, icFloatNumber end)
 

Protected Attributes

icFloatNumber m_endPoint
 
icUInt32Number m_nReserved
 
icFloatNumber m_startPoint
 

Detailed Description

Class: CIccCurveSegment

Purpose:

Constructor & Destructor Documentation

◆ ~CIccCurveSegment()

virtual CIccCurveSegment::~CIccCurveSegment ( )
inlinevirtual
97{}

Member Function Documentation

◆ Apply()

virtual icFloatNumber CIccCurveSegment::Apply ( icFloatNumber  v) const
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Apply(), and CIccSampledCurveSegment::Begin().

+ Here is the caller graph for this function:

◆ Begin()

virtual bool CIccCurveSegment::Begin ( CIccCurveSegment pPrevSeg)
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Begin().

+ Here is the caller graph for this function:

◆ Create()

CIccCurveSegment * CIccCurveSegment::Create ( icCurveSegSignature  sig,
icFloatNumber  start,
icFloatNumber  end 
)
static

Name: CIccCurveSegment::Create

Purpose:

Args:

Return:

2518{
2519 switch(sig) {
2521 return new CIccFormulaCurveSegment(start, end);
2523 return new CIccSampledCurveSegment(start, end);
2524 default:
2525 return NULL;
2526 }
2527
2528}
@ icSigSampledCurveSeg
Definition icProfileHeader.h:1047
@ icSigFormulaCurveSeg
Definition icProfileHeader.h:1046
Definition IccMpeBasic.h:133
Definition IccMpeBasic.h:172

References CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), icSigFormulaCurveSeg, and icSigSampledCurveSeg.

Referenced by CIccSegmentedCurve::Read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Describe()

virtual void CIccCurveSegment::Describe ( std::string &  sDescription,
int  nVerboseness 
)
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Describe().

+ Here is the caller graph for this function:

◆ EndPoint()

icFloatNumber CIccCurveSegment::EndPoint ( )
inline
116{ return m_endPoint;}
icFloatNumber m_endPoint
Definition IccMpeBasic.h:120

References m_endPoint.

Referenced by CIccSegmentedCurve::Apply(), and CIccSegmentedCurve::Insert().

+ Here is the caller graph for this function:

◆ GetClassName()

virtual const icChar * CIccCurveSegment::GetClassName ( ) const
pure virtual

◆ GetType()

virtual icCurveSegSignature CIccCurveSegment::GetType ( ) const
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurveXml::ToXml().

+ Here is the caller graph for this function:

◆ NewCopy()

virtual CIccCurveSegment * CIccCurveSegment::NewCopy ( ) const
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::CIccSegmentedCurve(), and CIccSegmentedCurve::operator=().

+ Here is the caller graph for this function:

◆ Read()

virtual bool CIccCurveSegment::Read ( icUInt32Number  size,
CIccIO pIO 
)
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Read().

+ Here is the caller graph for this function:

◆ StartPoint()

icFloatNumber CIccCurveSegment::StartPoint ( )
inline
115{ return m_startPoint; }
icFloatNumber m_startPoint
Definition IccMpeBasic.h:119

References m_startPoint.

Referenced by CIccSegmentedCurve::Insert(), and CIccSegmentedCurve::Write().

+ Here is the caller graph for this function:

◆ Validate()

virtual icValidateStatus CIccCurveSegment::Validate ( std::string  sigPath,
std::string &  sReport,
const CIccTagMultiProcessElement pMPE = NULL,
const CIccProfile pProfile = NULL 
) const
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Validate().

+ Here is the caller graph for this function:

◆ Write()

virtual bool CIccCurveSegment::Write ( CIccIO pIO)
pure virtual

Implemented in CIccFormulaCurveSegment, and CIccSampledCurveSegment.

Referenced by CIccSegmentedCurve::Write().

+ Here is the caller graph for this function:

Field Documentation

◆ m_endPoint

◆ m_nReserved

◆ m_startPoint


The documentation for this class was generated from the following files: