Viskores
1.0
viskores
io
BOVDataSetReader.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
#ifndef viskores_io_BOVDataSetReader_h
19
#define viskores_io_BOVDataSetReader_h
20
21
#include <
viskores/cont/DataSet.h
>
22
23
#include <
viskores/io/viskores_io_export.h
>
24
25
namespace
viskores
26
{
27
namespace
io
28
{
29
30
class
VISKORES_IO_EXPORT
BOVDataSetReader
31
{
32
public
:
33
VISKORES_CONT
BOVDataSetReader
(
const
char
* fileName);
34
VISKORES_CONT
BOVDataSetReader
(
const
std::string& fileName);
35
36
VISKORES_CONT
const
viskores::cont::DataSet
& ReadDataSet();
37
38
private
:
39
VISKORES_CONT
void
LoadFile();
40
41
std::string
FileName
;
42
bool
Loaded
;
43
viskores::cont::DataSet
DataSet
;
44
};
45
}
46
}
// viskores::io
47
48
#endif // viskores_io_BOVReader_h
viskores::cont::DataSet
Contains and manages the geometric data structures that Viskores operates on.
Definition:
DataSet.h:66
viskores_io_export.h
viskores::io::BOVDataSetReader::Loaded
bool Loaded
Definition:
BOVDataSetReader.h:42
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::BOVDataSetReader
Definition:
BOVDataSetReader.h:30
viskores::io::BOVDataSetReader::FileName
std::string FileName
Definition:
BOVDataSetReader.h:41
DataSet.h
viskores::io::BOVDataSetReader::DataSet
viskores::cont::DataSet DataSet
Definition:
BOVDataSetReader.h:43
Generated by
1.8.17