Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoRasterReaderSet Class Reference

VSG extension Class referencing all raster reading classes. More...

#include <Inventor/image/SoRasterReaderSet.h>

Static Public Member Functions

static SoRasterImageRWgetReader (SoRasterImageIO *imageIO)
 Returns an instance of the reader class if found in the set of raster readers.
 
static void addReader (SoRasterImageRW *reader)
 Adds a raster reading class to the set of raster readers.
 
static void deleteReaders (int start, int num=-1)
 Removes num readers (including default ones) at start position.
 
static SoType getReaderAt (int index)
 Returns the type of reader at the specified index.
 
static int getNumReaders ()
 Returns the number of raster readers currently in the set.
 

Detailed Description

VSG extension Class referencing all raster reading classes.

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.

SEE ALSO

SoPNGImageRW, SoSGIRGBImageRW, SoGIFImageRW, SoJP2ImageRW, SoSUNImageRW, SoBMPImageRW, SoPGXImageRW, SoPNMImageRW, SoPSImageRW, SoJPEGImageRW, SoTIFFImageRW

Definition at line 62 of file SoRasterReaderSet.h.

Member Function Documentation

◆ addReader()

static void SoRasterReaderSet::addReader ( SoRasterImageRW reader)
static

Adds a raster reading class to the set of raster readers.

◆ deleteReaders()

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.

◆ getNumReaders()

static int SoRasterReaderSet::getNumReaders ( )
static

Returns the number of raster readers currently in the set.

◆ getReader()

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.

◆ getReaderAt()

static SoType SoRasterReaderSet::getReaderAt ( int  index)
static

Returns the type of reader at the specified index.


The documentation for this class was generated from the following file: