Mako 7.5.0 API
Loading...
Searching...
No Matches
IDOMColorSpaceLAB Class Referenceabstract

This color space is as described in section 4.5.4 of the PDF 1.7 Reference Manual. More...

#include <idomcolorspace.h>

Inheritance diagram for IDOMColorSpaceLAB:

Classes

class  Data
 Initialization data. More...
 

Public Member Functions

virtual void getRangeAB (float &lowA, float &highA, float &lowB, float &highB)=0
 Get the input range for this color space. The range of the L component is always implicitly 0 to 100.
 
virtual void getWhitePoint (float &x, float &y, float &z)=0
 Get the White Point in CIE 1931 XYZ space.
 
virtual void getBlackPoint (float &x, float &y, float &z)=0
 Get the Black Point in CIE 1931 XYZ space.
 
- Public Member Functions inherited from IDOMColorSpace
virtual eColorSpaceType getColorSpaceType ()=0
 Retrieves the color space type.
 
virtual uint8 getNumComponents ()=0
 Retrieves the number of components that are in colors in this color space.
 
virtual bool getComponentsHaveSameRange ()=0
 Checks if this color space has the same range for all its components. Some color spaces (such as Lab and ICC) may not have the same range for all its components. If a color space does have the same range for all its components, you only need to call getComponentRange() once to find the range for all components.
 
virtual bool getComponentRange (int component, float &low, float &high)=0
 Retrieves the expected range of component values for a given channel, if applicable.
 
virtual eRenderingIntent getDefaultRenderingIntent ()=0
 Retrieves the default rendering intent for this color space.
 
virtual EDLRawString getColorantName (uint8 component) const =0
 Determine the colorant name for a colorant index. If a colorant name cannot be determined, an IEDLError with type EDL_ERR_NO_COLOR_NAME will be thrown. Cannot be called on Indexed or LAB color spaces. For device spaces and simple ICC color spaces, the basic process color name will be returned (ie one of Gray, Red, Green, Blue, Cyan, Magenta, Yellow, Black as appropriate).
 
virtual bool equals (const IDOMColorSpacePtr &colorSpace, bool exact=false)=0
 Determines if the given color space is equivalent to this color space.
 
virtual bool similar (const IDOMColorSpacePtr &colorSpace, eRenderingIntent intent, eBlackPointCompensation bpc)=0
 Determines if the given color space is very similar to this color space for the given rendering intent. Color spaces are tested via selective sampling and are considered similar if the samples show the same results to a 10 bit accuracy. This can be an expensive operation for complicated color spaces.
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject.
 
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject.
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
 
- Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
 
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object.
 
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails.
 

Static Public Member Functions

static EDL_API IDOMColorSpaceLABPtr create (IEDLClassFactory *pFactory, float whitePointX, float whitePointY, float whitePointZ, float blackPointX=0.0f, float blackPointY=0.0f, float blackPointZ=0.0f, float rangeALo=-100.0f, float rangeAHi=100.0f, float rangeBLo=-100.0f, float rangeBHi=100.0f)
 Create a LAB Color Space. Throws an IEDLError on failure.
 
static const CClassIDclassID ()
 Retrieves class id of IDOMColorSpaceLAB.
 

Additional Inherited Members

- Public Types inherited from IDOMColorSpace
enum  eColorSpaceType {
  eDeviceRGB , eDeviceGray , eDeviceCMYK , esRGB ,
  esGray , escRGB , eICCBased , eIndexed ,
  eDeviceN , eLAB , eDeviceCMY , eNumColorSpaceTypes = 11
}
 Color spaces type enumeration. More...
 
- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

This color space is as described in section 4.5.4 of the PDF 1.7 Reference Manual.

Member Function Documentation

◆ classID()

static const CClassID & IDOMColorSpaceLAB::classID ( )
inlinestatic

Retrieves class id of IDOMColorSpaceLAB.

Returns
CClassID Class id of the element

◆ create()

static EDL_API IDOMColorSpaceLABPtr IDOMColorSpaceLAB::create ( IEDLClassFactory * pFactory,
float whitePointX,
float whitePointY,
float whitePointZ,
float blackPointX = 0.0f,
float blackPointY = 0.0f,
float blackPointZ = 0.0f,
float rangeALo = -100.0f,
float rangeAHi = 100.0f,
float rangeBLo = -100.0f,
float rangeBHi = 100.0f )
static

Create a LAB Color Space. Throws an IEDLError on failure.

Parameters
pFactoryThe EDL Class factory to use.
whitePointXThe CIE X value for the white point.
whitePointYThe CIE Y value for the white point.
whitePointZThe CIE V value for the white point.
blackPointXThe CIE X value for the black point.
blackPointYThe CIE Y value for the black point.
blackPointZThe CIE V value for the black point.
rangeALoThe low bound of the A parameter
rangeAHiThe high bound of the A parameter
rangeBLoThe low bound of the B parameter
rangeBHiThe high bound of the B parameter
Returns
IDOMColorSpaceLABPtr The new color space.

◆ getBlackPoint()

virtual void IDOMColorSpaceLAB::getBlackPoint ( float & x,
float & y,
float & z )
pure virtual

Get the Black Point in CIE 1931 XYZ space.

Parameters
xReference to receive the black point X value
yReference to receive the black point Y value
zReference to receive the black point Z value

◆ getRangeAB()

virtual void IDOMColorSpaceLAB::getRangeAB ( float & lowA,
float & highA,
float & lowB,
float & highB )
pure virtual

Get the input range for this color space. The range of the L component is always implicitly 0 to 100.

Parameters
lowAReference to receive the low bound of the A parameter
highAReference to receive the high bound of the A parameter
lowBReference to receive the low bound of the B parameter
highBReference to receive the high bound of the B parameter

◆ getWhitePoint()

virtual void IDOMColorSpaceLAB::getWhitePoint ( float & x,
float & y,
float & z )
pure virtual

Get the White Point in CIE 1931 XYZ space.

Parameters
xReference to receive the white point X value
yReference to receive the white point Y value
zReference to receive the white point Z value

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