ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkImageToParametricSpaceFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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#ifndef itkImageToParametricSpaceFilter_h
19#define itkImageToParametricSpaceFilter_h
20
22
23namespace itk
24{
45template <typename TInputImage, typename TOutputMesh>
46class ITK_TEMPLATE_EXPORT ImageToParametricSpaceFilter : public ImageToMeshFilter<TInputImage, TOutputMesh>
47{
48public:
49 ITK_DISALLOW_COPY_AND_MOVE(ImageToParametricSpaceFilter);
50
56
58 itkNewMacro(Self);
59
61 itkOverrideGetNameOfClassMacro(ImageToParametricSpaceFilter);
62
64 using InputImageType = TInputImage;
65 using InputImageConstPointer = typename InputImageType::ConstPointer;
66 using InputImageRegionType = typename InputImageType::RegionType;
67 using InputImagePixelType = typename InputImageType::PixelType;
68
70 using OutputMeshType = TOutputMesh;
71 using PointType = typename OutputMeshType::PointType;
72 using OutputMeshPointer = typename OutputMeshType::Pointer;
73 using PointsContainer = typename OutputMeshType::PointsContainer;
74 using PointIdentifier = typename OutputMeshType::PointIdentifier;
75 using PointsContainerPointer = typename PointsContainer::Pointer;
76 using PointsContainerIterator = typename PointsContainer::Iterator;
77 using PointDataContainer = typename OutputMeshType::PointDataContainer;
78 using PointDataContainerPointer = typename PointDataContainer::Pointer;
79 using PointDataContainerIterator = typename PointDataContainer::Iterator;
80
82 static constexpr unsigned int PointDimension = TOutputMesh::PointDimension;
83
85 void
86 GenerateData() override;
87
89 void
91
97 itkSetMacro(ComputeIndices, bool);
98 itkGetConstMacro(ComputeIndices, bool);
99 itkBooleanMacro(ComputeIndices);
101
102protected:
104 ~ImageToParametricSpaceFilter() override = default;
105 void
106 PrintSelf(std::ostream & os, Indent indent) const override;
107
108private:
112};
113} // end namespace itk
114
115#ifndef ITK_MANUAL_INSTANTIATION
116# include "itkImageToParametricSpaceFilter.hxx"
117#endif
118
119#endif
typename OutputMeshType::PointDataContainer PointDataContainer
typename OutputMeshType::Pointer OutputMeshPointer
typename InputImageType::ConstPointer InputImageConstPointer
typename PointDataContainer::Pointer PointDataContainerPointer
typename OutputMeshType::PointType PointType
typename PointDataContainer::Iterator PointDataContainerIterator
typename OutputMeshType::PointIdentifier PointIdentifier
typename PointsContainer::Pointer PointsContainerPointer
typename OutputMeshType::PointsContainer PointsContainer
~ImageToParametricSpaceFilter() override=default
typename InputImageType::PixelType InputImagePixelType
void PrintSelf(std::ostream &os, Indent indent) const override
ImageToMeshFilter< TInputImage, TOutputMesh > Superclass
typename PointsContainer::Iterator PointsContainerIterator
typename InputImageType::RegionType InputImageRegionType
void GenerateOutputInformation() override
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....