dox/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
00035 #ifndef __vtkSTLWriter_h
00036 #define __vtkSTLWriter_h
00037
00038 #include "vtkPolyDataWriter.h"
00039
00040 class VTK_IO_EXPORT vtkSTLWriter : public vtkPolyDataWriter
00041 {
00042 public:
00043 static vtkSTLWriter *New();
00044 vtkTypeRevisionMacro(vtkSTLWriter,vtkPolyDataWriter);
00045 virtual void PrintSelf(ostream& os, vtkIndent indent);
00046
00047 protected:
00048 vtkSTLWriter();
00049 ~vtkSTLWriter() {};
00050
00051 void WriteData();
00052
00053 void WriteBinarySTL(vtkPoints *pts, vtkCellArray *polys);
00054 void WriteAsciiSTL(vtkPoints *pts, vtkCellArray *polys);
00055 private:
00056 vtkSTLWriter(const vtkSTLWriter&);
00057 void operator=(const vtkSTLWriter&);
00058 };
00059
00060 #endif
00061