vtkExtTIFFReader Class Reference

#include <vtkExtTIFFReader.h>

Inheritance diagram for vtkExtTIFFReader:

Inheritance graph
[legend]
Collaboration diagram for vtkExtTIFFReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

read TIFF files

Date
2003/11/04 21:26:04
Revision
1.28

vtkExtTIFFReader is a source object that reads TIFF files. It should be able to read most any TIFF file

See also:
vtkTIFFWriter

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 vtkExtTIFFReaderNew ()
static int IsTypeOf (const char *type)
static vtkExtTIFFReaderSafeDownCast (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 *)


Member Typedef Documentation

typedef vtkImageReader2 vtkExtTIFFReader::Superclass

Reimplemented from vtkImageReader2.

Definition at line 67 of file vtkExtTIFFReader.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NOFORMAT 
RGB 
GRAYSCALE 
PALETTE_RGB 
PALETTE_GRAYSCALE 
OTHER 
RAW 

Definition at line 100 of file vtkExtTIFFReader.h.


Constructor & Destructor Documentation

vtkExtTIFFReader::vtkExtTIFFReader (  )  [protected]

vtkExtTIFFReader::~vtkExtTIFFReader (  )  [protected]


Member Function Documentation

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 *  type  )  [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 *  type  )  [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 out  )  [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]


The documentation for this class was generated from the following file:
Generated on Sat Dec 30 06:29:09 2006 for VTK by  doxygen 1.5.1