vtkSTLReader - read ASCII or binary stereo lithography files
Super Class: vtkPolyDataSource
Description:
vtkSTLReader is a source object that reads ASCII or binary stereo lithography files (.stl files). The FileName must be specified to vtkSTLReader. The object automatically detects whether the file is ASCII or binary. .stl files are quite inefficient since they duplicate vertex definitions. By setting the Merging boolean you can control wether the point data is merged after reading. Merging is performed by default, however, merging requires a large amount of temporary storage since a 3D hash table must be constructed.
Caveats:
Binary files written on one system may not be readable on other systems. vtkSTLWriter uses VAX or PC byte ordering and swaps bytes on other systems.
Methods:
void vtkSTLReader () | |
void vtkSTLReader () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
static vtkSTLReader *New () | |
unsigned long GetMTime () | |
void SetFileName (char *) | |
char *GetFileName () | |
void SetMerging (int ) | |
int GetMerging () | |
void MergingOn () | |
void MergingOff () | |
void SetLocator (vtkPointLocator *) | |
vtkPointLocator *GetLocator () | |
void CreateDefaultLocator () | |
void SetLocator (vtkPointLocator &) | |
void Execute () | |
int ReadBinarySTL (unknown * ,vtkPoints * ,vtkCellArray *) | |
int ReadASCIISTL (unknown * ,vtkPoints * ,vtkCellArray *) | |
int GetSTLFileType (unknown *) |
Detailed Method Descriptions:
static vtkSTLReader *New () |
unsigned long GetMTime () |
void SetFileName (char *) | |
char *GetFileName () |
void SetMerging (int ) | |
int GetMerging () | |
void MergingOn () | |
void MergingOff () |
void SetLocator (vtkPointLocator *) | |
vtkPointLocator *GetLocator () |
void CreateDefaultLocator () |
void SetLocator (vtkPointLocator &) |