VTK-m  2.0
BOVDataSetReader.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_io_BOVDataSetReader_h
11 #define vtk_m_io_BOVDataSetReader_h
12 
13 #include <vtkm/cont/DataSet.h>
14 
15 #include <vtkm/io/vtkm_io_export.h>
16 
17 namespace vtkm
18 {
19 namespace io
20 {
21 
22 class VTKM_IO_EXPORT BOVDataSetReader
23 {
24 public:
25  VTKM_CONT BOVDataSetReader(const char* fileName);
26  VTKM_CONT BOVDataSetReader(const std::string& fileName);
27 
28  VTKM_CONT const vtkm::cont::DataSet& ReadDataSet();
29 
30 private:
31  VTKM_CONT void LoadFile();
32 
33  std::string FileName;
34  bool Loaded;
36 };
37 }
38 } // vtkm::io
39 
40 #endif // vtk_m_io_BOVReader_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::io::BOVDataSetReader::FileName
std::string FileName
Definition: BOVDataSetReader.h:33
vtkm::cont::DataSet
Definition: DataSet.h:34
vtkm::io::BOVDataSetReader
Definition: BOVDataSetReader.h:22
vtkm::io::BOVDataSetReader::DataSet
vtkm::cont::DataSet DataSet
Definition: BOVDataSetReader.h:35
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::io::BOVDataSetReader::Loaded
bool Loaded
Definition: BOVDataSetReader.h:34
DataSet.h