ITK  5.2.0
Insight Toolkit
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  * 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 itkDiscreteMinimumCurvatureQuadEdgeMeshFilter_h
19 #define itkDiscreteMinimumCurvatureQuadEdgeMeshFilter_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(DiscreteMinimumCurvatureQuadEdgeMeshFilter);
38 
43 
46 
59 
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::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputPointsContainerPointer
typename Superclass::OutputPointsContainerPointer OutputPointsContainerPointer
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:49
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputMeshType
typename Superclass::OutputMeshType OutputMeshType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:47
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter
FIXME add documentation here.
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:34
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputVectorType
typename Superclass::OutputVectorType OutputVectorType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:52
itk::MeshSource::OutputMeshPointer
typename OutputMeshType::Pointer OutputMeshPointer
Definition: itkMeshSource.h:69
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputPointsContainerPointer
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:86
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputPointIdentifier
typename Superclass::OutputPointIdentifier OutputPointIdentifier
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:54
itk::MeshToMeshFilter::InputMeshPointer
typename InputMeshType::Pointer InputMeshPointer
Definition: itkMeshToMeshFilter.h:66
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputCoordType
typename Superclass::OutputCoordType OutputCoordType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:53
itk::DiscreteMinimumCurvatureQuadEdgeMeshFilter::EstimateCurvature
OutputCurvatureType EstimateCurvature(const OutputPointType &iP) override
Definition: itkDiscreteMinimumCurvatureQuadEdgeMeshFilter.h:79
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputMeshPointer
typename Superclass::OutputMeshPointer OutputMeshPointer
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:48
itk::SmartPointer< Self >
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputCurvatureType
typename Superclass::OutputCurvatureType OutputCurvatureType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:58
itk::DiscreteMinimumCurvatureQuadEdgeMeshFilter::~DiscreteMinimumCurvatureQuadEdgeMeshFilter
~DiscreteMinimumCurvatureQuadEdgeMeshFilter() override=default
itk::TriangleHelper
A convenience class for computation of various triangle elements in 2D or 3D.
Definition: itkTriangleHelper.h:31
itk::MeshToMeshFilter::InputMeshType
TInputMesh InputMeshType
Definition: itkMeshToMeshFilter.h:65
itk::DiscreteMinimumCurvatureQuadEdgeMeshFilter::DiscreteMinimumCurvatureQuadEdgeMeshFilter
DiscreteMinimumCurvatureQuadEdgeMeshFilter()=default
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::TriangleType
typename Superclass::TriangleType TriangleType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:60
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputQEType
typename Superclass::OutputQEType OutputQEType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:56
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::InputMeshType
typename Superclass::InputMeshType InputMeshType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:45
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCurvatureType
typename OutputMeshTraits::PixelType OutputCurvatureType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:58
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputVectorType
typename OutputMeshType::VectorType OutputVectorType
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:83
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputPointsContainerIterator
typename Superclass::OutputPointsContainerIterator OutputPointsContainerIterator
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:50
itk::Concept::IsFloatingPoint
Definition: itkConceptChecking.h:946
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputPointType
typename Superclass::OutputPointType OutputPointType
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:51
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputMeshTraits
typename OutputMeshType::MeshTraits OutputMeshTraits
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:57
itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputMeshTraits
typename Superclass::OutputMeshTraits OutputMeshTraits
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:57
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCoordType
typename OutputPointType::CoordRepType OutputCoordType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:53
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::OutputCellIdentifier
typename Superclass::OutputCellIdentifier OutputCellIdentifier
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:55
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::DiscreteMinimumCurvatureQuadEdgeMeshFilter
FIXME add documentation here.
Definition: itkDiscreteMinimumCurvatureQuadEdgeMeshFilter.h:33
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::ComputeDelta
virtual OutputCurvatureType ComputeDelta()
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:151
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputQEType
typename OutputMeshType::QEType OutputQEType
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:56
itk::MeshSource::OutputMeshType
TOutputMesh OutputMeshType
Definition: itkMeshSource.h:68
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::InputMeshPointer
typename Superclass::InputMeshPointer InputMeshPointer
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:46
itk::DiscreteCurvatureQuadEdgeMeshFilter::OutputCellIdentifier
typename OutputMeshType::CellIdentifier OutputCellIdentifier
Definition: itkDiscreteCurvatureQuadEdgeMeshFilter.h:55
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::ComputeMeanAndGaussianCurvatures
void ComputeMeanAndGaussianCurvatures(const OutputPointType &iP)
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:84
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputPointIdentifier
typename OutputMeshType::PointIdentifier OutputPointIdentifier
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:81
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputPointType
typename OutputMeshType::PointType OutputPointType
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:80
itk::DiscretePrincipalCurvaturesQuadEdgeMeshFilter::m_Mean
OutputCurvatureType m_Mean
Definition: itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter.h:81
itk::QuadEdgeMeshToQuadEdgeMeshFilter::OutputPointsContainerIterator
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
Definition: itkQuadEdgeMeshToQuadEdgeMeshFilter.h:85