BuiltinVTKObservationIO.h
Go to the documentation of this file.
1 // (C) Copyright Renaud Detry 2007-2015.
2 // Distributed under the GNU General Public License and under the
3 // BSD 3-Clause License (See accompanying file LICENSE.txt).
4 
5 /** @file */
6 
7 #ifndef NUKLEI_BUILTINVTKOBSERVATIONSERIAL_H
8 #define NUKLEI_BUILTINVTKOBSERVATIONSERIAL_H
9 
10 
11 #include <nuklei/Definitions.h>
12 #include <nuklei/ObservationIO.h>
14 
15 
16 namespace nuklei {
17 
18 
20  {
21  public:
22  BuiltinVTKReader(const std::string &observationFileName);
24 
25  Observation::Type type() const { return Observation::BUILTINVTK; }
26 
27  void reset();
28 
29  protected:
30  void init_();
31  NUKLEI_UNIQUE_PTR<Observation> readObservation_();
32  private:
33  std::ifstream in_;
34  int idx_;
35  int n_;
36  std::string observationFileName_;
37  };
38 
39 
40 }
41 
42 #endif
43 
Public namespace.
Definition: Color.cpp:9
Base class for kernel reader and point reader classes.
Definition: ObservationIO.h:34
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:06.