KCMS CMM Reference Manual

Protected Members

The KcsProfile class provides the following protected members.

Table 5-1 KcsProfile Protected Members

Protected Member 

Description 

KcsProfileFormat *iFormat;

Pointer to a KcsProfileFormat instance.

KcsOperationType *iOpAndCont;

Indicates which operations and content types are supported by the profile. The profile can support the logical OR of any combination of these flags.

virtual KcsStatus createEmptyProfile();

Fill in the minimum amount of data such that when saved and reloaded, no KcsXform instances, and only the minimal tags are needed to load it.

void initDataMembers(void);

Sets all member data to a known state. Allows each constructor to initialize all data members to the empty or initial state. 

static long isColorSenseCMM(KcsId);

Do not use this method in new CMMs. It is documented for historic reasons (for existing CMM only).  

KcsProfile(KcsStatus *aStat, KcsIO *aIO);

Constructs a KcsProfile based on the static store defined by aIO.

KcsProfile(KcsStatus *aStat, KcsId aCmmId,
 	KcsVersion aCmmVersion,
 	KcsId aProfId,
 	KcsVersion aProfVersion);

Constructs a KcsProfile of the type aCmmId with the version aCmmVersion using a profile format determined by aProfVersion.

KcsStatus setTimeAttribute(
 	KcsAttributeName aAttrName);

Sets attribute specified by aAttrName to current time.

virtual KcsStatus
 updateMonitorXforms(
 	KcsCharacterizationData *aChar,
 	KcsCalibrationData *aCal,
 	void *CMMSpecificData,
 	KcsCallbackFunction aCallback);

Updates the monitor transformations based on aChar and aCal using the CMM's techniques. Returns either KCS_CALIBRATION_UNSUPPORTED or KCS_CHARACTERIZATION_UNSUPPORTED, unless overridden. Some derivatives require specific data in CMMSpecificData. All CMMs do a generic update if CMMSpecificData is set to NULL. Some CMMs callback into aCallback if set to non NULL.

virtual KcsStatus
 updatePrinterXforms(
 	KcsCharacterizationData *aChar,
 	KcsCalibrationData *aCal,
 	void *CMMSpecificData,
 	KcsCallbackFunction aCallback);

Updates the printer transformations based on aChar and aCal using the CMM's techniques. Returns either KCS_CALIBRATION_UNSUPPORTED or KCS_CHARACTERIZATION_UNSUPPORTED, unless overridden. Some derivatives require specific data in CMMSpecificData. All CMMs do a generic update if CMMSpecificData is set to NULL. Some CMMs callback into aCallback if set to non NULL.

Note that this function currently is not supported in the KCMS default CMM. 

virtual KcsStatus 
updateScannerXforms(
 	KcsCharacterizationData *aChar,
 	KcsCalibrationData *aCal,
 	void *CMMSpecificData,
 	KcsCallbackFunction aCallback);

Updates the scanner transformations based on aChar and aCal using the CMM's technique. Returns either KCS_CALIBRATION_UNSUPPORTED or KCS_CHARACTERIZATION_UNSUPPORTED, unless overridden. Most scanners need both aCal and aChar set to generate valid transforms. Some derivatives require specific data in CMMSpecificData. All CMMs update if CMMSpecificData is set to NULL. Some CMMs callback into aCallback if set to non NULL.