fw4spl
STrianMeshReader.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #pragma once
8 
9 #include "ioData/config.hpp"
10 
11 #include <fwIO/IReader.hpp>
12 
13 #include <boost/filesystem/path.hpp>
14 
15 namespace ioData
16 {
38 class IODATA_CLASS_API STrianMeshReader : public ::fwIO::IReader
39 {
40 
41 public:
42 
44 
46  typedef ::fwIO::IReader SuperClass;
47 
55  IODATA_API virtual std::vector< std::string > getSupportedExtensions() override;
56 
63  IODATA_API void configureWithIHM() override;
65 
67  IODATA_API virtual ::fwIO::IOPathType getIOPathType() const override;
68 
69 protected:
70 
80  virtual void starting() override
81  {
82  }
83 
89  virtual void stopping() override
90  {
91  }
92 
96  IODATA_API virtual void configuring() override;
97 
105  IODATA_API void updating() override;
106 
115  IODATA_API virtual void info(std::ostream& _sstream ) override;
117 
118 };
119 
120 }
virtual void stopping() override
Stopping method : default does nothing.
Mesh reader service.
virtual void starting() override
Starting method : default does nothing.
Reader service API. It manages extension points definition and extension configuration.
Definition: IReader.hpp:34
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace ioData contains reader and writer services for basic fwData::Object which doesn&#39;t need ...
::fwIO::IReader SuperClass
Super class of reader services.