eLynx SDK
v3.0.1 C++ image processing API reference |
#include <ImageRasterizationImpl.h>
Public Member Functions | |
virtual bool | Clear (AbstractImage &ioImage, uint32 iChannelMask) const |
virtual bool | Plot (AbstractImage &ioImage, int32 iX, int32 iY, uint32 iChannelMask) const |
virtual bool | DrawHLine (AbstractImage &ioImage, int32 iY, int32 iX1, int32 iX2, uint32 iChannelMask) const |
virtual bool | DrawLine (AbstractImage &ioImage, int32 iX1, int32 iY1, int32 iX2, int32 iY2, bool ibAntialiasing, uint32 iChannelMask) const |
virtual bool | DrawRectangle (AbstractImage &ioImage, int32 iX1, int32 iY1, int32 iX2, int32 iY2, bool ibSolid, uint32 iChannelMask) const |
virtual bool | DrawEllipse (AbstractImage &ioImage, int32 iX, int32 iY, uint32 iRadiusX, uint32 iRadiusY, bool ibSolid, uint32 iChannelMask) const |
virtual bool | DrawCircle (AbstractImage &ioImage, int32 iX, int32 iY, uint32 iRadius, bool ibSolid, uint32 iChannelMask) const |
virtual bool | DrawTriangle (AbstractImage &ioImage, int32 iX0, int32 iY0, int32 iX1, int32 iY1, int32 iX2, int32 iY2, bool ibSolid, uint32 iChannelMask) const |
virtual bool | Fill (AbstractImage &ioImage, int32 iX, int32 iY, uint32 iChannelMask) const |
virtual bool | GetFilledBBox (const AbstractImage &iImage, int32 iX, int32 iY, Math::AOBBox2i &oBBox) const |
Static Public Member Functions | |
Specialized static services | |
static bool | Clear (ImageImpl< Pixel > &ioImage, const Pixel &iPixel, uint32 iChannelMask=CM_All) |
static bool | Plot (ImageImpl< Pixel > &ioImage, int32 iX, int32 iY, const Pixel &iPixel, uint32 iChannelMask=CM_All) |
static bool | DrawHLine (ImageImpl< Pixel > &ioImage, int32 iY, int32 iX1, int32 iX2, const Pixel &iPixel, uint32 iChannelMask=CM_All) |
static bool | DrawLine (ImageImpl< Pixel > &ioImage, int32 iX1, int32 iY1, int32 iX2, int32 iY2, const Pixel &iPixel, bool ibAntialiasing=false, uint32 iChannelMask=CM_All) |
static bool | DrawSpot (ImageImpl< Pixel > &ioImage, int32 iX, int32 iY, const Pixel &iPixel, int32 iSize=1, uint32 iChannelMask=CM_All) |
static bool | DrawRectangle (ImageImpl< Pixel > &ioImage, int32 iX1, int32 iY1, int32 iX2, int32 iY2, const Pixel &iPixel, bool ibSolid=false, uint32 iChannelMask=CM_All) |
static bool | DrawEllipse (ImageImpl< Pixel > &ioImage, int32 iX, int32 iY, uint32 iRadiusX, uint32 iRadiusY, const Pixel &iPixel, bool ibSolid=false, uint32 iChannelMask=CM_All) |
static bool | DrawCircle (ImageImpl< Pixel > &ioImage, int32 iX, int32 iY, uint32 iRadius, const Pixel &iPixel, bool ibSolid=false, uint32 iChannelMask=CM_All) |
static bool | DrawTriangle (ImageImpl< Pixel > &ioImage, int32 iX0, int32 iY0, int32 iX1, int32 iY1, int32 iX2, int32 iY2, const Pixel &iPixel, bool ibSolid=false, uint32 iChannelMask=CM_All) |
static bool | DrawTriangle (ImageImpl< Pixel > &ioImage, int32 iX0, int32 iY0, int32 iU0, int32 iV0, int32 iX1, int32 iY1, int32 iU1, int32 iV1, int32 iX2, int32 iY2, int32 iU2, int32 iV2, const ImageImpl< Pixel > &iTexture, uint32 iChannelMask=CM_All) |
static bool | DrawTriangle (ImageImpl< Pixel > &ioImage, int32 iX0, int32 iY0, const Pixel &iPixel0, int32 iX1, int32 iY1, const Pixel &iPixel1, int32 iX2, int32 iY2, const Pixel &iPixel2, uint32 iChannelMask=CM_All) |
static bool | DrawTriangle (ImageImpl< Pixel > &ioImage, int32 iX0, int32 iY0, int32 iU0, int32 iV0, const Pixel &iPixel0, int32 iX1, int32 iY1, int32 iU1, int32 iV1, const Pixel &iPixel1, int32 iX2, int32 iY2, int32 iU2, int32 iV2, const Pixel &iPixel2, const ImageImpl< Pixel > &iTexture, uint32 iChannelMask=CM_All) |
static bool | Fill (ImageImpl< Pixel > &ioImage, int32 iX, int32 iY, const Pixel &iPixel, uint32 iChannelMask=CM_All) |
static bool | GetFilledBBox (const ImageImpl< Pixel > &iImage, int32 iX, int32 iY, Math::AOBBox2i &oBBox) |
Definition at line 32 of file ImageRasterizationImpl.h.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::Clear | ( | AbstractImage & | ioImage, | |
uint32 | iChannelMask | |||
) | const [virtual] |
Clear image.
ioImage | image to be cleared. | |
iChannelMask | selected channels to be processed. Default is all. |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::Plot | ( | AbstractImage & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawHLine | ( | AbstractImage & | ioImage, | |
int32 | iY, | |||
int32 | iX1, | |||
int32 | iX2, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawLine | ( | AbstractImage & | ioImage, | |
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
bool | ibAntialiasing, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawRectangle | ( | AbstractImage & | ioImage, | |
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
bool | ibSolid, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawEllipse | ( | AbstractImage & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iRadiusX, | |||
uint32 | iRadiusY, | |||
bool | ibSolid, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawCircle | ( | AbstractImage & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iRadius, | |||
bool | ibSolid, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawTriangle | ( | AbstractImage & | ioImage, | |
int32 | iX0, | |||
int32 | iY0, | |||
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
bool | ibSolid, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::Fill | ( | AbstractImage & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iChannelMask | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
virtual bool eLynx::Image::ImageRasterizationImpl< Pixel >::GetFilledBBox | ( | const AbstractImage & | iImage, | |
int32 | iX, | |||
int32 | iY, | |||
Math::AOBBox2i & | oBBox | |||
) | const [virtual] |
Implements eLynx::Image::IImageRasterization.
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::Clear | ( | ImageImpl< Pixel > & | ioImage, | |
const Pixel & | iPixel, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::Plot | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
const Pixel & | iPixel, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawHLine | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iY, | |||
int32 | iX1, | |||
int32 | iX2, | |||
const Pixel & | iPixel, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawLine | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
const Pixel & | iPixel, | |||
bool | ibAntialiasing = false , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawSpot | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
const Pixel & | iPixel, | |||
int32 | iSize = 1 , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawRectangle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
const Pixel & | iPixel, | |||
bool | ibSolid = false , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawEllipse | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iRadiusX, | |||
uint32 | iRadiusY, | |||
const Pixel & | iPixel, | |||
bool | ibSolid = false , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawCircle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
uint32 | iRadius, | |||
const Pixel & | iPixel, | |||
bool | ibSolid = false , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawTriangle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX0, | |||
int32 | iY0, | |||
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
const Pixel & | iPixel, | |||
bool | ibSolid = false , |
|||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawTriangle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX0, | |||
int32 | iY0, | |||
int32 | iU0, | |||
int32 | iV0, | |||
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iU1, | |||
int32 | iV1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
int32 | iU2, | |||
int32 | iV2, | |||
const ImageImpl< Pixel > & | iTexture, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawTriangle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX0, | |||
int32 | iY0, | |||
const Pixel & | iPixel0, | |||
int32 | iX1, | |||
int32 | iY1, | |||
const Pixel & | iPixel1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
const Pixel & | iPixel2, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::DrawTriangle | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX0, | |||
int32 | iY0, | |||
int32 | iU0, | |||
int32 | iV0, | |||
const Pixel & | iPixel0, | |||
int32 | iX1, | |||
int32 | iY1, | |||
int32 | iU1, | |||
int32 | iV1, | |||
const Pixel & | iPixel1, | |||
int32 | iX2, | |||
int32 | iY2, | |||
int32 | iU2, | |||
int32 | iV2, | |||
const Pixel & | iPixel2, | |||
const ImageImpl< Pixel > & | iTexture, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::Fill | ( | ImageImpl< Pixel > & | ioImage, | |
int32 | iX, | |||
int32 | iY, | |||
const Pixel & | iPixel, | |||
uint32 | iChannelMask = CM_All | |||
) | [static] |
static bool eLynx::Image::ImageRasterizationImpl< Pixel >::GetFilledBBox | ( | const ImageImpl< Pixel > & | iImage, | |
int32 | iX, | |||
int32 | iY, | |||
Math::AOBBox2i & | oBBox | |||
) | [static] |