Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageBlockReader Class Reference

Breaks up image into blocks and save in files. More...

#include <vtkImageBlockReader.h>

Inheritance diagram for vtkImageBlockReader:

Inheritance graph
[legend]
Collaboration diagram for vtkImageBlockReader:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetDivisions (int, int, int)
virtual void SetDivisions (int[3])
virtual int * GetDivisions ()
virtual void GetDivisions (int &, int &, int &)
virtual void GetDivisions (int[3])
virtual void SetOverlap (int)
virtual int GetOverlap ()
virtual void SetWholeExtent (int, int, int, int, int, int)
virtual void SetWholeExtent (int[6])
virtual int * GetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])
virtual void SetNumberOfScalarComponents (int)
virtual int GetNumberOfScalarComponents ()
virtual void SetScalarType (int)
virtual int GetScalarType ()
virtual void SetFilePattern (const char *)
virtual char * GetFilePattern ()

Static Public Methods

vtkImageBlockReader * New ()
int IsTypeOf (const char *type)
vtkImageBlockReader * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageBlockReader ()
 ~vtkImageBlockReader ()
void ComputeBlockExtents ()
void DeleteBlockExtents ()
void Read (vtkImageData *data, int *ext)
void ReadRemainder (vtkImageData *data, int *ext, int *doneExt)
void ReadBlock (int xIdx, int yIdx, int zIdx, vtkImageData *data, int *ext)
void ModifyOutputUpdateExtent ()
void Execute (vtkImageData *data)
void ExecuteInformation ()

Protected Attributes

char * FilePattern
int WholeExtent [6]
int NumberOfScalarComponents
int ScalarType
int Divisions [3]
int Overlap
int * XExtents
int * YExtents
int * ZExtents

Detailed Description

Breaks up image into blocks and save in files.

Date:
2001/10/11 13:37:58
Revision:
1.14

Experimenting with different file formats. This one saves an image in multiple files. I am allowing overlap between file for efficiency.

See also:
vtkImageBlockReader.

Definition at line 58 of file vtkImageBlockReader.h.


Constructor & Destructor Documentation

vtkImageBlockReader::vtkImageBlockReader   [protected]
 

vtkImageBlockReader::~vtkImageBlockReader   [protected]
 


Member Function Documentation

vtkImageBlockReader* vtkImageBlockReader::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSource.

virtual const char* vtkImageBlockReader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSource.

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

Reimplemented from vtkImageSource.

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

Reimplemented from vtkImageSource.

vtkImageBlockReader* vtkImageBlockReader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSource.

void vtkImageBlockReader::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 vtkSource.

virtual void vtkImageBlockReader::SetDivisions int   ,
int   ,
int   
[virtual]
 

The whole extent is broken up into this many divisions along each axis.

virtual void vtkImageBlockReader::SetDivisions int   [3] [virtual]
 

The whole extent is broken up into this many divisions along each axis.

virtual int* vtkImageBlockReader::GetDivisions   [virtual]
 

The whole extent is broken up into this many divisions along each axis.

virtual void vtkImageBlockReader::GetDivisions int &   ,
int &   ,
int &   
[virtual]
 

The whole extent is broken up into this many divisions along each axis.

virtual void vtkImageBlockReader::GetDivisions int   [3] [virtual]
 

The whole extent is broken up into this many divisions along each axis.

virtual void vtkImageBlockReader::SetOverlap int    [virtual]
 

The number of points along any axis that belong to more than one piece.

virtual int vtkImageBlockReader::GetOverlap   [virtual]
 

The number of points along any axis that belong to more than one piece.

virtual void vtkImageBlockReader::SetWholeExtent int   ,
int   ,
int   ,
int   ,
int   ,
int   
[virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::SetWholeExtent int   [6] [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual int* vtkImageBlockReader::GetWholeExtent   [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::GetWholeExtent int &   ,
int &   ,
int &   ,
int &   ,
int &   ,
int &   
[virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::GetWholeExtent int   [6] [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::SetNumberOfScalarComponents int    [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual int vtkImageBlockReader::GetNumberOfScalarComponents   [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::SetScalarType int    [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual int vtkImageBlockReader::GetScalarType   [virtual]
 

Although this information could be gotten from the files, this is easy.

virtual void vtkImageBlockReader::SetFilePattern const char *    [virtual]
 

This printf pattern should take three integers, one for each axis.

virtual char* vtkImageBlockReader::GetFilePattern   [virtual]
 

This printf pattern should take three integers, one for each axis.

void vtkImageBlockReader::Execute vtkImageData   data [protected, virtual]
 

Write the files.

Reimplemented from vtkImageSource.

void vtkImageBlockReader::ExecuteInformation   [protected, virtual]
 

Write the files.

Reimplemented from vtkSource.

void vtkImageBlockReader::ComputeBlockExtents   [protected]
 

void vtkImageBlockReader::DeleteBlockExtents   [protected]
 

void vtkImageBlockReader::Read vtkImageData   data,
int *    ext
[protected]
 

void vtkImageBlockReader::ReadRemainder vtkImageData   data,
int *    ext,
int *    doneExt
[protected]
 

void vtkImageBlockReader::ReadBlock int    xIdx,
int    yIdx,
int    zIdx,
vtkImageData   data,
int *    ext
[protected]
 

void vtkImageBlockReader::ModifyOutputUpdateExtent   [protected]
 

Generate more than requested. Called by the superclass before an execute, and before output memory is allocated.


Member Data Documentation

char* vtkImageBlockReader::FilePattern [protected]
 

Definition at line 112 of file vtkImageBlockReader.h.

int vtkImageBlockReader::WholeExtent[6] [protected]
 

Definition at line 114 of file vtkImageBlockReader.h.

int vtkImageBlockReader::NumberOfScalarComponents [protected]
 

Definition at line 115 of file vtkImageBlockReader.h.

int vtkImageBlockReader::ScalarType [protected]
 

Definition at line 116 of file vtkImageBlockReader.h.

int vtkImageBlockReader::Divisions[3] [protected]
 

Definition at line 117 of file vtkImageBlockReader.h.

int vtkImageBlockReader::Overlap [protected]
 

Definition at line 118 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::XExtents [protected]
 

Definition at line 142 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::YExtents [protected]
 

Definition at line 143 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::ZExtents [protected]
 

Definition at line 144 of file vtkImageBlockReader.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:30:05 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001