VTK  9.0.1
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  =========================================================================*/
23 #ifndef vtkAMRFlashParticlesReader_h
24 #define vtkAMRFlashParticlesReader_h
25 
27 #include "vtkIOAMRModule.h" // For export macro
28 
29 class vtkIndent;
30 class vtkPolyData;
31 class vtkPointData;
32 class vtkIdList;
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
45  int GetTotalNumberOfParticles() override;
46 
47 protected:
49  ~vtkAMRFlashParticlesReader() override;
50 
54  void ReadMetaData() override;
55 
59  void SetupParticleDataSelections() override;
60 
64  vtkPolyData* ReadParticles(const int blkidx) override;
65 
69  vtkPolyData* GetParticles(const char* file, const int blkidx);
70 
72 
73 private:
75  void operator=(const vtkAMRFlashParticlesReader&) = delete;
76 };
77 
78 #endif /* vtkAMRFlashParticlesReader_h */
vtkAMRBaseParticlesReader.h
vtkAMRBaseParticlesReader::ReadParticles
virtual vtkPolyData * ReadParticles(const int blkIdx)=0
Reads the particles corresponding to the block associated with the given supplied block index.
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:31
vtkFlashReaderInternal
Definition: vtkAMRFlashReaderInternal.h:130
vtkAMRFlashParticlesReader
Definition: vtkAMRFlashParticlesReader.h:35
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkAMRBaseParticlesReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAMRBaseParticlesReader::ReadMetaData
virtual void ReadMetaData()=0
Reads the metadata, e.g., the number of blocks in the file.
vtkAMRBaseParticlesReader
Definition: vtkAMRBaseParticlesReader.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:30
vtkAMRBaseParticlesReader::GetTotalNumberOfParticles
virtual int GetTotalNumberOfParticles()=0
Returns the total number of particles.
vtkAMRBaseParticlesReader::SetupParticleDataSelections
virtual void SetupParticleDataSelections()=0
Sets up the ParticleDataArraySelection.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkAMRFlashParticlesReader::Internal
vtkFlashReaderInternal * Internal
Definition: vtkAMRFlashParticlesReader.h:71