|
CFx SDK Documentation 2026 SP0
|
#include <GiCubeMap.h>
Static Public Member Functions | |
| static OdGiRasterImagePtr | createObject (OdUInt32 nWidth, OdUInt32 nHeight, ODCOLORREF bkColor=0) |
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 () |
| static void | rxInit () |
| static void | rxUninit () |
Protected Member Functions | |
| const RIEntry * | findEntry (OdUInt32 nScanline, OdUInt32 nPixel) const |
| void | encodeBkColor () |
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 |
Represents set of separate raster image tiles as single raster image.
Corresponding C++ library: TD_Gi
Definition at line 45 of file GiCubeMap.h.
| OdGiPatchworkRasterImage::OdGiPatchworkRasterImage | ( | ) |
Default constructor for the OdGiRasterImageWrapper class.
|
virtual |
Destructor for the OdGiRasterImageWrapper class.
| void OdGiPatchworkRasterImage::addRasterImage | ( | const OdGiRasterImage * | pRaster, |
| OdInt32 | nPosX, | ||
| OdInt32 | nPosY ) |
Adds original OdGiRasterImage object to specified position inside final raster image.
| pRaster | [in] Pointer to the original image object. |
| nPosX | [in] X-axis position. |
| nPosY | [in] Y-axis position. |
|
inline |
Retrieves raster image background color.
Definition at line 98 of file GiCubeMap.h.
|
virtual |
Creates a clone of this object, and returns a pointer to the clone.
Reimplemented from OdRxObject.
|
virtual |
Retrieves the color for the specified index from the palette of this RasterImage object.
| colorIndex | [in] Color index. |
Implements OdGiRasterImage.
|
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.
|
static |
Creates an OdGiRasterImageAlphaChannelAdder object with the specified parameters.
| nWidth | [in] Raster image width. |
| nHeight | [in] Raster image height. |
| bkColor | [in] Background color. |
|
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.
|
protected |
|
protected |
|
inline |
Returns underlying raster image at specified index.
| nRaster | [in] Raster image index. |
Definition at line 123 of file GiCubeMap.h.
|
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.
|
inline |
Returns number of underlying raster images.
Definition at line 117 of file GiCubeMap.h.
Retrieves the size (in bytes) of the palette data of this RasterImage object.
| bytes | [out] Receives the palette data. |
Implements OdGiRasterImage.
|
virtual |
Retrieves the size (in bytes) of the palette data of this RasterImage object.
Implements OdGiRasterImage.
|
virtual |
Retrieves the pixel format for this RasterImage object.
Implements OdGiRasterImage.
|
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.
| void OdGiPatchworkRasterImage::removeRasterImage | ( | const OdGiRasterImage * | pRaster | ) |
Removes original OdGiRasterImage object from final raster image.
| pRaster | [in] Pointer to the original image object. |
|
virtual |
Retrieves the set of scanlines.
Implements OdGiRasterImage.
|
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.
|
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.
|
inline |
Sets raster image background color.
| bkColor | [in] Background color. |
Definition at line 93 of file GiCubeMap.h.
|
virtual |
Sets an image source.
| source | [in] New image source value. |
Reimplemented from OdGiRasterImageParam.
Sets final raster image dimensions.
| uWidth | [in] Raster image width. |
| uHeight | [in] Raster image height. |
Definition at line 87 of file GiCubeMap.h.
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.