30 #ifndef vtkSTLWriter_h
31 #define vtkSTLWriter_h
33 #include "vtkIOGeometryModule.h"
36 VTK_ABI_NAMESPACE_BEGIN
70 vtkSetStringMacro(Header);
71 vtkGetStringMacro(Header);
90 vtkGetMacro(FileType,
int);
116 VTK_ABI_NAMESPACE_END
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)
Get the input to this writer.
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()
Specify file type (ASCII or BINARY) for vtk data file.
vtkSetFilePathMacro(FileName)
Specify file name of vtk polygon data file to write.
vtkPolyData * GetInput()
Get the input to this writer.
void SetFileTypeToBinary()
Specify file type (ASCII or BINARY) for vtk data file.
vtkUnsignedCharArray * BinaryHeader
vtkGetFilePathMacro(FileName)
Specify file name of vtk polygon data file to write.
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)