27#include <Inventor/SbVec2s.h>
28#include <Inventor/SbVec3s.h>
29#include <Inventor/SbString.h>
34typedef SbBool SbImageScheduleReadCB(
const SbString &,
SbImage *,
void *);
39 SbImage(
const unsigned char * bytes,
40 const SbVec2s & size,
const int bytesperpixel);
41 SbImage(
const unsigned char * bytes,
42 const SbVec3s & size,
const int bytesperpixel);
45 void setValue(
const SbVec2s & size,
const int bytesperpixel,
46 const unsigned char * bytes);
47 void setValue(
const SbVec3s & size,
const int bytesperpixel,
48 const unsigned char * bytes);
49 void setValuePtr(
const SbVec2s & size,
const int bytesperpixel,
50 const unsigned char * bytes);
51 void setValuePtr(
const SbVec3s & size,
const int bytesperpixel,
52 const unsigned char * bytes);
53 unsigned char * getValue(
SbVec2s & size,
int & bytesperpixel)
const;
54 unsigned char * getValue(
SbVec3s & size,
int & bytesperpixel)
const;
57 SbBool readFile(
const SbString & filename,
58 const SbString *
const * searchdirectories = NULL,
59 const int numdirectories = 0);
61 int operator==(
const SbImage & image)
const;
63 return ! operator == (image);
71 SbBool hasData(
void)
const;
75 class SbImageP * pimpl;
80 void readLock(
void)
const;
81 void readUnlock(
void)
const;
83 SbBool scheduleReadFile(SbImageScheduleReadCB * cb,
86 const SbString *
const * searchdirectories = NULL,
87 const int numdirectories = 0);
The SbImage class is an abstract datatype for 2D and 3D images.
Definition SbImage.h:36
int operator!=(const SbImage &image) const
Definition SbImage.h:62
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:37
The SbVec3s class is a 3 dimensional vector with short integer coordinates.
Definition SbVec3s.h:36
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen. 1.11.0