CFx SDK Documentation 2024 SP0
|
#include <GiRasterWrappers.h>
This class is the base class for raster image transformer objects.
Corresponding C++ library: TD_Gi
Definition at line 855 of file GiRasterWrappers.h.
OdGiRasterImageWrapper::OdGiRasterImageWrapper | ( | ) |
Default constructor for the OdGiRasterImageWrapper class.
|
virtual |
Destructor for the OdGiRasterImageWrapper class.
|
virtual |
Creates a clone of this object, and returns a pointer to the clone.
Reimplemented from OdRxObject.
Reimplemented in OdGiBitonalRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiInversionRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiTintRasterTransformer, and OdGiMonochromaticRasterTransformer.
OdGiRasterImagePtr OdGiRasterImageWrapper::cloneOriginal | ( | ) | const |
Copies the original OdGiRasterImage object associated with this RasterImageWrapper object.
|
virtual |
Retrieves the color for the specified index from the palette of this RasterImage object.
colorIndex | [in] Color index. |
Implements OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer, and OdGiInversionRasterTransformer.
|
virtual |
Retrieves the number of bits per pixel used for colors by this RasterImage object.
Implements OdGiRasterImage.
|
virtual |
Copies data of a source object to the current object.
pSource | [in] Input source object. |
Reimplemented from OdRxObject.
Reimplemented in OdGiBitonalRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiInversionRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiTintRasterTransformer, and OdGiMonochromaticRasterTransformer.
|
virtual |
Retrieves the default image resolution in pixels per unit of this RasterImage object.
xPelsPerUnit | [out] Receives the pixels per unit value (x direction). |
yPelsPerUnit | [out] Receives the pixels per unit value (y direction). |
Reimplemented from OdGiRasterImage.
|
virtual |
Retrieves the image source.
Reimplemented from OdGiRasterImage.
|
virtual |
Retrieves the user-end implementation of raster image functionality.
Reimplemented from OdGiRasterImage.
|
virtual |
Retrieves the number of colors in the palette of this RasterImage object.
Implements OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer.
const OdGiRasterImage * OdGiRasterImageWrapper::original | ( | ) | const |
Retrieves the original OdGiRasterImage object associated with this RasterImageWrapper object.
Retrieves the size (in bytes) of the palette data of this RasterImage object.
bytes | [out] Receives the palette data. |
Implements OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer, and OdGiInversionRasterTransformer.
|
virtual |
Retrieves the size (in bytes) of the palette data of this RasterImage object.
Implements OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer.
|
virtual |
Retrieves the pixel format for this RasterImage object.
Implements OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer.
|
virtual |
Retrieves the image height in pixels of this RasterImage object.
Implements OdGiRasterImage.
|
virtual |
Retrieves the image width in pixels of this RasterImage object.
Implements OdGiRasterImage.
|
virtual |
Retrieves the set of scanlines.
Implements OdGiRasterImage.
Reimplemented in OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, and OdGiInversionRasterTransformer.
|
virtual |
Retrieves the specified set of scanlines in BMP format from this RasterImage object, or the pixel data in BMP format for this RasterImage object.
scnLines | [out] Receives the scanline data. |
firstScanline | [in] Index of first scanline to retrieve. |
numLines | [in] Number of scanlines to retrieve. |
Implements OdGiRasterImage.
Reimplemented in OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, and OdGiInversionRasterTransformer.
|
virtual |
Retrieves the scanline alignment, in bytes, for this RasterImage object. Example: scanLinesAlignment() returns 4 for Windows BMP.
Implements OdGiRasterImage.
|
virtual |
Retrieves the scanline size of this RasterImage object.
Reimplemented from OdGiRasterImage.
|
virtual |
Sets an image source.
source | [in] New image source value. |
Reimplemented from OdGiRasterImageParam.
void OdGiRasterImageWrapper::setOriginal | ( | const OdGiRasterImage * | pOrig | ) |
Sets the original OdGiRasterImage object associated with this RasterImageWrapper object.
pOrig | [in] Pointer to the original image object. |
Sets an image source file name.
fileName | [in] New value for image source file name. |
Reimplemented from OdGiRasterImageParam.
|
virtual |
Sets an image transparency mode.
mode | [in] New transparency mode value. |
Reimplemented from OdGiRasterImageParam.
|
virtual |
Retrieves the image source file name.
Reimplemented from OdGiRasterImage.
|
virtual |
Retrieves the ParamType bitflags with which parameters are supported by this interface.
Implements OdGiRasterImageParam.
|
virtual |
Retrieves the transparency mode for 32bpp formats.
Reimplemented from OdGiRasterImage.
|
virtual |
Retrieves the index of transparent color in the image.
Reimplemented from OdGiRasterImage.
Reimplemented in OdGiBitonalRasterTransformer.