Documentation for vtkDataSetReader

vtkDataSetReader - class to read any type of vtk dataset

Super Class: vtkSource

Description:

vtkDataSetReader is a class that provides instance variables and methods to read any type of dataset in visualization library format. The output type of this class will vary depending upon the type of data file.

 

Caveats:

These vtk formats are not standard. Use other more standard formats when you can.

 

Methods:

void vtkDataSetReader ()
void vtkDataSetReader ()
static vtkDataSetReader *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
unsigned long GetMTime ()
void SetFileName (char *)
char *GetFileName ()
void SetInputString (char *)
void SetInputString (char * ,int )
char *GetInputString ()
void SetReadFromInputString (int )
int GetReadFromInputString ()
void ReadFromInputStringOn ()
void ReadFromInputStringOff ()
int GetFileType ()
void SetScalarsName (char *)
char *GetScalarsName ()
void SetVectorsName (char *)
char *GetVectorsName ()
void SetTensorsName (char *)
char *GetTensorsName ()
void SetNormalsName (char *)
char *GetNormalsName ()
void SetTCoordsName (char *)
char *GetTCoordsName ()
void SetLookupTableName (char *)
char *GetLookupTableName ()
void SetFieldDataName (char *)
char *GetFieldDataName ()
vtkDataSet *GetOutput ()
void Execute ()

 

Detailed Method Descriptions:

Set / get the file name of vtk data file to read.

void SetFileName (char *)
char *GetFileName ()

Specify the InputString for use when reading from a character array.

void SetInputString (char *)
void SetInputString (char * ,int )

Set/Get reading from an InputString instead of the default, a file.

char *GetInputString ()
void SetReadFromInputString (int )
int GetReadFromInputString ()
void ReadFromInputStringOn ()
void ReadFromInputStringOff ()

Get the type of file (VTK_ASCII or VTK_BINARY).

int GetFileType ()

Set / get the name of the scalar data to extract. If not specified, first scalar data encountered is extracted.

void SetScalarsName (char *)
char *GetScalarsName ()

Set / get the name of the vector data to extract. If not specified, first vector data encountered is extracted.

void SetVectorsName (char *)
char *GetVectorsName ()

Set / get the name of the tensor data to extract. If not specified, first tensor data encountered is extracted.

void SetTensorsName (char *)
char *GetTensorsName ()

Set / get the name of the normal data to extract. If not specified, first normal data encountered is extracted.

void SetNormalsName (char *)
char *GetNormalsName ()

Set / get the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted.

void SetTCoordsName (char *)
char *GetTCoordsName ()

Set / get the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes.

void SetLookupTableName (char *)
char *GetLookupTableName ()

Set / get the name of the field data to extract. If not specified, uses first field data encountered in file.

void SetFieldDataName (char *)
char *GetFieldDataName ()

Get the output of this source.

vtkDataSet *GetOutput ()