VTK  9.1.0
vtkAMRFlashParticlesReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAMRFlashParticlesReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14  =========================================================================*/
21 #ifndef vtkAMRFlashParticlesReader_h
22 #define vtkAMRFlashParticlesReader_h
23 
25 #include "vtkIOAMRModule.h" // For export macro
26 
27 class vtkIndent;
28 class vtkPolyData;
29 class vtkPointData;
30 class vtkIdList;
32 
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  int GetTotalNumberOfParticles() override;
44 
45 protected:
48 
52  void ReadMetaData() override;
53 
57  void SetupParticleDataSelections() override;
58 
62  vtkPolyData* ReadParticles(const int blkidx) override;
63 
67  vtkPolyData* GetParticles(const char* file, const int blkidx);
68 
70 
71 private:
73  void operator=(const vtkAMRFlashParticlesReader&) = delete;
74 };
75 
76 #endif /* vtkAMRFlashParticlesReader_h */
An abstract base class that implements all the common functionality for all particle readers.
A concrete instance of vtkAMRBaseParticlesReader that implements functionality for reading flash part...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAMRFlashParticlesReader * New()
int GetTotalNumberOfParticles() override
See vtkAMRBaseParticlesReader::GetTotalNumberOfParticles.
void ReadMetaData() override
See vtkAMRBaseParticlesReader::ReadMetaData.
vtkFlashReaderInternal * Internal
vtkPolyData * ReadParticles(const int blkidx) override
See vtkAMRBaseParticlesReader::ReadParticles.
void SetupParticleDataSelections() override
See vtkAMRBaseParticlesReader::SetupParticlesDataSelections.
vtkPolyData * GetParticles(const char *file, const int blkidx)
Reads the particlles of the given block from the given file.
~vtkAMRFlashParticlesReader() override
list of point or cell ids
Definition: vtkIdList.h:31
a simple class to control print indentation
Definition: vtkIndent.h:34
represent and manipulate point attribute data
Definition: vtkPointData.h:33
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86