Documentation for vtkPolyDataReader

vtkPolyDataReader - read vtk polygonal data file

Super Class: vtkPolyDataSource

Description:

vtkPolyDataReader is a source object that reads ASCII or binary polygonal data files in vtk format. See text for format details.

 

Caveats:

Binary files written on one system may not be readable on other systems.

 

Methods:

void vtkPolyDataReader ()
void vtkPolyDataReader ()
static vtkPolyDataReader *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
unsigned long GetMTime ()
void SetFileName (char *)
char *GetFileName ()
char *GetHeader ()
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 ()
void Execute ()

 

Detailed Method Descriptions:

Return the MTime also considering the vtkDataReader ivar

unsigned long GetMTime ()

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

void SetFileName (char *)
char *GetFileName ()

Get the header from the vtk data file.

char *GetHeader ()

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