VTK
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 
26 #include "vtkIOAMRModule.h" // For export macro
28 
29 class vtkIndent;
30 class vtkPolyData;
31 class vtkPointData;
32 class vtkIdList;
34 
35 class VTKIOAMR_EXPORT vtkAMRFlashParticlesReader :
37 {
38 public:
41  void PrintSelf(ostream &os, vtkIndent indent ) override;
42 
46  int GetTotalNumberOfParticles() override;
47 
48 protected:
51 
55  void ReadMetaData() override;
56 
60  void SetupParticleDataSelections() override;
61 
65  vtkPolyData* ReadParticles( const int blkidx ) override;
66 
70  vtkPolyData* GetParticles( const char* file, const int blkidx );
71 
73 
74 private:
76  void operator=(const vtkAMRFlashParticlesReader& ) = delete;
77 };
78 
79 #endif /* vtkAMRFlashParticlesReader_h */
vtkAMRFlashParticlesReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAMRBaseParticlesReader.h
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:38
vtkFlashReaderInternal
Definition: vtkAMRFlashReaderInternal.h:134
vtkAMRFlashParticlesReader
Definition: vtkAMRFlashParticlesReader.h:37
vtkAMRFlashParticlesReader::vtkAMRFlashParticlesReader
vtkAMRFlashParticlesReader()
vtkAMRFlashParticlesReader::ReadMetaData
void ReadMetaData() override
See vtkAMRBaseParticlesReader::ReadMetaData.
vtkAMRBaseParticlesReader
Definition: vtkAMRBaseParticlesReader.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:37
vtkAMRFlashParticlesReader::New
static vtkAMRFlashParticlesReader * New()
vtkAMRFlashParticlesReader::GetParticles
vtkPolyData * GetParticles(const char *file, const int blkidx)
Reads the particlles of the given block from the given file.
vtkAMRFlashParticlesReader::~vtkAMRFlashParticlesReader
~vtkAMRFlashParticlesReader() override
vtkAMRFlashParticlesReader::SetupParticleDataSelections
void SetupParticleDataSelections() override
See vtkAMRBaseParticlesReader::SetupParticlesDataSelections.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkAMRFlashParticlesReader::GetTotalNumberOfParticles
int GetTotalNumberOfParticles() override
See vtkAMRBaseParticlesReader::GetTotalNumberOfParticles.
vtkAMRFlashParticlesReader::Internal
vtkFlashReaderInternal * Internal
Definition: vtkAMRFlashParticlesReader.h:72
vtkAMRFlashParticlesReader::ReadParticles
vtkPolyData * ReadParticles(const int blkidx) override
See vtkAMRBaseParticlesReader::ReadParticles.