VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkImageReader2 Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSLCReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
int CanReadFile (const char *fname)
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual int GetError ()
virtual const char * GetFileExtensions ()
virtual const char * GetDescriptiveName ()

Static Public Member Functions

static vtkSLCReaderNew ()
static int IsTypeOf (const char *type)
static vtkSLCReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSLCReader ()
 ~vtkSLCReader ()
virtual void ExecuteDataWithInformation (vtkDataObject *, vtkInformation *)
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
unsigned char * Decode8BitData (unsigned char *in_ptr, int size)

Protected Attributes

int Error

Detailed Description

read an SLC volume file.

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 36 of file vtkSLCReader.h.


Member Typedef Documentation

Reimplemented from vtkImageReader2.

Definition at line 40 of file vtkSLCReader.h.


Constructor & Destructor Documentation

vtkSLCReader::vtkSLCReader ( ) [protected]
vtkSLCReader::~vtkSLCReader ( ) [protected]

Member Function Documentation

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

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

Reimplemented from vtkImageReader2.

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

Reimplemented from vtkImageReader2.

virtual vtkObjectBase* vtkSLCReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageReader2.

Reimplemented from vtkImageReader2.

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 vtkImageReader2.

virtual void vtkSLCReader::SetFileName ( const char *  ) [virtual]

Set/Get the name of the file to read.

Reimplemented from vtkImageReader2.

virtual char* vtkSLCReader::GetFileName ( ) [virtual]

Set/Get the name of the file to read.

Reimplemented from vtkImageReader2.

virtual int vtkSLCReader::GetError ( ) [virtual]

Was there an error on the last read performed?

int vtkSLCReader::CanReadFile ( const char *  fname)

Is the given file an SLC file?

virtual const char* vtkSLCReader::GetFileExtensions ( ) [inline, virtual]

.slc

Reimplemented from vtkImageReader2.

Definition at line 58 of file vtkSLCReader.h.

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

SLC

Reimplemented from vtkImageReader2.

Definition at line 66 of file vtkSLCReader.h.

virtual void vtkSLCReader::ExecuteDataWithInformation ( vtkDataObject output,
vtkInformation outInfo 
) [protected, virtual]

This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.

Reimplemented from vtkImageReader2.

virtual int vtkSLCReader::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageReader2.

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

Member Data Documentation

int vtkSLCReader::Error [protected]

Definition at line 85 of file vtkSLCReader.h.


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