• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/IO/vtkAbstractParticleWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkAbstractParticleWriter.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 =========================================================================*/
00030 #ifndef __vtkAbstractParticleWriter_h
00031 #define __vtkAbstractParticleWriter_h
00032 
00033 #include "vtkWriter.h"
00034 
00035 class VTK_IO_EXPORT vtkAbstractParticleWriter : public vtkWriter
00036 {
00037 public:
00038   vtkTypeRevisionMacro(vtkAbstractParticleWriter,vtkWriter);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   vtkSetMacro(TimeStep, int);
00044   vtkGetMacro(TimeStep, int);
00046 
00048 
00052   vtkSetMacro(TimeValue,double);
00053   vtkGetMacro(TimeValue,double);
00055 
00057 
00058   vtkSetStringMacro(FileName);
00059   vtkGetStringMacro(FileName);
00061 
00064   virtual void CloseFile() = 0;
00065 
00066 protected:
00067    vtkAbstractParticleWriter();
00068   ~vtkAbstractParticleWriter();
00069 
00070   virtual void WriteData() = 0; //internal method subclasses must respond to
00071   int          TimeStep;
00072   double       TimeValue;
00073   char        *FileName;
00074 
00075 private:
00076   vtkAbstractParticleWriter(const vtkAbstractParticleWriter&);  // Not implemented.
00077   void operator=(const vtkAbstractParticleWriter&);  // Not implemented.
00078 };
00079 
00080 #endif

Generated by  doxygen 1.7.1