00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMCubesWriter.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 =========================================================================*/ 00036 #ifndef __vtkMCubesWriter_h 00037 #define __vtkMCubesWriter_h 00038 00039 #include "vtkPolyDataWriter.h" 00040 00041 class VTK_IO_EXPORT vtkMCubesWriter : public vtkPolyDataWriter 00042 { 00043 public: 00044 static vtkMCubesWriter *New(); 00045 vtkTypeRevisionMacro(vtkMCubesWriter,vtkPolyDataWriter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 vtkSetStringMacro(LimitsFileName); 00051 vtkGetStringMacro(LimitsFileName); 00053 00054 protected: 00055 vtkMCubesWriter(); 00056 ~vtkMCubesWriter(); 00057 00058 void WriteData(); 00059 char *LimitsFileName; 00060 private: 00061 vtkMCubesWriter(const vtkMCubesWriter&); // Not implemented. 00062 void operator=(const vtkMCubesWriter&); // Not implemented. 00063 }; 00064 00065 #endif 00066 00067