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 ()
 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)

Definition at line 60 of file vtkImageBlockReader.h.


Constructor & Destructor Documentation

vtkImageBlockReader::vtkImageBlockReader   [protected]
 

vtkImageBlockReader::~vtkImageBlockReader   [protected]
 

vtkImageBlockReader::vtkImageBlockReader const vtkImageBlockReader &    [inline, protected]
 

Definition at line 101 of file vtkImageBlockReader.h.


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]
 

virtual int* vtkImageBlockReader::GetDivisions   [virtual]
 

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

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

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]
 

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]
 

virtual int* vtkImageBlockReader::GetWholeExtent   [virtual]
 

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

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

virtual void vtkImageBlockReader::SetNumberOfScalarComponents int    [virtual]
 

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

virtual int vtkImageBlockReader::GetNumberOfScalarComponents   [virtual]
 

virtual void vtkImageBlockReader::SetScalarType int    [virtual]
 

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

virtual int vtkImageBlockReader::GetScalarType   [virtual]
 

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

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

virtual char* vtkImageBlockReader::GetFilePattern   [virtual]
 

void vtkImageBlockReader::operator= const vtkImageBlockReader &    [inline, protected]
 

Definition at line 102 of file vtkImageBlockReader.h.

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

Write the files.

Reimplemented from vtkImageSource.

void vtkImageBlockReader::ExecuteInformation   [protected, virtual]
 

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 104 of file vtkImageBlockReader.h.

int vtkImageBlockReader::WholeExtent[6] [protected]
 

Definition at line 106 of file vtkImageBlockReader.h.

int vtkImageBlockReader::NumberOfScalarComponents [protected]
 

Definition at line 107 of file vtkImageBlockReader.h.

int vtkImageBlockReader::ScalarType [protected]
 

Definition at line 108 of file vtkImageBlockReader.h.

int vtkImageBlockReader::Divisions[3] [protected]
 

Definition at line 109 of file vtkImageBlockReader.h.

int vtkImageBlockReader::Overlap [protected]
 

Definition at line 110 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::XExtents [protected]
 

Definition at line 132 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::YExtents [protected]
 

Definition at line 133 of file vtkImageBlockReader.h.

int* vtkImageBlockReader::ZExtents [protected]
 

Definition at line 134 of file vtkImageBlockReader.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:18 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001