NAME
vtkDataSetReader - class to read any type of vtk dataset
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkDataSetReader.h"
class VTK_EXPORT vtkDataSetReader : public vtkSource
vtkDataSetReader();
static vtkDataSetReader *New() {return new vtkDataSetReader;};
const char *GetClassName() {return "vtkDataSetReader";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetFileName(char *name);
char *GetFileName();
void SetInputString(char *in) {this->Reader.SetInputString(in);};
void SetInputString(char *in,int len) {this->Reader.SetInputString(in,len);};
char *GetInputString() { return this->Reader.GetInputString();};
void SetReadFromInputString(int i){this->Reader.SetReadFromInputString(i);};
int GetReadFromInputString() {return this->Reader.GetReadFromInputString();};
void ReadFromInputStringOn();
void ReadFromInputStringOff();
int GetFileType();
void SetScalarsName(char *name);
char *GetScalarsName();
void SetVectorsName(char *name);
char *GetVectorsName();
void SetTensorsName(char *name);
char *GetTensorsName();
void SetNormalsName(char *name);
char *GetNormalsName();
void SetTCoordsName(char *name);
char *GetTCoordsName();
void SetLookupTableName(char *name);
char *GetLookupTableName();
vtkDataSet *GetOutput() {return this->Output;};
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.
SUMMARY
void ReadFromInputStringOn()
void ReadFromInputStringOff()
Specify the InputString for use when reading from a character array. Set/Get reading from an InputString instead of the default, a file.
void SetFileName(char *name)
Specify file name of vtk data file to read.
int GetFileType()
Get the type of file (VTK_ASCII or VTK_BINARY).
void SetScalarsName(char *name)
Set the name of the scalar data to extract. If not specified, first scalar data encountered is extracted.
void SetVectorsName(char *name)
Set the name of the vector data to extract. If not specified, first vector data encountered is extracted.
void SetTensorsName(char *name)
Set the name of the tensor data to extract. If not specified, first tensor data encountered is extracted.
void SetNormalsName(char *name)
Set the name of the normal data to extract. If not specified, first normal data encountered is extracted.
void SetTCoordsName(char *name)
Set the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted.
void SetLookupTableName(char *name)
Set the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes.