VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkSimplePointsWriter.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00027 #ifndef __vtkSimplePointsWriter_h 00028 #define __vtkSimplePointsWriter_h 00029 00030 #include "vtkDataSetWriter.h" 00031 00032 class VTK_IO_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter 00033 { 00034 public: 00035 static vtkSimplePointsWriter *New(); 00036 vtkTypeMacro(vtkSimplePointsWriter,vtkDataSetWriter); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00039 vtkGetMacro(DecimalPrecision, int); 00040 vtkSetMacro(DecimalPrecision, int); 00041 00042 protected: 00043 vtkSimplePointsWriter(); 00044 ~vtkSimplePointsWriter(){} 00045 00046 void WriteData(); 00047 00048 int DecimalPrecision; 00049 00050 private: 00051 vtkSimplePointsWriter(const vtkSimplePointsWriter&); // Not implemented. 00052 void operator=(const vtkSimplePointsWriter&); // Not implemented. 00053 }; 00054 00055 #endif