VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAMRFlashParticlesReader.h 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 =========================================================================*/ 00025 #ifndef VTKAMRFLASHPARTICLESREADER_H_ 00026 #define VTKAMRFLASHPARTICLESREADER_H_ 00027 00028 #include "vtkIOAMRModule.h" // For export macro 00029 #include "vtkAMRBaseParticlesReader.h" 00030 00031 class vtkIndent; 00032 class vtkPolyData; 00033 class vtkPointData; 00034 class vtkIdList; 00035 class vtkFlashReaderInternal; 00036 00037 class VTKIOAMR_EXPORT vtkAMRFlashParticlesReader : 00038 public vtkAMRBaseParticlesReader 00039 { 00040 public: 00041 static vtkAMRFlashParticlesReader* New(); 00042 vtkTypeMacro( vtkAMRFlashParticlesReader, vtkAMRBaseParticlesReader ); 00043 void PrintSelf(ostream &os, vtkIndent indent ); 00044 00046 int GetTotalNumberOfParticles(); 00047 00048 protected: 00049 vtkAMRFlashParticlesReader(); 00050 virtual ~vtkAMRFlashParticlesReader(); 00051 00053 void ReadMetaData(); 00054 00056 void SetupParticleDataSelections(); 00057 00059 vtkPolyData* ReadParticles( const int blkidx ); 00060 00062 vtkPolyData* GetParticles( const char* file, const int blkidx ); 00063 00064 vtkFlashReaderInternal *Internal; 00065 00066 private: 00067 vtkAMRFlashParticlesReader( const vtkAMRFlashParticlesReader& ); // Not implemented 00068 void operator=(const vtkAMRFlashParticlesReader& ); // Not implemented 00069 }; 00070 00071 #endif /* VTKAMRFLASHPARTICLESREADER_H_ */