VTK
vtkAMRFlashReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAMRFlashReader.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 vtkAMRFlashReader_h
24#define vtkAMRFlashReader_h
25
26#include "vtkIOAMRModule.h" // For export macro
27#include "vtkAMRBaseReader.h"
28
31
32class VTKIOAMR_EXPORT vtkAMRFlashReader : public vtkAMRBaseReader
33{
34public:
37 void PrintSelf(ostream &os, vtkIndent indent );
38
43
48
52 void SetFileName( const char* fileName );
53
54protected:
57
62
66 int GetBlockLevel( const int blockIdx );
67
72
76 vtkUniformGrid* GetAMRGrid( const int blockIdx );
77
82 const int blockIdx, vtkUniformGrid *block, const char *field);
83
88 const int vtkNotUsed(blockIdx), vtkUniformGrid *vtkNotUsed(block), const char *vtkNotUsed(field)) {;}
89
94
95 bool IsReady;
96
97private:
98 vtkAMRFlashReader( const vtkAMRFlashReader& ) VTK_DELETE_FUNCTION;
99 void operator=(const vtkAMRFlashReader& ) VTK_DELETE_FUNCTION;
100
101 void ComputeStats(vtkFlashReaderInternal* internal, std::vector<int>& numBlocks, double min[3]);
102 vtkFlashReaderInternal *Internal;
103};
104
105#endif /* vtkAMRFlashReader_h */
An abstract class that encapsulates common functionality for all AMR readers.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkAMRFlashReader * New()
void GetAMRGridData(const int blockIdx, vtkUniformGrid *block, const char *field)
See vtkAMRBaseReader::GetAMRGridData.
void SetUpDataArraySelections()
See vtkAMRBaseReader::SetUpDataArraySelections.
int GetBlockLevel(const int blockIdx)
See vtkAMRBaseReader::GetBlockLevel.
void SetFileName(const char *fileName)
See vtkAMRBaseReader::SetFileName.
void GetAMRGridPointData(const int vtkNotUsed(blockIdx), vtkUniformGrid *vtkNotUsed(block), const char *vtkNotUsed(field))
See vtkAMRBaseReader::GetAMRGridData.
int FillMetaData()
See vtkAMRBaseReader::FillMetaData.
int GetNumberOfLevels()
See vtkAMRBaseReader::GetNumberOfLevels.
void ReadMetaData()
See vtkAMRBaseReader::ReadMetaData.
int GetNumberOfBlocks()
See vtkAMRBaseReader::GetNumberOfBlocks.
vtkUniformGrid * GetAMRGrid(const int blockIdx)
See vtkAMRBaseReader::GetAMRGrid.
a simple class to control print indentation
Definition: vtkIndent.h:40
hierarchical dataset of vtkUniformGrids
image data with blanking
@ field
Definition: vtkX3D.h:177