30 #ifndef vtkSTLWriter_h
31 #define vtkSTLWriter_h
33 #include "vtkIOGeometryModule.h"
60 vtkSetStringMacro(FileName);
61 vtkGetStringMacro(FileName);
69 vtkSetStringMacro(Header);
70 vtkGetStringMacro(Header);
89 vtkGetMacro(FileType,
int);
object to represent cell connectivity
a simple class to control print indentation
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
write stereo lithography files
static vtkSTLWriter * New()
vtkPolyData * GetInput(int port)
virtual void SetBinaryHeader(vtkUnsignedCharArray *binaryHeader)
Set binary header for the file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void WriteAsciiSTL(vtkPoints *pts, vtkCellArray *polys, vtkCellArray *strips)
void SetFileTypeToASCII()
vtkPolyData * GetInput()
Get the input to this writer.
void SetFileTypeToBinary()
vtkUnsignedCharArray * BinaryHeader
void WriteData() override
void WriteBinarySTL(vtkPoints *pts, vtkCellArray *polys, vtkCellArray *strips)
dynamic, self-adjusting array of unsigned char
abstract class to write data to file(s)