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

vtkSLCReader Class Reference

read an SLC volume file. More...

#include <vtkSLCReader.h>

Inheritance diagram for vtkSLCReader:

Inheritance graph
[legend]
Collaboration diagram for vtkSLCReader:

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 SetFileName (const char *)
virtual char * GetFileName ()
virtual int GetError ()

Static Public Methods

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

Protected Methods

 vtkSLCReader ()
 ~vtkSLCReader ()
void Execute ()
void ExecuteInformation ()
unsigned char * Decode8BitData (unsigned char *in_ptr, int size)

Protected Attributes

char * FileName
int Error

Detailed Description

read an SLC volume file.

Date:
2001/10/11 13:37:33
Revision:
1.32

vtkSLCReader reads an SLC file and creates a structured point dataset. The size of the volume and the data spacing is set from the SLC file header.

Examples:
vtkSLCReader (Examples)
Tests:
vtkSLCReader (Tests)

Definition at line 64 of file vtkSLCReader.h.


Constructor & Destructor Documentation

vtkSLCReader::vtkSLCReader   [protected]
 

vtkSLCReader::~vtkSLCReader   [protected]
 


Member Function Documentation

vtkSLCReader* vtkSLCReader::New   [static]
 

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

Reimplemented from vtkStructuredPointsSource.

virtual const char* vtkSLCReader::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 vtkStructuredPointsSource.

int vtkSLCReader::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 vtkStructuredPointsSource.

virtual int vtkSLCReader::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 vtkStructuredPointsSource.

vtkSLCReader* vtkSLCReader::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 vtkStructuredPointsSource.

void vtkSLCReader::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 vtkSLCReader::SetFileName const char *    [virtual]
 

Set/Get the name of the file to read.

virtual char* vtkSLCReader::GetFileName   [virtual]
 

Set/Get the name of the file to read.

virtual int vtkSLCReader::GetError void    [virtual]
 

Was there an error on the last read performed?

void vtkSLCReader::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkSLCReader::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkStructuredPointsSource.

unsigned char* vtkSLCReader::Decode8BitData unsigned char *    in_ptr,
int    size
[protected]
 


Member Data Documentation

char* vtkSLCReader::FileName [protected]
 

Definition at line 87 of file vtkSLCReader.h.

int vtkSLCReader::Error [protected]
 

Definition at line 100 of file vtkSLCReader.h.


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