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
27class vtkIndent;
28class vtkPolyData;
29class vtkPointData;
30class vtkIdList;
32
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
44
45protected:
48
52 void ReadMetaData() override;
53
58
62 vtkPolyData* ReadParticles(const int blkidx) override;
63
67 vtkPolyData* GetParticles(const char* file, const int blkidx);
68
70
71private:
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.
int GetTotalNumberOfParticles() override
See vtkAMRBaseParticlesReader::GetTotalNumberOfParticles.
void ReadMetaData() override
See vtkAMRBaseParticlesReader::ReadMetaData.
vtkFlashReaderInternal * Internal
void SetupParticleDataSelections() override
See vtkAMRBaseParticlesReader::SetupParticlesDataSelections.
static vtkAMRFlashParticlesReader * New()
vtkPolyData * GetParticles(const char *file, const int blkidx)
Reads the particlles of the given block from the given file.
vtkPolyData * ReadParticles(const int blkidx) override
See vtkAMRBaseParticlesReader::ReadParticles.
~vtkAMRFlashParticlesReader() override
list of point or cell ids
Definition: vtkIdList.h:140
a simple class to control print indentation
Definition: vtkIndent.h:113
represent and manipulate point attribute data
Definition: vtkPointData.h:142
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195