VTK  9.2.20221001
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 VTK_ABI_NAMESPACE_BEGIN
28 class vtkIndent;
29 class vtkPolyData;
30 class vtkPointData;
31 class vtkIdList;
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
44  int GetTotalNumberOfParticles() override;
45 
46 protected:
49 
53  void ReadMetaData() override;
54 
58  void SetupParticleDataSelections() override;
59 
63  vtkPolyData* ReadParticles(const int blkidx) override;
64 
68  vtkPolyData* GetParticles(const char* file, const int blkidx);
69 
71 
72 private:
74  void operator=(const vtkAMRFlashParticlesReader&) = delete;
75 };
76 
77 VTK_ABI_NAMESPACE_END
78 #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:144
a simple class to control print indentation
Definition: vtkIndent.h:120
represent and manipulate point attribute data
Definition: vtkPointData.h:151
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:201