31 typedef shared_ptr<class Image1>
Ref;
43 void copyArray(
const Color1unorm8* src,
int w,
int h);
44 void copyArray(
const Color3unorm8* src,
int w,
int h);
45 void copyArray(
const Color4unorm8* src,
int w,
int h);
72 void load(
const std::string& filename);
78 void save(
const std::string& filename);
static Ref fromArray(const class Color1unorm8 *ptr, int width, int height, WrapMode wrap=WrapMode::ERROR)
Definition: Image1.cpp:109
int32 height() const
Definition: Map2D.h:645
void load(const std::string &filename)
Definition: Image1.cpp:60
static Ref createEmpty(int width, int height, WrapMode wrap=WrapMode::ERROR)
Definition: Image1.cpp:43
shared_ptr< class Image1 > Ref
Definition: Image1.h:31
Definition: WrapMode.h:63
void copyArray(const Color1 *src, int w, int h)
Definition: Image1.cpp:161
float wrap(float t, float lo, float hi)
Definition: g3dmath.h:495
uint32 h
Definition: Map2D.h:194
const class ImageFormat * format() const
Definition: Image1.cpp:209
int32 width() const
Definition: Map2D.h:639
uint32 w
Definition: Map2D.h:191
shared_ptr< class Image1 > Image1Ref
Definition: Image1.h:20
Color1 Compute
Definition: Image1.h:33
Image1(int w, int h, WrapMode wrap)
Definition: Image1.cpp:24
Color1 Storage
Definition: Image1.h:32
void copyGImage(const class GImage &im)
static Ref fromFile(const std::string &filename, WrapMode wrap=WrapMode::ERROR)
Definition: Image1.cpp:53
static Ref fromImage1unorm8(const shared_ptr< class Image1unorm8 > &im)
Definition: Image1.cpp:29
Definition: WrapMode.h:55
void save(const std::string &filename)
Definition: Image1.cpp:202
Image1 Type
Definition: Image1.h:30