36#include <Inventor/SbVec2s.h>
37#include <Inventor/SbVec3s.h>
38#include <Inventor/SbString.h>
49 SbImage(
const unsigned char * bytes,
50 const SbVec2s & size,
const int bytesperpixel);
51 SbImage(
const unsigned char * bytes,
52 const SbVec3s & size,
const int bytesperpixel);
56 void setValue(
const SbVec2s & size,
const int bytesperpixel,
57 const unsigned char * bytes);
58 void setValue(
const SbVec3s & size,
const int bytesperpixel,
59 const unsigned char * bytes);
60 void setValuePtr(
const SbVec2s & size,
const int bytesperpixel,
61 const unsigned char * bytes);
62 void setValuePtr(
const SbVec3s & size,
const int bytesperpixel,
63 const unsigned char * bytes);
64 unsigned char * getValue(
SbVec2s & size,
int & bytesperpixel)
const;
65 unsigned char * getValue(
SbVec3s & size,
int & bytesperpixel)
const;
68 SbBool readFile(
const SbString & filename,
69 const SbString *
const * searchdirectories = NULL,
70 const int numdirectories = 0);
72 int operator==(
const SbImage & image)
const;
74 return ! operator == (image);
85 SbBool hasData(
void)
const;
89 class SbImageP * pimpl;
94 void readLock(
void)
const;
95 void readUnlock(
void)
const;
100 const SbString *
const * searchdirectories = NULL,
101 const int numdirectories = 0);
SbBool SbImageReadImageCB(const SbString &, SbImage *, void *)
Definition SbImage.h:44
SbBool SbImageScheduleReadCB(const SbString &, SbImage *, void *)
Definition SbImage.h:43
The SbImage class is an abstract datatype for 2D and 3D images.
Definition SbImage.h:46
int operator!=(const SbImage &image) const
Definition SbImage.h:73
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:52
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:51
The SbVec3s class is a 3 dimensional vector with short integer coordinates.
Definition SbVec3s.h:51