Class referencing all raster reading classes. More...
#include <Inventor/image/SoRasterReaderSet.h>
Classes | |
struct | ThreadDataStruct |
Static Public Member Functions | |
static SoRasterImageRW * | getReader (SoRasterImageIO *imageIO) |
static void | addReader (SoRasterImageRW *reader) |
static void | deleteReaders (int start, int num=-1) |
static SoType | getReaderAt (int index) |
static int | getNumReaders () |
This class is used to know what readers are available when opening a raster file. All raster readers supplied by Open Inventor are already referenced in SoRasterReaderSet as default readers. The default raster readers are: SoPNGImageRW, SoSGIRGBImageRW, SoGIFImageRW, SoJP2ImageRW, SoSUNImageRW, SoBMPImageRW, SoPGXImageRW, SoPNMImageRW, SoPSImageRW, SoJPEGImageRW, and SoTIFFImageRW.
SoPNGImageRW, SoSGIRGBImageRW, SoGIFImageRW, SoJP2ImageRW, SoSUNImageRW, SoBMPImageRW, SoPGXImageRW, SoPNMImageRW, SoPSImageRW, SoJPEGImageRW, SoTIFFImageRW
static void SoRasterReaderSet::addReader | ( | SoRasterImageRW * | reader | ) | [static] |
Adds a raster reading class to the set of raster readers.
static void SoRasterReaderSet::deleteReaders | ( | int | start, | |
int | num = -1 | |||
) | [static] |
Removes num readers (including default ones) at start position.
If num is equal to -1, all readers are removed.
static int SoRasterReaderSet::getNumReaders | ( | ) | [static] |
Returns the number of raster readers currently in the set.
static SoRasterImageRW* SoRasterReaderSet::getReader | ( | SoRasterImageIO * | imageIO | ) | [static] |
Returns an instance of the reader class if found in the set of raster readers.
Returns NULL if no reader found or available.
static SoType SoRasterReaderSet::getReaderAt | ( | int | index | ) | [static] |
Returns the type of reader at the specified index.