ITK  5.3.0
Insight Toolkit
itkDiscreteMaximumCurvatureQuadEdgeMeshFilter.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 itkDiscreteMaximumCurvatureQuadEdgeMeshFilter_h
19 #define itkDiscreteMaximumCurvatureQuadEdgeMeshFilter_h
20 
22 
23 namespace itk
24 {
32 template <typename TInputMesh, typename TOutputMesh = TInputMesh>
34  : public DiscretePrincipalCurvaturesQuadEdgeMeshFilter<TInputMesh, TOutputMesh>
35 {
36 public:
37  ITK_DISALLOW_COPY_AND_MOVE(DiscreteMaximumCurvatureQuadEdgeMeshFilter);
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;
54  using typename Superclass::OutputPointIdentifier;
55  using typename Superclass::OutputCellIdentifier;
56  using typename Superclass::OutputQEType;
57  using typename Superclass::OutputMeshTraits;
58  using typename Superclass::OutputCurvatureType;
59 
60  using typename Superclass::TriangleType;
61 
64 
66  itkNewMacro(Self);
67 
68 #ifdef ITK_USE_CONCEPT_CHECKING
69  // Begin concept checking
71  // End concept checking
72 #endif
73 
74 protected:
77 
79  EstimateCurvature(const OutputPointType & iP) override
80  {
82  return this->m_Mean + std::sqrt(this->ComputeDelta());
83  }
84 };
85 } // namespace itk
86 
87 #endif
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputMeshPointer
typename OutputMeshType::Pointer OutputMeshPointer
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:50
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter
FIXME add documentation here.
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:34
itk::DiscreteCurvatureQuadEdgeMeshFilter::InputMeshType
TInputMesh InputMeshType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:46
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputMeshType
TOutputMesh OutputMeshType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:49
itk::DiscreteCurvatureQuadEdgeMeshFilter::InputMeshPointer
typename InputMeshType::Pointer InputMeshPointer
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:47
itk::DiscreteMaximumCurvatureQuadEdgeMeshFilter
FIXME Add documentation here.
Definition: itkDiscreteMaximumCurvatureQuadEdgeMeshFilter.h:33
itk::SmartPointer< Self >
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputPointIdentifier
typename OutputMeshType::PointIdentifier OutputPointIdentifier
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:55
itk::DiscreteCurvatureQuadEdgeMeshFilter::TriangleType
TriangleHelper< OutputPointType > TriangleType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:61
itk::DiscreteMaximumCurvatureQuadEdgeMeshFilter::EstimateCurvature
OutputCurvatureType EstimateCurvature(const OutputPointType &iP) override
Definition: itkDiscreteMaximumCurvatureQuadEdgeMeshFilter.h:79
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputPointsContainerPointer
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:51
itk::DiscreteMaximumCurvatureQuadEdgeMeshFilter::~DiscreteMaximumCurvatureQuadEdgeMeshFilter
~DiscreteMaximumCurvatureQuadEdgeMeshFilter() override=default
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCurvatureType
typename OutputMeshTraits::PixelType OutputCurvatureType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:59
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputVectorType
typename OutputMeshType::VectorType OutputVectorType
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:83
itk::Concept::IsFloatingPoint
Definition: itkConceptChecking.h:946
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputMeshTraits
typename OutputMeshType::MeshTraits OutputMeshTraits
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:58
itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h
itk::DiscreteMaximumCurvatureQuadEdgeMeshFilter::DiscreteMaximumCurvatureQuadEdgeMeshFilter
DiscreteMaximumCurvatureQuadEdgeMeshFilter()=default
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputPointType
typename OutputMeshType::PointType OutputPointType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:53
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCoordType
typename OutputPointType::CoordRepType OutputCoordType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:54
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputPointsContainerIterator
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:52
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::ComputeDelta
virtual OutputCurvatureType ComputeDelta()
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:151
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputQEType
typename OutputMeshType::QEType OutputQEType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:57
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCellIdentifier
typename OutputMeshType::CellIdentifier OutputCellIdentifier
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:56
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::ComputeMeanAndGaussianCurvatures
void ComputeMeanAndGaussianCurvatures(const OutputPointType &iP)
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:84
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputPointType
typename OutputMeshType::PointType OutputPointType
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:80
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::m_Mean
OutputCurvatureType m_Mean
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:81