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 =========================================================================*/
26#ifndef vtkAMRFlashParticlesReader_h
27#define vtkAMRFlashParticlesReader_h
28
29#include "vtkIOAMRModule.h" // For export macro
31
32class vtkIndent;
33class vtkPolyData;
34class vtkPointData;
35class vtkIdList;
37
38class VTKIOAMR_EXPORT vtkAMRFlashParticlesReader :
40{
41public:
44 void PrintSelf(ostream &os, vtkIndent indent );
45
50
51protected:
54
59
64
68 vtkPolyData* ReadParticles( const int blkidx );
69
73 vtkPolyData* GetParticles( const char* file, const int blkidx );
74
76
77private:
78 vtkAMRFlashParticlesReader( const vtkAMRFlashParticlesReader& ) VTK_DELETE_FUNCTION;
79 void operator=(const vtkAMRFlashParticlesReader& ) VTK_DELETE_FUNCTION;
80};
81
82#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)
Methods invoked by print to print information about the object including superclasses.
vtkFlashReaderInternal * Internal
int GetTotalNumberOfParticles()
See vtkAMRBaseParticlesReader::GetTotalNumberOfParticles.
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)
See vtkAMRBaseParticlesReader::ReadParticles.
virtual ~vtkAMRFlashParticlesReader()
void SetupParticleDataSelections()
See vtkAMRBaseParticlesReader::SetupParticlesDataSelections.
void ReadMetaData()
See vtkAMRBaseParticlesReader::ReadMetaData.
list of point or cell ids
Definition: vtkIdList.h:37
a simple class to control print indentation
Definition: vtkIndent.h:40
represent and manipulate point attribute data
Definition: vtkPointData.h:38
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86