ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkPhasesToInterpolationWeights.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 rtkPhasesToInterpolationWeights_h
20#define rtkPhasesToInterpolationWeights_h
21
22#include "RTKExport.h"
23#include "itkArray2D.h"
25
26namespace rtk
27{
28
39
41{
42public:
43 ITK_DISALLOW_COPY_AND_MOVE(PhasesToInterpolationWeights);
44
50
52 itkNewMacro(Self);
53
55 itkOverrideGetNameOfClassMacro(PhasesToInterpolationWeights);
56
59
61 using ValueType = float;
62
63 // /** This method can be used to get the data frame object once the data from
64 // * the file has been parsed. */
65 // itkGetModifiableObjectMacro(Array2D,Array2DType);
66
69 void
70 Parse() override;
71
74 virtual void
76
79 virtual Array2DType
81
83 itkSetMacro(UnevenTemporalSpacing, bool);
84 itkGetMacro(UnevenTemporalSpacing, bool);
85
87 itkSetMacro(NumberOfReconstructedFrames, int);
88 itkGetMacro(NumberOfReconstructedFrames, int);
89
91 void
92 SetSelectedProjections(std::vector<bool> sprojs);
93 itkGetMacro(SelectedProjections, std::vector<bool>);
94
95protected:
97 ~PhasesToInterpolationWeights() override = default;
98
100 void
101 PrintSelf(std::ostream & os, itk::Indent indent) const override;
102
103private:
107 std::vector<bool> m_SelectedProjections;
108};
109
110} // end namespace rtk
111
112#endif
Array2D class representing a 2D array.
Definition itkArray2D.h:43
A base class that contains common methods used for parsing csv files.
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
void SetSelectedProjections(std::vector< bool > sprojs)
virtual Array2DType GetOutput()
~PhasesToInterpolationWeights() override=default
#define itkSetMacro(name, type)