ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkOraLookupTableImageFilter.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 rtkOraLookupTableImageFilter_h
20#define rtkOraLookupTableImageFilter_h
21
23#include <itkNumericTraits.h>
24
25namespace rtk
26{
27
41template <class TOutputImage>
42class ITK_TEMPLATE_EXPORT OraLookupTableImageFilter
43 : public LookupTableImageFilter<itk::Image<unsigned short, TOutputImage::ImageDimension>, TOutputImage>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(OraLookupTableImageFilter);
47
53
54 using InputImagePixelType = unsigned short;
55 using OutputImagePixelType = typename TOutputImage::PixelType;
57 using FileNamesContainer = std::vector<std::string>;
58
60 itkNewMacro(Self);
61
63 itkOverrideGetNameOfClassMacro(OraLookupTableImageFilter);
64
65 void
67
70 itkSetMacro(ComputeLineIntegral, bool);
71 itkGetConstMacro(ComputeLineIntegral, bool);
72 itkBooleanMacro(ComputeLineIntegral);
73
76 void
78 {
79 if (m_FileNames != name)
80 {
81 m_FileNames = name;
82 this->Modified();
83 }
84 }
85 [[nodiscard]] const FileNamesContainer &
87 {
88 return m_FileNames;
89 }
90
91protected:
93 ~OraLookupTableImageFilter() override = default;
94
95private:
97
100};
101
102} // end namespace rtk
103
104#ifndef ITK_MANUAL_INSTANTIATION
105# include "rtkOraLookupTableImageFilter.hxx"
106#endif
107
108#endif
virtual void Modified() const
Implements transparent reference counting.
void SetFileNames(const FileNamesContainer &name)
typename TOutputImage::PixelType OutputImagePixelType
itk::SmartPointer< const Self > ConstPointer
LookupTableImageFilter< itk::Image< unsigned short, TOutputImage::ImageDimension >, TOutputImage > Superclass
const FileNamesContainer & GetFileNames() const
~OraLookupTableImageFilter() override=default
typename Superclass::FunctorType::LookupTableType LookupTableType
void BeforeThreadedGenerateData() override
std::vector< std::string > FileNamesContainer
#define itkSetMacro(name, type)