Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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 ()
 vtkImageBlockReader (const vtkImageBlockReader &)
void operator= (const vtkImageBlockReader &)
void Execute (vtkImageData *data)
void ExecuteInformation ()
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 ()

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:
2000/12/10 20:08:24
Revision:
1.11

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

See also:
vtkImageBlockReader.
Examples:
vtkImageBlockReader (examples)


Member Function Documentation

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

Write the files.

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.

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.

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.

void vtkImageBlockReader::ModifyOutputUpdateExtent   [protected]
 

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

vtkImageBlockReader* vtkImageBlockReader::New   [static]
 

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

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.

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.

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

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

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

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

virtual void vtkImageBlockReader::SetNumberOfScalarComponents int    [virtual]
 

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

virtual void vtkImageBlockReader::SetOverlap int    [virtual]
 

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

virtual void vtkImageBlockReader::SetScalarType int    [virtual]
 

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

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

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


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:25:52 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002