ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkLevelSetQuadEdgeMesh.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
19#ifndef itkLevelSetQuadEdgeMesh_h
20#define itkLevelSetQuadEdgeMesh_h
21
22#include "itkLevelSetBase.h"
23#include "itkObjectFactory.h"
24
25namespace itk
26{
34template <typename TMesh>
35class ITK_TEMPLATE_EXPORT LevelSetQuadEdgeMesh
36 : public LevelSetBase<typename TMesh::PointIdentifier, TMesh::PointDimension, typename TMesh::PixelType, TMesh>
37{
38public:
39 ITK_DISALLOW_COPY_AND_MOVE(LevelSetQuadEdgeMesh);
40
41 using MeshType = TMesh;
42 using MeshPointer = typename TMesh::Pointer;
43
47 using Superclass =
49
51 itkNewMacro(Self);
52
54 itkOverrideGetNameOfClassMacro(LevelSetQuadEdgeMesh);
55
56 using typename Superclass::InputType;
57 using typename Superclass::OutputType;
58 using typename Superclass::OutputRealType;
59 using typename Superclass::GradientType;
60 using typename Superclass::HessianType;
61 using typename Superclass::LevelSetDataType;
62
63 itkSetObjectMacro(Mesh, MeshType);
64 itkGetModifiableObjectMacro(Mesh, MeshType);
65
67 virtual OutputType
68 Evaluate(const InputType & iP) const override;
69
72 virtual GradientType
73 EvaluateGradient(const InputType & iP) const override;
74
77 virtual HessianType
78 EvaluateHessian(const InputType & iP) const override;
79
80
83 virtual void
84 Evaluate(const InputType & iP, LevelSetDataType & ioData) const override;
85
89 virtual void
90 EvaluateGradient(const InputType & iP, LevelSetDataType & ioData) const;
91
95 virtual void
96 EvaluateHessian(const InputType & iP, LevelSetDataType & ioData) const override;
97
99 virtual void
101
103 virtual void
104 CopyInformation(const DataObject * data) override;
105
107 virtual void
108 Graft(const DataObject * data);
109
110protected:
112 virtual ~LevelSetQuadEdgeMesh() override = default;
113
114private:
116};
117} // namespace itk
118
119#ifndef ITK_MANUAL_INSTANTIATION
120# include "itkLevelSetQuadEdgeMesh.hxx"
121#endif
122#endif // itkLevelSetQuadEdgeMesh_h
Base class for all data objects in ITK.
virtual void CopyInformation(const DataObject *data) override
virtual OutputType Evaluate(const InputType &iP) const override
virtual ~LevelSetQuadEdgeMesh() override=default
virtual HessianType EvaluateHessian(const InputType &iP) const override
virtual void EvaluateGradient(const InputType &iP, LevelSetDataType &ioData) const
virtual void Evaluate(const InputType &iP, LevelSetDataType &ioData) const override
LevelSetBase< typename MeshType::PointIdentifier, MeshType::PointDimension, typename MeshType::PixelType, MeshType > Superclass
virtual void Initialize()
SmartPointer< const Self > ConstPointer
virtual void Graft(const DataObject *data)
typename TMesh::Pointer MeshPointer
virtual void EvaluateHessian(const InputType &iP, LevelSetDataType &ioData) const override
virtual GradientType EvaluateGradient(const InputType &iP) const override
Implements the N-dimensional mesh structure.
Definition itkMesh.h:127
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....