ITK  5.2.0
Insight Toolkit
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  * 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 itkImageToParametricSpaceFilter_h
19 #define itkImageToParametricSpaceFilter_h
20 
21 #include "itkImageToMeshFilter.h"
22 
23 namespace itk
24 {
45 template <typename TInputImage, typename TOutputMesh>
46 class ITK_TEMPLATE_EXPORT ImageToParametricSpaceFilter : public ImageToMeshFilter<TInputImage, TOutputMesh>
47 {
48 public:
49  ITK_DISALLOW_COPY_AND_MOVE(ImageToParametricSpaceFilter);
50 
56 
58  itkNewMacro(Self);
59 
62 
64  using InputImageType = TInputImage;
65  using InputImageConstPointer = typename InputImageType::ConstPointer;
67  using InputImagePixelType = typename InputImageType::PixelType;
68 
70  using OutputMeshType = TOutputMesh;
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
90  GenerateOutputInformation() override;
91 
97  itkSetMacro(ComputeIndices, bool);
98 
99 protected:
101  ~ImageToParametricSpaceFilter() override = default;
102  void
103  PrintSelf(std::ostream & os, Indent indent) const override;
104 
105 private:
109 };
110 } // end namespace itk
111 
112 #ifndef ITK_MANUAL_INSTANTIATION
113 # include "itkImageToParametricSpaceFilter.hxx"
114 #endif
115 
116 #endif
itk::ImageToParametricSpaceFilter::PointIdentifier
typename OutputMeshType::PointIdentifier PointIdentifier
Definition: itkImageToParametricSpaceFilter.h:74
itk::ImageToParametricSpaceFilter::PointDataContainerIterator
typename PointDataContainer::Iterator PointDataContainerIterator
Definition: itkImageToParametricSpaceFilter.h:79
itk::ImageToParametricSpaceFilter::PointDataContainer
typename OutputMeshType::PointDataContainer PointDataContainer
Definition: itkImageToParametricSpaceFilter.h:77
itk::ImageToParametricSpaceFilter::PointDataContainerPointer
typename PointDataContainer::Pointer PointDataContainerPointer
Definition: itkImageToParametricSpaceFilter.h:78
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::ImageToParametricSpaceFilter::PointsContainerIterator
typename PointsContainer::Iterator PointsContainerIterator
Definition: itkImageToParametricSpaceFilter.h:76
itk::ImageToMeshFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToMeshFilter.h:57
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::ImageToMeshFilter
ImageToMeshFilter is the base class for all process objects that output Mesh data and require image d...
Definition: itkImageToMeshFilter.h:36
itk::ImageToParametricSpaceFilter::PointsContainer
typename OutputMeshType::PointsContainer PointsContainer
Definition: itkImageToParametricSpaceFilter.h:73
itkImageToMeshFilter.h
itk::ImageToParametricSpaceFilter
Generate a mesh of parametric space from input images.
Definition: itkImageToParametricSpaceFilter.h:46
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ImageToMeshFilter::OutputMeshPointer
typename OutputMeshType::Pointer OutputMeshPointer
Definition: itkImageToMeshFilter.h:65
itk::ImageToParametricSpaceFilter::PointType
typename OutputMeshType::PointType PointType
Definition: itkImageToParametricSpaceFilter.h:71
itk::ImageToMeshFilter::OutputMeshType
TOutputMesh OutputMeshType
Definition: itkImageToMeshFilter.h:64
itk::ImageToMeshFilter::InputImageConstPointer
typename InputImageType::ConstPointer InputImageConstPointer
Definition: itkImageToMeshFilter.h:59
itk::ImageToParametricSpaceFilter::m_ComputeIndices
bool m_ComputeIndices
Definition: itkImageToParametricSpaceFilter.h:108
itk::ImageToParametricSpaceFilter::PointsContainerPointer
typename PointsContainer::Pointer PointsContainerPointer
Definition: itkImageToParametricSpaceFilter.h:75
itk::ImageToMeshFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkImageToMeshFilter.h:60
itk::ImageToMeshFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkImageToMeshFilter.h:61