go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
itkMeshFileReaderBase.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkMeshFileReaderBase_h
19#define itkMeshFileReaderBase_h
20
21#include "itkMeshSource.h"
22#include "itkMacro.h"
23#ifndef ELX_NO_FILESYSTEM_ACCESS
24# include "itkMeshFileReaderException.h"
25#else
26# define MeshFileReaderException ExceptionObject
27#endif
28
29namespace itk
30{
31
39
40template <typename TOutputMesh>
41class ITK_TEMPLATE_EXPORT MeshFileReaderBase : public MeshSource<TOutputMesh>
42{
43public:
45
48 using Superclass = MeshSource<TOutputMesh>;
49 using Pointer = SmartPointer<Self>;
50 using ConstPointer = SmartPointer<const Self>;
51
53 itkNewMacro(Self);
54
57
59 using typename Superclass::DataObjectPointer;
60 using typename Superclass::OutputMeshType;
61 using typename Superclass::OutputMeshPointer;
62
64 itkGetStringMacro(FileName);
65 itkSetStringMacro(FileName);
66
70 void
72
78 void
79 EnlargeOutputRequestedRegion(DataObject * output) override;
80
81protected:
82 MeshFileReaderBase() = default;
83 ~MeshFileReaderBase() override = default;
84
91 virtual void
93
94 std::string m_FileName{};
95};
96
97} // end namespace itk
98
99#ifndef ITK_MANUAL_INSTANTIATION
100# include "itkMeshFileReaderBase.hxx"
101#endif
102
103#endif
ITK_DISALLOW_COPY_AND_MOVE(MeshFileReaderBase)
void GenerateOutputInformation() override
virtual void TestFileExistanceAndReadability()
MeshSource< TOutputMesh > Superclass
~MeshFileReaderBase() override=default
SmartPointer< Self > Pointer
void EnlargeOutputRequestedRegion(DataObject *output) override
itkOverrideGetNameOfClassMacro(MeshFileReaderBase)
SmartPointer< const Self > ConstPointer


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo