ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkImageToPointSetFilter.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 itkImageToPointSetFilter_h
19#define itkImageToPointSetFilter_h
20
22
23namespace itk
24{
37template <typename TInputImage, typename TOutputMesh>
38class ITK_TEMPLATE_EXPORT ImageToPointSetFilter : public ImageToMeshFilter<TInputImage, TOutputMesh>
39{
40public:
41 ITK_DISALLOW_COPY_AND_MOVE(ImageToPointSetFilter);
42
48
50 itkNewMacro(Self);
51
53 itkOverrideGetNameOfClassMacro(ImageToPointSetFilter);
54
56 using InputImageType = TInputImage;
57 using InputImageConstPointer = typename InputImageType::ConstPointer;
58 using InputImageRegionType = typename InputImageType::RegionType;
59 using InputImagePixelType = typename InputImageType::PixelType;
60
62 using OutputMeshType = TOutputMesh;
63 using PointType = typename OutputMeshType::PointType;
64 using OutputMeshPointer = typename OutputMeshType::Pointer;
65 using PointsContainer = typename OutputMeshType::PointsContainer;
66 using PointIdentifier = typename OutputMeshType::PointIdentifier;
67 using PointsContainerPointer = typename PointsContainer::Pointer;
68 using PointsContainerIterator = typename PointsContainer::Iterator;
69 using PointDataContainer = typename OutputMeshType::PointDataContainer;
70 using PointDataContainerPointer = typename PointDataContainer::Pointer;
71 using PointDataContainerIterator = typename PointDataContainer::Iterator;
72
74 static constexpr unsigned int PointDimension = TOutputMesh::PointDimension;
75
77 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
78
79protected:
81 ~ImageToPointSetFilter() override = default;
82
83 void
84 GenerateData() override;
85};
86
87} // end namespace itk
88
89#ifndef ITK_MANUAL_INSTANTIATION
90# include "itkImageToPointSetFilter.hxx"
91#endif
92
93#endif
void GenerateData() override
typename OutputMeshType::Pointer OutputMeshPointer
~ImageToPointSetFilter() override=default
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::RegionType InputImageRegionType
typename PointsContainer::Iterator PointsContainerIterator
typename PointDataContainer::Iterator PointDataContainerIterator
typename InputImageType::PixelType InputImagePixelType
typename OutputMeshType::PointDataContainer PointDataContainer
ImageToMeshFilter< TInputImage, TOutputMesh > Superclass
typename OutputMeshType::PointType PointType
typename PointsContainer::Pointer PointsContainerPointer
typename OutputMeshType::PointsContainer PointsContainer
typename OutputMeshType::PointIdentifier PointIdentifier
typename PointDataContainer::Pointer PointDataContainerPointer
SmartPointer< const Self > ConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....