CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __OD_GI_RASTER_WRAPPERS__
25 #define __OD_GI_RASTER_WRAPPERS__
46 OdUInt32 m_pixelWidth, m_pixelHeight, m_colorDepth, m_palSize, m_alignment;
49 double m_xPelsPerUnit, m_yPelsPerUnit;
507 OdUInt32 m_pixelWidth, m_pixelHeight, m_colorDepth, m_alignment;
510 double m_xPelsPerUnit, m_yPelsPerUnit;
514 int m_transparentColor;
1387 #if 0 // @@@TODO: implement at least nearest, bilinear and bicubic resamplers
1400 OdUInt32 m_newPixWidth, m_newPixHeight;
1402 OdGiNearestRasterResampler();
1403 virtual ~OdGiNearestRasterResampler();
1458 #endif // __OD_GI_RASTER_WRAPPERS__
OdUInt32 colorDepth() const
OdUInt32 pixelWidth() const
PixelFormatInfo pixelFormat() const
static OdGiRasterImagePtr createObject(OdUInt32 pixelWidth, OdUInt32 pixelHeight, OdUInt32 colorDepth, Units units=kNone, double xPelsPerUnit=0.0, double yPelsPerUnit=0.0)
OdGiRasterImage::TransparencyMode m_transparencyMode
OdUInt32 pixelHeight() const
virtual ~OdGiRasterImageAlphaChannelAdder()
OdRxObjectPtr clone() const
OdUInt32 numColors() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt32 pixelWidth() const
ImageSource imageSource() const
OdUInt32 scanLinesAlignment() const
virtual ~OdGiRasterImageDesc()
OdRxObjectPtr clone() const
PixelFormatInfo pixelFormat() const
OdGiRasterImage::Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
OdUInt32 numColors() const
void paletteData(OdUInt8 *bytes) const
virtual ~OdGiRasterImageWrapper()
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
OdUInt32 numColors() const
void setImageSource(OdGiRasterImage::ImageSource source)
OdRxObjectPtr clone() const
void copyFrom(const OdRxObject *pSource)
OdGiRasterImage::TransparencyMode transparencyMode() const
void setDefaultResolution(Units units, double xPelsPerUnit, double yPelsPerUnit)
const OdUInt8 * scanLines() const
TransparencyMode transparencyMode() const
OdUInt32 supportedParams() const
void setPixelWidth(OdUInt32 pixelWidth)
void setOriginal(const OdGiRasterImage *pOrig)
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
void copyFrom(const OdRxObject *pSource)
const OdString & sourceFileName() const
const OdGiRasterImage * m_pOrigImage
const OdString & sourceFileName() const
void copyFrom(const OdRxObject *pSource)
void setTransparencyMode(TransparencyMode mode)
GLsizei GLsizei GLchar * source
OdGiRasterImage::PixelFormatInfo & pixelFormat()
OdGiImageBGRA32 * m_pBGRAImage
OdUInt32 colorDepth() const
void paletteData(OdUInt8 *bytes) const
void paletteData(OdUInt8 *bytes) const
void setPalette(OdUInt32 paletteSize, OdUInt8 *paletteData)
OdUInt32 scanLineSize() const
ODCOLORREF color(OdUInt32 colorIndex) const
OdUInt32 scanLinesAlignment() const
OdUInt8 m_nPixelAlphaThreshold
OdRxObjectPtr clone() const
OdUInt32 scanLinesAlignment() const
OdGiRasterImage::PixelFormatInfo pixelFormat() const
OdGiRasterImage::Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
OdUInt32 colorDepth() const
OdUInt32 supportedParams() const
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
OdRxObjectPtr clone() const
OdUInt32 numColors() const
OdUInt32 pixelWidth() const
const OdGiRasterImage * original() const
void copyFrom(const OdRxObject *pSource)
@ kNone
Light mode is inherited from the annotation.
OdUInt32 supportedParams() const
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pImage)
OdUInt32 paletteDataSize() const
OdGiRasterImageBGRA32Holder()
OdUInt32 scanLineSize() const
OdGiRasterImageBGRA32Copy()
OdUInt32 pixelHeight() const
void setFrom(const OdGiRasterImage *pOrig)
OdRxObjectPtr clone() const
OdGiRasterImage::TransparencyMode transparencyMode() const
const OdUInt8 * scanLines() const
void setSourceFileName(const OdString &fileName)
OdGiRasterImage::ImageSource imageSource() const
ODCOLORREF color(OdUInt32 colorIndex) const
OdUInt32 scanLinesAlignment() const
static OdGiRasterImagePtr createObject(OdUInt32 pixelWidth, OdUInt32 pixelHeight, Units units=kNone, double xPelsPerUnit=0.0, double yPelsPerUnit=0.0)
const OdUInt8 * scanLines() const
void paletteData(OdUInt8 *bytes) const
OdUInt32 paletteDataSize() const
OdUInt32 supportedParams() const
OdUInt32 pixelHeight() const
OdUInt32 colorDepth() const
ODCOLORREF color(OdUInt32 colorIndex) const
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
void setSourceFileName(const OdString &fileName)
void setSourceFileName(const OdString &fileName)
int transparentColor() const
virtual ~OdGiRasterImageBGRA32()
ODCOLORREF color(OdUInt32 colorIndex) const
void copyFrom(const OdRxObject *pSource)
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pSourceImage)
OdUInt32 paletteDataSize() const
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
OdUInt32 scanLineSize() const
void setFrom(const OdGiRasterImage *pSourceImage)
OdUInt32 supportedParams() const
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
void paletteData(OdUInt8 *bytes) const
void copyFrom(const OdRxObject *pSource)
OdUInt32 pixelHeight() const
void setTransparencyMode(TransparencyMode mode)
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt32 pixelWidth() const
OdUInt32 paletteDataSize() const
OdGiRasterImage::PixelFormatInfo pixelFormat() const
OdUInt32 pixelHeight() const
OdUInt32 pixelWidth() const
void setImageSource(ImageSource source)
void setScanLinesAlignment(OdUInt32 alignment)
~OdGiRasterImageBGRA32Copy()
ImageSource imageSource() const
OdUInt32 paletteDataSize() const
~OdGiRasterImageBGRA32Holder()
ODCOLORREF m_clPixelAlpha
OdGiRasterImagePtr cloneOriginal() const
OdUInt32 colorDepth() const
PixelFormatInfo pixelFormat() const
void setPixelHeight(OdUInt32 pixelHeight)
OdRxObjectPtr clone() const
OdUInt32 scanLineSize() const
virtual ~OdGiRasterImageHolder()
OdGiRasterImage::ImageSource imageSource() const
const OdUInt8 * scanLines() const
void setImageSource(ImageSource source)
const OdString & sourceFileName() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdGiImageBGRA32 m_ImageCopy
ODCOLORREF color(OdUInt32 colorIndex) const
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pOrig, ODCOLORREF cutColor, OdUInt8 threshold=0)
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
OdGiRasterImageAlphaChannelAdder()
OdUInt8 getAlphaValue(OdUInt8 red, OdUInt8 green, OdUInt8 blue) const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt32 scanLineSize() const
OdUInt32 scanLinesAlignment() const
OdGiRasterImage::TransparencyMode transparencyMode() const
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
OdUInt32 numColors() const
void setColorDepth(OdUInt32 colorDepth)
OdGiRasterImage::ImageSource imageSource() const
int transparentColor() const
TransparencyMode transparencyMode() const
const OdUInt8 * scanLines() const
void copyFrom(const OdRxObject *pSource)