IO/vtkSTLWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00049 #ifndef __vtkSTLWriter_h
00050 #define __vtkSTLWriter_h
00051
00052 #include "vtkPolyDataWriter.h"
00053
00054 class VTK_IO_EXPORT vtkSTLWriter : public vtkPolyDataWriter
00055 {
00056 public:
00057 static vtkSTLWriter *New();
00058 vtkTypeRevisionMacro(vtkSTLWriter,vtkPolyDataWriter);
00059 virtual void PrintSelf(ostream& os, vtkIndent indent);
00060
00061 protected:
00062 vtkSTLWriter();
00063 ~vtkSTLWriter() {};
00064
00065 void WriteData();
00066
00067 void WriteBinarySTL(vtkPoints *pts, vtkCellArray *polys);
00068 void WriteAsciiSTL(vtkPoints *pts, vtkCellArray *polys);
00069 private:
00070 vtkSTLWriter(const vtkSTLWriter&);
00071 void operator=(const vtkSTLWriter&);
00072 };
00073
00074 #endif
00075