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