VTK-m  2.2
VTKVisItFileReader.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 
11 #ifndef vtkm_io_VTKVisItFileReader_h
12 #define vtkm_io_VTKVisItFileReader_h
13 
14 #include <string>
15 #include <vtkm/cont/DataSet.h>
17 #include <vtkm/io/vtkm_io_export.h>
18 
19 namespace vtkm
20 {
21 namespace io
22 {
23 
38 
40 {
41 public:
42  VTKM_CONT VTKVisItFileReader(const char* fileName);
43  VTKM_CONT VTKVisItFileReader(const std::string& fileName);
44 
45  VTKM_CONT vtkm::cont::PartitionedDataSet ReadPartitionedDataSet();
46 
47 private:
48  std::string FileName;
49 };
50 
51 }
52 } //vtkm::io
53 
54 #endif //vtkm_io_VTKVisItFileReader_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm_io_export.h
vtkm::io::VTKVisItFileReader
Reader for ".visit" files, a simple file format for partioned data sets.
Definition: VTKVisItFileReader.h:39
VTKM_IO_EXPORT
#define VTKM_IO_EXPORT
Definition: vtkm_io_export.h:44
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::io::VTKVisItFileReader::FileName
std::string FileName
Definition: VTKVisItFileReader.h:48
PartitionedDataSet.h
DataSet.h
vtkm::cont::PartitionedDataSet
Comprises a set of vtkm::cont::DataSet objects.
Definition: PartitionedDataSet.h:26