vtkTIFFReader Class Reference

#include <vtkTIFFReader.h>

Inheritance diagram for vtkTIFFReader:

Inheritance graph
[legend]
Collaboration diagram for vtkTIFFReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

read TIFF files

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

See also:
vtkTIFFWriter
Examples:
vtkTIFFReader (Examples)
Tests:
vtkTIFFReader (Tests)

Definition at line 40 of file vtkTIFFReader.h.


Public Types

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 ReadVolume (void *buffer)
virtual void ReadTiles (void *buffer)
virtual const char * GetFileExtensions ()
virtual const char * GetDescriptiveName ()
void SetOrientationType (unsigned int orientationType)
virtual unsigned int GetOrientationType ()
virtual bool GetOrientationTypeSpecifiedFlag ()
virtual void SetOriginSpecifiedFlag (bool)
virtual bool GetOriginSpecifiedFlag ()
virtual void OriginSpecifiedFlagOn ()
virtual void OriginSpecifiedFlagOff ()
*virtual void SetSpacingSpecifiedFlag (bool)
virtual bool GetSpacingSpecifiedFlag ()
virtual void SpacingSpecifiedFlagOn ()
virtual void SpacingSpecifiedFlagOff ()
void ReadImageInternal (void *, void *outPtr, int *outExt, unsigned int size)

Static Public Member Functions

static vtkTIFFReaderNew ()
static int IsTypeOf (const char *type)
static vtkTIFFReaderSafeDownCast (vtkObject *o)

Protected Types

enum  {
  NOFORMAT, RGB, GRAYSCALE, PALETTE_RGB,
  PALETTE_GRAYSCALE, OTHER
}

Protected Member Functions

 vtkTIFFReader ()
 ~vtkTIFFReader ()
vtkTIFFReaderInternal * GetInternalImage ()
int EvaluateImageAt (void *, void *)
void GetColor (int index, unsigned short *r, unsigned short *g, unsigned short *b)
void ReadGenericImage (void *out, unsigned int vtkNotUsed(width), unsigned int height)
void ReadTwoSamplesPerPixelImage (void *out, unsigned int vtkNotUsed(width), unsigned int height)
unsigned int GetFormat ()
virtual void ExecuteInformation ()
virtual void ExecuteData (vtkDataObject *out)

Member Typedef Documentation

Reimplemented from vtkImageReader2.

Definition at line 44 of file vtkTIFFReader.h.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
NOFORMAT 
RGB 
GRAYSCALE 
PALETTE_RGB 
PALETTE_GRAYSCALE 
OTHER 

Definition at line 121 of file vtkTIFFReader.h.


Constructor & Destructor Documentation

vtkTIFFReader::vtkTIFFReader (  )  [protected]

vtkTIFFReader::~vtkTIFFReader (  )  [protected]


Member Function Documentation

static vtkTIFFReader* vtkTIFFReader::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkImageReader2.

virtual const char* vtkTIFFReader::GetClassName (  )  [virtual]

Reimplemented from vtkImageReader2.

static int vtkTIFFReader::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageReader2.

virtual int vtkTIFFReader::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageReader2.

static vtkTIFFReader* vtkTIFFReader::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkImageReader2.

virtual void vtkTIFFReader::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 vtkTIFFReader::CanReadFile ( const char *  fname  )  [virtual]

Is the given file name a tiff file file?

virtual const char* vtkTIFFReader::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 53 of file vtkTIFFReader.h.

virtual const char* vtkTIFFReader::GetDescriptiveName (  )  [inline, virtual]

Return a descriptive name for the file format that might be useful in a GUI.

Reimplemented from vtkImageReader2.

Definition at line 62 of file vtkTIFFReader.h.

void vtkTIFFReader::InitializeColors (  ) 

Auxilary methods used by the reader internally.

virtual void vtkTIFFReader::ReadVolume ( void *  buffer  )  [virtual]

Reads 3D data from multi-pages tiff.

virtual void vtkTIFFReader::ReadTiles ( void *  buffer  )  [virtual]

Reads 3D data from tiled tiff

void vtkTIFFReader::SetOrientationType ( unsigned int  orientationType  ) 

Set orientation type ORIENTATION_TOPLEFT 1 (row 0 top, col 0 lhs) ORIENTATION_TOPRIGHT 2 (row 0 top, col 0 rhs) ORIENTATION_BOTRIGHT 3 (row 0 bottom, col 0 rhs) ORIENTATION_BOTLEFT 4 (row 0 bottom, col 0 lhs) ORIENTATION_LEFTTOP 5 (row 0 lhs, col 0 top) ORIENTATION_RIGHTTOP 6 (row 0 rhs, col 0 top) ORIENTATION_RIGHTBOT 7 (row 0 rhs, col 0 bottom) ORIENTATION_LEFTBOT 8 (row 0 lhs, col 0 bottom) User need to explicitly include vtk_tiff.h header to have access to those define

virtual unsigned int vtkTIFFReader::GetOrientationType (  )  [virtual]

Set orientation type ORIENTATION_TOPLEFT 1 (row 0 top, col 0 lhs) ORIENTATION_TOPRIGHT 2 (row 0 top, col 0 rhs) ORIENTATION_BOTRIGHT 3 (row 0 bottom, col 0 rhs) ORIENTATION_BOTLEFT 4 (row 0 bottom, col 0 lhs) ORIENTATION_LEFTTOP 5 (row 0 lhs, col 0 top) ORIENTATION_RIGHTTOP 6 (row 0 rhs, col 0 top) ORIENTATION_RIGHTBOT 7 (row 0 rhs, col 0 bottom) ORIENTATION_LEFTBOT 8 (row 0 lhs, col 0 bottom) User need to explicitly include vtk_tiff.h header to have access to those define

virtual bool vtkTIFFReader::GetOrientationTypeSpecifiedFlag (  )  [virtual]

Get method to check if orientation type is specified

virtual void vtkTIFFReader::SetOriginSpecifiedFlag ( bool   )  [virtual]

Set/get methods to see if manual Origin/Spacing have been set.

virtual bool vtkTIFFReader::GetOriginSpecifiedFlag (  )  [virtual]

Set/get methods to see if manual Origin/Spacing have been set.

virtual void vtkTIFFReader::OriginSpecifiedFlagOn (  )  [virtual]

Set/get methods to see if manual Origin/Spacing have been set.

virtual void vtkTIFFReader::OriginSpecifiedFlagOff (  )  [virtual]

Set/get methods to see if manual Origin/Spacing have been set.

* virtual void vtkTIFFReader::SetSpacingSpecifiedFlag ( bool   )  [virtual]

virtual bool vtkTIFFReader::GetSpacingSpecifiedFlag (  )  [virtual]

virtual void vtkTIFFReader::SpacingSpecifiedFlagOn (  )  [virtual]

virtual void vtkTIFFReader::SpacingSpecifiedFlagOff (  )  [virtual]

void vtkTIFFReader::ReadImageInternal ( void *  ,
void *  outPtr,
int *  outExt,
unsigned int  size 
)

Internal method, do not use.

vtkTIFFReaderInternal* vtkTIFFReader::GetInternalImage (  )  [inline, protected]

Definition at line 123 of file vtkTIFFReader.h.

int vtkTIFFReader::EvaluateImageAt ( void *  ,
void *   
) [protected]

void vtkTIFFReader::GetColor ( int  index,
unsigned short *  r,
unsigned short *  g,
unsigned short *  b 
) [protected]

void vtkTIFFReader::ReadGenericImage ( void *  out,
unsigned int   vtkNotUsedwidth,
unsigned int  height 
) [protected]

void vtkTIFFReader::ReadTwoSamplesPerPixelImage ( void *  out,
unsigned int   vtkNotUsedwidth,
unsigned int  height 
) [protected]

unsigned int vtkTIFFReader::GetFormat (  )  [protected]

virtual void vtkTIFFReader::ExecuteInformation (  )  [protected, virtual]

Reimplemented from vtkImageReader2.

virtual void vtkTIFFReader::ExecuteData ( vtkDataObject output  )  [protected, virtual]

This method is the old style execute method

Reimplemented from vtkImageReader2.


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

Generated on Wed Aug 24 12:13:36 2011 for VTK by  doxygen 1.5.6