CFx SDK Documentation 2024 SP0
|
#include <GiRasterWrappers.h>
Static Public Member Functions | |
static OdGiRasterImagePtr | createObject (const OdGiRasterImage *pOrig) |
Static Public Member Functions inherited from OdGiInversionRasterTransformer | |
static OdGiRasterImagePtr | createObject (const OdGiRasterImage *pOrig) |
Static Public Member Functions inherited from OdGiRasterImage | |
static double | millimetersInUnit (Units units) |
static OdUInt32 | calcBMPScanLineSize (OdUInt32 pixelWidth, int colorDepth) |
static OdUInt32 | calcColorMask (OdUInt8 numColorBits, OdUInt8 colorOffset=0) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
virtual ODCOLORREF | colorXform (ODCOLORREF color) const |
virtual ODCOLORREF | colorXform (ODCOLORREF color) const |
Additional Inherited Members | |
Public Types inherited from OdGiRasterImageParam | |
enum | ParamType { kImageSource = (1 << 0) , kTransparencyMode = (1 << 1) , kSourceFileName = (1 << 2) } |
Public Types inherited from OdGiRasterImage | |
enum | Units { kNone = 0 , kMillimeter , kCentimeter , kMeter , kKilometer , kInch , kFoot , kYard , kMile , kMicroinches , kMils , kAngstroms , kNanometers , kMicrons , kDecimeters , kDekameters , kHectometers , kGigameters , kAstronomical , kLightYears , kParsecs } |
enum | ImageSource { kUndefinedSource = -1 , kFromDwg = 0 , kFromOleObject = 1 , kFromRender = 2 , kFromUnderlay = 10 , kFromImageBGRA32 = 11 , kFromPdfUnderlay = kFromOleObject , kFromFile = kFromDwg } |
enum | TransparencyMode { kTransparencyDef = -1 , kTransparencyOff = 0 , kTransparency1Bit = 1 , kTransparency8Bit = 2 } |
typedef struct OdGiRasterImage::tagPixelFormatInfo | PixelFormatInfo |
This raster image transformer class converts image colors into grayscale.
Corresponding C++ library: TD_Gi
Definition at line 1423 of file GiRasterWrappers.h.
OdGiGrayscaleRasterTransformer::OdGiGrayscaleRasterTransformer | ( | ) |
Default constructor for the OdGiGrayscaleRasterTransformer class.
|
virtual |
Destructor for the OdGiGrayscaleRasterTransformer class.
|
virtual |
Creates a clone of this object, and returns a pointer to the clone.
Reimplemented from OdGiInversionRasterTransformer.
Reimplemented in OdGiMonochromaticRasterTransformer.
|
protectedvirtual |
Reimplemented from OdGiInversionRasterTransformer.
Reimplemented in OdGiMonochromaticRasterTransformer.
|
virtual |
Copies data of a source object to the current object.
pSource | [in] Input source object. |
Reimplemented from OdGiInversionRasterTransformer.
Reimplemented in OdGiMonochromaticRasterTransformer.
|
static |
Creates a new grayscale image transformer.
pOrig | [in] Original raster image pointer. |