SoRasterReaderSet Class Reference
[Image]

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

#include <Inventor/image/SoRasterReaderSet.h>

List of all members.

Classes

struct  ThreadDataStruct

Static Public Member Functions

static SoRasterImageRWgetReader (SoRasterImageIO *imageIO)
static void addReader (SoRasterImageRW *reader)
static void deleteReaders (int start, int num=-1)
static SoType getReaderAt (int index)
static int getNumReaders ()

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

See related examples:

SimpleSliceRGBA


Member Function Documentation

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.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/