ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkDiscreteMinimumCurvatureQuadEdgeMeshFilter.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 itkDiscreteMinimumCurvatureQuadEdgeMeshFilter_h
19#define itkDiscreteMinimumCurvatureQuadEdgeMeshFilter_h
20
22
23namespace itk
24{
32template <typename TInputMesh, typename TOutputMesh = TInputMesh>
34 : public DiscretePrincipalCurvaturesQuadEdgeMeshFilter<TInputMesh, TOutputMesh>
35{
36public:
37 ITK_DISALLOW_COPY_AND_MOVE(DiscreteMinimumCurvatureQuadEdgeMeshFilter);
38
43
44 using typename Superclass::InputMeshType;
45 using typename Superclass::InputMeshPointer;
46
47 using typename Superclass::OutputMeshType;
48 using typename Superclass::OutputMeshPointer;
51 using typename Superclass::OutputPointType;
52 using typename Superclass::OutputVectorType;
53 using typename Superclass::OutputCoordType;
56 using typename Superclass::OutputQEType;
57 using typename Superclass::OutputMeshTraits;
59
60 using typename Superclass::TriangleType;
61
63 itkOverrideGetNameOfClassMacro(DiscreteMinimumCurvatureQuadEdgeMeshFilter);
64
66 itkNewMacro(Self);
67
69
70protected:
73
76 {
78 return this->m_Mean - std::sqrt(this->ComputeDelta());
79 }
80};
81} // namespace itk
82
83#endif
OutputCurvatureType EstimateCurvature(const OutputPointType &iP) override
DiscretePrincipalCurvaturesQuadEdgeMeshFilter< TInputMesh, TOutputMesh > Superclass
~DiscreteMinimumCurvatureQuadEdgeMeshFilter() override=default
typename OutputMeshType::Pointer OutputMeshPointer
TOutputMesh OutputMeshType
typename InputMeshType::Pointer InputMeshPointer
typename OutputMeshType::PointIdentifier OutputPointIdentifier
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....