VTK  9.3.20240328
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:
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 */
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...
vtkPolyData * GetParticles(const char *file, int blkidx)
Reads the particlles of the given block from the given file.
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
void SetupParticleDataSelections() override
See vtkAMRBaseParticlesReader::SetupParticlesDataSelections.
vtkPolyData * ReadParticles(int blkidx) override
See vtkAMRBaseParticlesReader::ReadParticles.
~vtkAMRFlashParticlesReader() override
list of point or cell ids
Definition: vtkIdList.h:132
a simple class to control print indentation
Definition: vtkIndent.h:108
represent and manipulate point attribute data
Definition: vtkPointData.h:139
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:180