24#ifndef __OD_GI_RASTER_WRAPPERS__
25#define __OD_GI_RASTER_WRAPPERS__
47 OdUInt32 m_pixelWidth, m_pixelHeight, m_colorDepth, m_palSize, m_alignment;
50 double m_xPelsPerUnit, m_yPelsPerUnit;
621 OdUInt32 m_pixelWidth, m_pixelHeight, m_colorDepth, m_alignment;
624 double m_xPelsPerUnit, m_yPelsPerUnit;
628 int m_transparentColor;
1781 OdUInt32 m_newPixWidth, m_newPixHeight;
1783 OdGiNearestRasterResampler();
1784 virtual ~OdGiNearestRasterResampler();
OdGiRasterImage::PixelFormatInfo pixelFormat() const
virtual ~OdGiRasterImageAlphaChannelAdder()
const OdUInt8 * scanLines() const
OdUInt32 scanLinesAlignment() const
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
OdUInt32 scanLineSize() const
OdUInt32 colorDepth() const
OdRxObjectPtr clone() const
void paletteData(OdUInt8 *bytes) const
OdUInt32 pixelWidth() const
OdGiRasterImage::ImageSource imageSource() const
OdUInt32 supportedParams() const
void copyFrom(const OdRxObject *pSource)
OdGiRasterImage::Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
const OdGiRasterImage * m_pOrigImage
OdUInt32 paletteDataSize() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt8 m_nPixelAlphaThreshold
OdGiRasterImage::TransparencyMode transparencyMode() const
ODCOLORREF m_clPixelAlpha
OdGiRasterImageAlphaChannelAdder()
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pOrig, ODCOLORREF cutColor, OdUInt8 threshold=0)
OdUInt32 numColors() const
OdUInt8 getAlphaValue(OdUInt8 red, OdUInt8 green, OdUInt8 blue) const
ODCOLORREF color(OdUInt32 colorIndex) const
OdUInt32 pixelHeight() const
void copyFrom(const OdRxObject *pSource)
OdGiRasterImageBGRA32Copy()
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
OdRxObjectPtr clone() const
~OdGiRasterImageBGRA32Copy()
void copyFrom(const OdRxObject *pSource)
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
OdRxObjectPtr clone() const
~OdGiRasterImageBGRA32Holder()
OdGiRasterImageBGRA32Holder()
OdGiImageBGRA32 m_ImageCopy
OdGiRasterImage::Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
OdGiRasterImage::TransparencyMode transparencyMode() const
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
OdUInt32 numColors() const
OdUInt32 pixelHeight() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdGiRasterImage::TransparencyMode m_transparencyMode
OdUInt32 pixelWidth() const
OdUInt32 scanLinesAlignment() const
ODCOLORREF color(OdUInt32 colorIndex) const
OdUInt32 scanLineSize() const
void paletteData(OdUInt8 *bytes) const
OdUInt32 paletteDataSize() const
OdRxObjectPtr clone() const
static OdGiRasterImagePtr createObject(OdGiImageBGRA32 *pImage, OdGiRasterImage::TransparencyMode transparencyMode=OdGiRasterImage::kTransparency8Bit)
virtual ~OdGiRasterImageBGRA32()
OdUInt32 supportedParams() const
OdGiRasterImage::PixelFormatInfo pixelFormat() const
const OdUInt8 * scanLines() const
OdUInt32 colorDepth() const
void copyFrom(const OdRxObject *pSource)
OdGiImageBGRA32 * m_pBGRAImage
OdGiRasterImage::ImageSource imageSource() const
OdUInt32 supportedParams() const
const OdString & sourceFileName() const
ODCOLORREF color(OdUInt32 colorIndex) const
OdGiRasterImage::PixelFormatInfo & pixelFormat()
const OdUInt8 * scanLines() const
OdUInt32 scanLinesAlignment() const
void setSourceFileName(const OdString &fileName)
static OdGiRasterImagePtr createObject(OdUInt32 pixelWidth, OdUInt32 pixelHeight, Units units=kNone, double xPelsPerUnit=0.0, double yPelsPerUnit=0.0)
virtual ~OdGiRasterImageDesc()
void setPixelWidth(OdUInt32 pixelWidth)
OdUInt32 numColors() const
void setDefaultResolution(Units units, double xPelsPerUnit, double yPelsPerUnit)
OdRxObjectPtr clone() const
OdGiRasterImage::TransparencyMode transparencyMode() const
OdGiRasterImage::ImageSource imageSource() const
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pSourceImage)
void setFrom(const OdGiRasterImage *pSourceImage)
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
void setImageSource(OdGiRasterImage::ImageSource source)
void setScanLinesAlignment(OdUInt32 alignment)
OdUInt32 pixelHeight() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt32 scanLineSize() const
PixelFormatInfo pixelFormat() const
void setTransparencyMode(OdGiRasterImage::TransparencyMode mode)
static OdGiRasterImagePtr createObject(OdUInt32 pixelWidth, OdUInt32 pixelHeight, OdUInt32 colorDepth, Units units=kNone, double xPelsPerUnit=0.0, double yPelsPerUnit=0.0)
void paletteData(OdUInt8 *bytes) const
void setPixelHeight(OdUInt32 pixelHeight)
void setPalette(OdUInt32 paletteSize, OdUInt8 *paletteData)
void copyFrom(const OdRxObject *pSource)
OdUInt32 paletteDataSize() const
OdUInt32 colorDepth() const
void setColorDepth(OdUInt32 colorDepth)
OdUInt32 pixelWidth() const
OdUInt32 supportedParams() const
ImageSource imageSource() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
OdUInt32 colorDepth() const
const OdString & sourceFileName() const
TransparencyMode transparencyMode() const
void setTransparencyMode(TransparencyMode mode)
const OdUInt8 * scanLines() const
PixelFormatInfo pixelFormat() const
int transparentColor() const
ODCOLORREF color(OdUInt32 colorIndex) const
virtual ~OdGiRasterImageHolder()
OdUInt32 paletteDataSize() const
OdUInt32 pixelHeight() const
static OdGiRasterImagePtr createObject(const OdGiRasterImage *pImage)
void setImageSource(ImageSource source)
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
OdRxObjectPtr clone() const
OdUInt32 scanLinesAlignment() const
void setSourceFileName(const OdString &fileName)
void setFrom(const OdGiRasterImage *pOrig)
void paletteData(OdUInt8 *bytes) const
OdUInt32 pixelWidth() const
OdUInt32 numColors() const
OdUInt32 scanLineSize() const
void copyFrom(const OdRxObject *pSource)
virtual const OdUInt8 * scanLines() const =0
OdUInt32 paletteDataSize() const
void setSourceFileName(const OdString &fileName)
Units defaultResolution(double &xPelsPerUnit, double &yPelsPerUnit) const
virtual ~OdGiRasterImageWrapper()
void setOriginal(const OdGiRasterImage *pOrig)
OdUInt32 colorDepth() const
OdUInt32 scanLineSize() const
OdRxObjectPtr clone() const
PixelFormatInfo pixelFormat() const
void setTransparencyMode(TransparencyMode mode)
OdUInt32 numColors() const
const OdUInt8 * scanLines() const
const OdGiRasterImage * original() const
OdUInt32 scanLinesAlignment() const
const OdString & sourceFileName() const
OdUInt32 pixelHeight() const
TransparencyMode transparencyMode() const
void paletteData(OdUInt8 *bytes) const
void copyFrom(const OdRxObject *pSource)
OdGiRasterImagePtr cloneOriginal() const
ODCOLORREF color(OdUInt32 colorIndex) const
OdUInt32 supportedParams() const
void setImageSource(ImageSource source)
OdUInt32 pixelWidth() const
void scanLines(OdUInt8 *scnLines, OdUInt32 firstScanline, OdUInt32 numLines=1) const
int transparentColor() const
ImageSource imageSource() const
virtual void copyFrom(const OdRxObject *pSource)
virtual OdRxObjectPtr clone() const
GLsizei GLsizei GLchar * source