VTK  9.3.1
vtkAMRFlashParticlesReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkAMRFlashParticlesReader_h
10 #define vtkAMRFlashParticlesReader_h
11 
13 #include "vtkIOAMRModule.h" // For export macro
14 
15 VTK_ABI_NAMESPACE_BEGIN
16 class vtkIndent;
17 class vtkPolyData;
18 class vtkPointData;
19 class vtkIdList;
21 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
32  int GetTotalNumberOfParticles() override;
33 
34 protected:
36  ~vtkAMRFlashParticlesReader() override;
37 
41  void ReadMetaData() override;
42 
46  void SetupParticleDataSelections() override;
47 
51  vtkPolyData* ReadParticles(int blkidx) override;
52 
56  vtkPolyData* GetParticles(const char* file, int blkidx);
57 
59 
60 private:
62  void operator=(const vtkAMRFlashParticlesReader&) = delete;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif /* vtkAMRFlashParticlesReader_h */
virtual void SetupParticleDataSelections()=0
Sets up the ParticleDataArraySelection.
represent and manipulate point attribute data
Definition: vtkPointData.h:29
virtual int GetTotalNumberOfParticles()=0
Returns the total number of particles.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
An abstract base class that implements all the common functionality for all particle readers...
static vtkMultiBlockDataSetAlgorithm * New()
virtual vtkPolyData * ReadParticles(int blkIdx)=0
Reads the particles corresponding to the block associated with the given supplied block index...
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:22
vtkFlashReaderInternal * Internal
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ReadMetaData()=0
Reads the metadata, e.g., the number of blocks in the file.
A concrete instance of vtkAMRBaseParticlesReader that implements functionality for reading flash part...