VTK-m
2.2
vtkm
io
VTKDataSetReader.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_VTKDataSetReader_h
11
#define vtk_m_io_VTKDataSetReader_h
12
13
#include <
vtkm/io/VTKDataSetReaderBase.h
>
14
15
namespace
vtkm
16
{
17
namespace
io
18
{
19
25
class
VTKM_IO_EXPORT
VTKDataSetReader
:
public
VTKDataSetReaderBase
26
{
27
public
:
28
VTKM_CONT
VTKDataSetReader
(
const
char
* fileName);
30
VTKM_CONT
VTKDataSetReader
(
const
std::string& fileName);
31
VTKM_CONT
~
VTKDataSetReader
()
override
;
32
33
VTKDataSetReader
(
const
VTKDataSetReader
&) =
delete
;
34
void
operator=(
const
VTKDataSetReader
&) =
delete
;
35
36
VTKM_CONT
void
PrintSummary(std::ostream& out)
const override
;
37
38
private
:
39
VTKM_CONT
void
CloseFile()
override
;
40
VTKM_CONT
void
Read()
override
;
41
42
std::unique_ptr<VTKDataSetReaderBase>
Reader
;
43
};
44
45
}
46
}
// vtkm::io
47
48
#endif // vtk_m_io_VTKReader_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::io::VTKDataSetReaderBase
Definition:
VTKDataSetReaderBase.h:97
VTKM_IO_EXPORT
#define VTKM_IO_EXPORT
Definition:
vtkm_io_export.h:44
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::io::VTKDataSetReader::Reader
std::unique_ptr< VTKDataSetReaderBase > Reader
Definition:
VTKDataSetReader.h:42
vtkm::io::VTKDataSetReader
Reads a legacy VTK file.
Definition:
VTKDataSetReader.h:25
VTKDataSetReaderBase.h
Generated by
1.8.17