ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkDiscreteMaximumCurvatureQuadEdgeMeshFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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:
41  TInputMesh, TOutputMesh > Superclass;
42 
45 
58 
60 
63 
65  itkNewMacro(Self);
66 
67 #ifdef ITK_USE_CONCEPT_CHECKING
68  // Begin concept checking
69  itkConceptMacro( OutputIsFloatingPointCheck,
71  // End concept checking
72 #endif
73 
74 protected:
77 
78  virtual OutputCurvatureType EstimateCurvature(const OutputPointType & iP) ITK_OVERRIDE
79  {
81  return this->m_Mean + std::sqrt( this->ComputeDelta() );
82  }
83 
84 private:
85  DiscreteMaximumCurvatureQuadEdgeMeshFilter(const Self &) ITK_DELETE_FUNCTION;
86  void operator=(const Self &) ITK_DELETE_FUNCTION;
87 };
88 }
89 
90 #endif
Light weight base class for most itk classes.
DiscretePrincipalCurvaturesQuadEdgeMeshFilter< TInputMesh, TOutputMesh > Superclass
virtual OutputCurvatureType EstimateCurvature(const OutputPointType &iP) override
#define itkConceptMacro(name, concept)