Viskores  1.0
VTKVisItFileReader.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 
19 #ifndef viskores_io_VTKVisItFileReader_h
20 #define viskores_io_VTKVisItFileReader_h
21 
22 #include <string>
23 #include <viskores/cont/DataSet.h>
26 
27 namespace viskores
28 {
29 namespace io
30 {
31 
46 
47 class VISKORES_IO_EXPORT VTKVisItFileReader
48 {
49 public:
50  VISKORES_CONT VTKVisItFileReader(const char* fileName);
51  VISKORES_CONT VTKVisItFileReader(const std::string& fileName);
52 
53  VISKORES_CONT viskores::cont::PartitionedDataSet ReadPartitionedDataSet();
54 
55 private:
56  std::string FileName;
57 };
58 
59 }
60 } //viskores::io
61 
62 #endif //viskores_io_VTKVisItFileReader_h
viskores_io_export.h
viskores::io::VTKVisItFileReader::FileName
std::string FileName
Definition: VTKVisItFileReader.h:56
VISKORES_CONT
#define VISKORES_CONT
Definition: ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::io::VTKVisItFileReader
Reader for ".visit" files, a simple file format for partioned data sets.
Definition: VTKVisItFileReader.h:47
viskores::cont::PartitionedDataSet
Comprises a set of viskores::cont::DataSet objects.
Definition: PartitionedDataSet.h:34
PartitionedDataSet.h
DataSet.h