ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkOraGeometryReader.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK Consortium
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 * https://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
19#ifndef rtkOraGeometryReader_h
20#define rtkOraGeometryReader_h
21
22#include "RTKExport.h"
25
26namespace rtk
27{
28
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(OraGeometryReader);
43
48
55
57 itkOverrideGetNameOfClassMacro(OraGeometryReader);
58
60 itkNewMacro(Self);
61
63 itkGetModifiableObjectMacro(Geometry, GeometryType);
64
66 using FileNamesContainer = std::vector<std::string>;
67
70 void
72 {
73 if (m_ProjectionsFileNames != name)
74 {
76 this->Modified();
77 }
78 }
79 const FileNamesContainer &
81 {
83 }
84
89 itkGetMacro(CollimationMargin, MarginVectorType);
90 itkSetMacro(CollimationMargin, MarginVectorType);
91
94 itkGetMacro(OptiTrackObjectID, int);
95 itkSetMacro(OptiTrackObjectID, int);
96
97
98protected:
100 : m_Geometry(nullptr)
101 , m_CollimationMargin(0.) {};
102
103 ~OraGeometryReader() override = default;
104
105private:
106 void
107 GenerateData() override;
108
113};
114
115} // namespace rtk
116
117#endif // rtkOraGeometryReader_h
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
virtual void Modified() const
Implements transparent reference counting.
A templated class holding a n-Dimensional vector.
Definition itkVector.h:63
std::vector< std::string > FileNamesContainer
ThreeDCircularProjectionGeometry GeometryType
GeometryType::PointType PointType
~OraGeometryReader() override=default
FileNamesContainer m_ProjectionsFileNames
GeometryType::Pointer m_Geometry
MarginVectorType m_CollimationMargin
itk::SmartPointer< Self > Pointer
void GenerateData() override
GeometryType::VectorType VectorType
GeometryType::Matrix3x3Type Matrix3x3Type
const FileNamesContainer & GetProjectionsFileNames() const
itk::Vector< double, 4 > MarginVectorType
void SetProjectionsFileNames(const FileNamesContainer &name)
itk::LightProcessObject Superclass
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)