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 "vtkIOLegacyModule.h" // For export macro 00031 #include "vtkDataSetWriter.h" 00032 00033 class VTKIOLEGACY_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter 00034 { 00035 public: 00036 static vtkSimplePointsWriter *New(); 00037 vtkTypeMacro(vtkSimplePointsWriter,vtkDataSetWriter); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 vtkGetMacro(DecimalPrecision, int); 00041 vtkSetMacro(DecimalPrecision, int); 00042 00043 protected: 00044 vtkSimplePointsWriter(); 00045 ~vtkSimplePointsWriter(){} 00046 00047 void WriteData(); 00048 00049 int DecimalPrecision; 00050 00051 private: 00052 vtkSimplePointsWriter(const vtkSimplePointsWriter&); // Not implemented. 00053 void operator=(const vtkSimplePointsWriter&); // Not implemented. 00054 }; 00055 00056 #endif