#include <vtkExtTIFFReader.h>
vtkExtTIFFReader is a source object that reads TIFF files. It should be able to read most any TIFF file
Definition at line 63 of file vtkExtTIFFReader.h.
Public Types | |
enum | { NOFORMAT, RGB, GRAYSCALE, PALETTE_RGB, PALETTE_GRAYSCALE, OTHER, RAW } |
typedef vtkImageReader2 | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | CanReadFile (const char *fname) |
void | InitializeColors () |
virtual void | SetRawMode (int) |
virtual int | GetRawMode () |
virtual void | RawModeOn () |
virtual void | RawModeOff () |
void | ReadImageInternal (void *, void *outPtr, int *outExt, unsigned int size) |
virtual const char * | GetFileExtensions () |
virtual const char * | GetDescriptiveName () |
vtkExtTIFFReaderInternal * | GetInternalImage () |
Static Public Member Functions | |
static vtkExtTIFFReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtTIFFReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkExtTIFFReader () | |
~vtkExtTIFFReader () | |
void | GetColor (int index, unsigned short *r, unsigned short *g, unsigned short *b) |
unsigned int | GetFormat () |
virtual void | ExecuteInformation () |
virtual void | ExecuteData (vtkDataObject *out) |
void | ReadGenericImage (void *out, unsigned int width, unsigned int height, unsigned int size) |
int | EvaluateImageAt (void *, void *) |
anonymous enum |
Definition at line 100 of file vtkExtTIFFReader.h.
vtkExtTIFFReader::vtkExtTIFFReader | ( | ) | [protected] |
vtkExtTIFFReader::~vtkExtTIFFReader | ( | ) | [protected] |
static vtkExtTIFFReader* vtkExtTIFFReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageReader2.
virtual const char* vtkExtTIFFReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageReader2.
static int vtkExtTIFFReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
virtual int vtkExtTIFFReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
static vtkExtTIFFReader* vtkExtTIFFReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageReader2.
virtual void vtkExtTIFFReader::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageReader2.
virtual int vtkExtTIFFReader::CanReadFile | ( | const char * | fname | ) | [virtual] |
Is the given file name a tiff file file?
virtual const char* vtkExtTIFFReader::GetFileExtensions | ( | ) | [inline, virtual] |
Get the file extensions for this format. Returns a string with a space separated list of extensions in the format .extension
Reimplemented from vtkImageReader2.
Definition at line 76 of file vtkExtTIFFReader.h.
virtual const char* vtkExtTIFFReader::GetDescriptiveName | ( | ) | [inline, virtual] |
Return a descriptive name for the file format that might be useful in a GUI.
Reimplemented from vtkImageReader2.
Definition at line 85 of file vtkExtTIFFReader.h.
void vtkExtTIFFReader::InitializeColors | ( | ) |
Auxilary methods used by the reader internally.
virtual void vtkExtTIFFReader::SetRawMode | ( | int | ) | [virtual] |
virtual int vtkExtTIFFReader::GetRawMode | ( | ) | [virtual] |
virtual void vtkExtTIFFReader::RawModeOn | ( | ) | [virtual] |
virtual void vtkExtTIFFReader::RawModeOff | ( | ) | [virtual] |
void vtkExtTIFFReader::ReadImageInternal | ( | void * | , | |
void * | outPtr, | |||
int * | outExt, | |||
unsigned int | size | |||
) |
vtkExtTIFFReaderInternal* vtkExtTIFFReader::GetInternalImage | ( | ) | [inline] |
Method to access internal image. Not to be used outside the class.
Definition at line 110 of file vtkExtTIFFReader.h.
void vtkExtTIFFReader::GetColor | ( | int | index, | |
unsigned short * | r, | |||
unsigned short * | g, | |||
unsigned short * | b | |||
) | [protected] |
unsigned int vtkExtTIFFReader::GetFormat | ( | ) | [protected] |
virtual void vtkExtTIFFReader::ExecuteInformation | ( | ) | [protected, virtual] |
Reimplemented from vtkImageReader2.
virtual void vtkExtTIFFReader::ExecuteData | ( | vtkDataObject * | output | ) | [protected, virtual] |
This method is the old style execute method
Reimplemented from vtkImageReader2.
void vtkExtTIFFReader::ReadGenericImage | ( | void * | out, | |
unsigned int | width, | |||
unsigned int | height, | |||
unsigned int | size | |||
) | [protected] |
int vtkExtTIFFReader::EvaluateImageAt | ( | void * | , | |
void * | ||||
) | [protected] |