ITK  6.0.0
Insight Toolkit
itkParametricSpaceToImageSpaceMeshFilter.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 itkParametricSpaceToImageSpaceMeshFilter_h
19 #define itkParametricSpaceToImageSpaceMeshFilter_h
20 
21 #include "itkMeshToMeshFilter.h"
22 
23 namespace itk
24 {
46 template <typename TInputMesh, typename TOutputMesh>
47 class ITK_TEMPLATE_EXPORT ParametricSpaceToImageSpaceMeshFilter : public MeshToMeshFilter<TInputMesh, TOutputMesh>
48 {
49 public:
50  ITK_DISALLOW_COPY_AND_MOVE(ParametricSpaceToImageSpaceMeshFilter);
51 
57 
59  using CoordinateType = typename TInputMesh::CoordinateType;
60 #ifndef ITK_FUTURE_LEGACY_REMOVE
61  using CoordRepType ITK_FUTURE_DEPRECATED(
62  "ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
63 #endif
64 
65  using InputMeshType = TInputMesh;
66  using OutputMeshType = TOutputMesh;
69 
71  itkNewMacro(Self);
72 
74  itkOverrideGetNameOfClassMacro(ParametricSpaceToImageSpaceMeshFilter);
75 
76 protected:
78  ~ParametricSpaceToImageSpaceMeshFilter() override = default;
79  void
80  PrintSelf(std::ostream & os, Indent indent) const override;
81 
83  void
84  GenerateData() override;
85 
87  void
88  GenerateOutputInformation() override;
89 };
90 } // end namespace itk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 # include "itkParametricSpaceToImageSpaceMeshFilter.hxx"
94 #endif
95 
96 #endif
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itk::MeshSource::OutputMeshPointer
typename OutputMeshType::Pointer OutputMeshPointer
Definition: itkMeshSource.h:69
itk::ParametricSpaceToImageSpaceMeshFilter::CoordinateType
typename TInputMesh::CoordinateType CoordinateType
Definition: itkParametricSpaceToImageSpaceMeshFilter.h:59
itk::MeshToMeshFilter::InputMeshPointer
typename InputMeshType::Pointer InputMeshPointer
Definition: itkMeshToMeshFilter.h:66
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::MeshToMeshFilter::InputMeshType
TInputMesh InputMeshType
Definition: itkMeshToMeshFilter.h:65
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::MeshToMeshFilter
MeshToMeshFilter is the base class for all process objects that output mesh data, and require mesh da...
Definition: itkMeshToMeshFilter.h:47
itkMeshToMeshFilter.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ParametricSpaceToImageSpaceMeshFilter
ParametricSpaceToImageSpaceMeshFilter takes an itk::Mesh on which the point Data is expected to conta...
Definition: itkParametricSpaceToImageSpaceMeshFilter.h:47
itk::MeshSource::OutputMeshType
TOutputMesh OutputMeshType
Definition: itkMeshSource.h:68