ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkQuadEdgeMeshPoint.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 itkQuadEdgeMeshPoint_h
19#define itkQuadEdgeMeshPoint_h
20
21#include "itkPoint.h"
22#include "itkConceptChecking.h"
24
25namespace itk
26{
34template <typename TCoordinate,
35 unsigned int VPointDimension,
37class ITK_TEMPLATE_EXPORT QuadEdgeMeshPoint : public Point<TCoordinate, VPointDimension>
38{
39public:
40
44
46 static constexpr unsigned int PointDimension = VPointDimension;
47
48 using typename Superclass::ValueType;
49 using typename Superclass::CoordinateType;
50 using typename Superclass::RealType;
51 using typename Superclass::Iterator;
52 using typename Superclass::ConstIterator;
53 using typename Superclass::VectorType;
54
56
57public:
58 QuadEdgeMeshPoint() = default;
59 QuadEdgeMeshPoint(const Self &) = default;
62 operator=(const QuadEdgeMeshPoint &) = default;
65 ~QuadEdgeMeshPoint() = default;
66
68
69 QuadEdgeMeshPoint(const ValueType r[VPointDimension])
70 : Superclass(r)
71 {
72 this->Initialize();
73 }
74
75
76 Self &
78
79 Self &
80 operator=(const ValueType r[VPointDimension]);
81
83 void
84 SetEdge(TQuadEdge * inputEdge);
85
87 void
89
91 TQuadEdge *
93
94 TQuadEdge *
95 GetEdge() const;
96
100 bool
101 IsInternal() const;
102
108 int
109 GetValence() const;
110
111protected:
113 void
115
116protected:
118};
119} // end namespace itk
120
121#ifndef ITK_MANUAL_INSTANTIATION
122# include "itkQuadEdgeMeshPoint.hxx"
123#endif
124
125#endif
This class extends the QuadEdge by adding a reference to the Origin.
typename BaseArray::ConstIterator ConstIterator
Definition itkPoint.h:78
typename NumericTraits< ValueType >::RealType RealType
Definition itkPoint.h:70
Vector< ValueType, VPointDimension > VectorType
Definition itkPoint.h:88
typename BaseArray::Iterator Iterator
Definition itkPoint.h:77
QuadEdgeMeshPoint(QuadEdgeMeshPoint &&)=default
QuadEdgeMeshPoint & operator=(const QuadEdgeMeshPoint &)=default
QuadEdgeMeshPoint(const Superclass &r)
QuadEdgeMeshPoint & operator=(QuadEdgeMeshPoint &&)=default
Self & operator=(const Superclass &r)
void SetEdge(TQuadEdge *inputEdge)
QuadEdgeMeshPoint(const Self &)=default
TQuadEdge * GetEdge() const
Self & operator=(const ValueType r[VPointDimension])
~QuadEdgeMeshPoint()=default
void SetPoint(const Superclass &point)
QuadEdgeMeshPoint(const ValueType r[VPointDimension])
bool IsInternal() const
TQuadEdge * GetEdge()
AddImageFilter Self
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents