NAME
vtkPolyDataReader - read vtk polygonal data file
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkPolyDataReader.h"
class VTK_EXPORT vtkPolyDataReader : public vtkPolyDataSource
vtkPolyDataReader();
static vtkPolyDataReader *New() {return new vtkPolyDataReader;};
const char *GetClassName() {return "vtkPolyDataReader";};
void PrintSelf(ostream& os, vtkIndent indent);
unsigned long int GetMTime();
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();
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.
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 polygonal data file to read.
int GetFileType()
Get the type of file (ASCII or 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.