|
const class ImageFormat * | format () const |
|
void | load (const std::string &filename) |
|
void | save (const std::string &filename) |
|
const Color1 & | fastGet (int x, int y) const |
|
void | fastSet (int x, int y, const Color1 &v) |
|
Color1 | bicubic (float x, float y, WrapMode wrap) const |
|
Color1 | bicubic (float x, float y) const |
|
Color1 | bicubic (const Vector2 &p, WrapMode wrap) const |
|
Color1 | bicubic (const Vector2 &p) const |
|
void | resize (uint32 newW, uint32 newH) |
|
bool | changed () |
|
void | setChanged (bool c) |
|
Color1 * | getCArray () |
|
const Color1 * | getCArray () const |
|
Array< Color1 > & | getArray () |
|
const Array< Color1 > & | getArray () const |
|
bool | inBounds (int x, int y) const |
|
bool | inBounds (const Vector2int16 &v) const |
|
const Color1 & | get (int x, int y, WrapMode wrap) const |
|
const Color1 & | get (int x, int y) const |
|
const Color1 & | get (const Vector2int16 &p) const |
|
const Color1 & | get (const Vector2int16 &p, WrapMode wrap) const |
|
Color1 & | get (int x, int y, WrapMode wrap) |
|
Color1 & | get (int x, int y) |
|
Color1 & | get (const Vector2int16 &p) |
|
void | set (const Vector2int16 &p, const Color1 &v) |
|
void | set (int x, int y, const Color1 &v, WrapMode wrap) |
|
void | set (int x, int y, const Color1 &v) |
|
void | set (const shared_ptr< Map2D< Color1, T > > &src) |
|
void | setAll (const Color1 &v) |
|
void | maybeFlipVertical (bool flip) |
|
virtual void | flipVertical () |
|
virtual void | flipHorizontal () |
|
virtual void | crop (int newX, int newY, int newW, int newH) |
|
virtual void | crop (const Rect2D &rect) |
|
Color1 | nearest (float x, float y, WrapMode wrap) const |
|
Color1 | nearest (float x, float y) const |
|
Color1 | nearest (const Vector2 &p) const |
|
Color1 | average () const |
|
Color1 | bilinear (float x, float y, WrapMode wrap) const |
|
Color1 | bilinear (float x, float y) const |
|
Color1 | bilinear (const Vector2 &p) const |
|
Color1 | bilinear (const Vector2 &p, WrapMode wrap) const |
|
int32 | width () const |
|
int32 | height () const |
|
Vector2int16 | size () const |
|
Rect2D | rect2DBounds () const |
|
size_t | sizeInMemory () const |
|
WrapMode | wrapMode () const |
|
void | setWrapMode (WrapMode m) |
|
virtual | ~ReferenceCountedObject () |
|
|
static Ref | createEmpty (int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | createEmpty (WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromFile (const std::string &filename, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color1unorm8 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color3unorm8 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color4unorm8 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color1 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color3 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromArray (const class Color4 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR) |
|
static Ref | fromImage1unorm8 (const shared_ptr< class Image1unorm8 > &im) |
|
static Ref | create (int w=0, int h=0, WrapMode wrap=WrapMode::ERROR) |
|
|
| Image1 (int w, int h, WrapMode wrap) |
|
void | copyGImage (const class GImage &im) |
|
void | copyArray (const Color1 *src, int w, int h) |
|
void | copyArray (const Color3 *src, int w, int h) |
|
void | copyArray (const Color4 *src, int w, int h) |
|
void | copyArray (const Color1unorm8 *src, int w, int h) |
|
void | copyArray (const Color3unorm8 *src, int w, int h) |
|
void | copyArray (const Color4unorm8 *src, int w, int h) |
|
const Color1 & | slowGet (int x, int y, WrapMode wrap) |
|
Color1 | bicubic (const Color1 *ctrl, double s) const |
|
| Map2D (int w, int h, WrapMode wrap) |
|
Luminance image with 32-bit floating point storage.
See also G3D::Image1unorm8, G3D::GImage.