ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge > Class Template Reference

#include <itkQuadEdgeMeshPoint.h>

Detailed Description

template<typename TCoordinate, unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
class itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >

Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.

Definition at line 37 of file itkQuadEdgeMeshPoint.h.

+ Inheritance diagram for itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >:
+ Collaboration diagram for itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >:

Public Types

using Self = QuadEdgeMeshPoint
 
using Superclass = Point< TCoordinate, VPointDimension >
 
using ValueArrayType = ValueType[Self::PointDimension]
 
- Public Types inherited from itk::Point< TCoordinate, VPointDimension >
using BaseArray = FixedArray< TCoordinate, VPointDimension >
 
using ConstIterator = typename BaseArray::ConstIterator
 
using CoordinateType = TCoordinate
 
using Iterator = typename BaseArray::Iterator
 
using RealType = typename NumericTraits< ValueType >::RealType
 
using Self = Point
 
using Superclass = FixedArray< TCoordinate, VPointDimension >
 
using ValueType = TCoordinate
 
using VectorType = Vector< ValueType, VPointDimension >
 
- Public Types inherited from itk::FixedArray< TCoordinate, VPointDimension >
using CArray = ValueType[VLength]
 
using const_iterator = const ValueType *
 
using const_pointer = const ValueType *
 
using const_reference = const ValueType &
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 
using ConstIterator = const ValueType *
 
using Iterator = ValueType *
 
using iterator = ValueType *
 
using pointer = ValueType *
 
using reference = ValueType &
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using SizeType = unsigned int
 
using ValueType = TCoordinate
 

Public Member Functions

TQuadEdge * GetEdge ()
 
TQuadEdge * GetEdge () const
 
int GetValence () const
 
bool IsInternal () const
 
QuadEdgeMeshPointoperator= (const QuadEdgeMeshPoint &)=default
 
Selfoperator= (const Superclass &r)
 
Selfoperator= (const ValueType r[VPointDimension])
 
QuadEdgeMeshPointoperator= (QuadEdgeMeshPoint &&)=default
 
 QuadEdgeMeshPoint ()=default
 
 QuadEdgeMeshPoint (const Self &)=default
 
 QuadEdgeMeshPoint (const Superclass &r)
 
 QuadEdgeMeshPoint (const ValueType r[VPointDimension])
 
 QuadEdgeMeshPoint (QuadEdgeMeshPoint &&)=default
 
void SetEdge (TQuadEdge *inputEdge)
 
void SetPoint (const Superclass &point)
 
 ~QuadEdgeMeshPoint ()=default
 
- Public Member Functions inherited from itk::Point< TCoordinate, VPointDimension >
template<typename TCoordinateB >
RealType EuclideanDistanceTo (const Point< TCoordinateB, VPointDimension > &pa) const
 
VectorType GetVectorFromOrigin () const
 
vnl_vector_ref< TCoordinate > GetVnlVector ()
 
vnl_vector< TCoordinate > GetVnlVector () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self)
 
Self operator+ (const VectorType &vec) const
 
const Selfoperator+= (const VectorType &vec)
 
VectorType operator- (const Self &pnt) const
 
Self operator- (const VectorType &vec) const
 
const Selfoperator-= (const VectorType &vec)
 
Pointoperator= (const ValueType r[VPointDimension])
 
bool operator== (const Self &pt) const
 
 Point ()=default
 
template<typename TPointValueType >
 Point (const Point< TPointValueType, VPointDimension > &r)
 
 Point (const std::array< ValueType, VPointDimension > &stdArray)
 
template<typename TPointValueType >
 Point (const TPointValueType &v)
 
 Point (const ValueType &v)
 
 Point (std::nullptr_t)=delete
 
void SetToMidPoint (const Self &, const Self &)
 
template<typename TCoordinateB >
RealType SquaredEuclideanDistanceTo (const Point< TCoordinateB, VPointDimension > &pa) const
 
template<typename TPointValueType >
 Point (const TPointValueType r[VPointDimension])
 
 Point (const ValueType r[VPointDimension])
 
void SetToBarycentricCombination (const Self &A, const Self &B, double alpha)
 
void SetToBarycentricCombination (const Self &A, const Self &B, const Self &C, double weightForA, double weightForB)
 
void SetToBarycentricCombination (const Self *P, const double *weights, unsigned int N)
 
template<typename TCoordinateB >
void CastFrom (const Point< TCoordinateB, VPointDimension > &pa)
 
- Public Member Functions inherited from itk::FixedArray< TCoordinate, VPointDimension >
Iterator Begin ()
 
ConstIterator Begin () const
 
constexpr const_iterator begin () const noexcept
 
constexpr iterator begin () noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr const_iterator cend () const noexcept
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
ValueTypedata ()
 
const ValueTypedata () const
 
Iterator End ()
 
ConstIterator End () const
 
constexpr const_iterator end () const noexcept
 
constexpr iterator end () noexcept
 
void Fill (const ValueType &)
 
 FixedArray ()=default
 
 FixedArray (const FixedArray< TFixedArrayValueType, VLength > &r)
 
 FixedArray (const std::array< ValueType, VLength > &stdArray)
 
 FixedArray (const TScalarValue *r)
 
ValueTypeGetDataPointer ()
 
const ValueTypeGetDataPointer () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (FixedArray)
 
 itkLegacyMacro (ReverseIterator rBegin();) itkLegacyMacro(ConstReverseIterator rBegin() const
 
 itkLegacyMacro (ReverseIterator rEnd();) itkLegacyMacro(ConstReverseIterator rEnd() const
 
FixedArrayoperator= (const FixedArray< TFixedArrayValueType, VLength > &r)
 
FixedArrayoperator= (const ValueType r[VLength])
 
bool operator== (const FixedArray &r) const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
SizeType Size () const
 
constexpr SizeType size () const
 
void swap (FixedArray &other) noexcept
 
 FixedArray (const ValueType r[VLength])
 
 FixedArray (const ValueType &)
 
ITK_GCC_PRAGMA_PUSH constexpr ITK_GCC_SUPPRESS_Warray_bounds reference operator[] (unsigned int index)
 
constexpr const_reference operator[] (unsigned int index) const
 
ITK_GCC_PRAGMA_POP void SetElement (unsigned int index, const_reference value)
 
const_reference GetElement (unsigned int index) const
 

Static Public Attributes

static constexpr unsigned int PointDimension = VPointDimension
 
- Static Public Attributes inherited from itk::Point< TCoordinate, VPointDimension >
static constexpr unsigned int PointDimension = VPointDimension
 
- Static Public Attributes inherited from itk::FixedArray< TCoordinate, VPointDimension >
static constexpr unsigned int Dimension
 
static constexpr unsigned int Length
 

Protected Member Functions

void Initialize ()
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Point< TCoordinate, VPointDimension >
static unsigned int GetPointDimension ()
 
- Static Public Member Functions inherited from itk::FixedArray< TCoordinate, VPointDimension >
static constexpr FixedArray Filled (const ValueType &value)
 

Member Typedef Documentation

◆ Self

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
using itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::Self = QuadEdgeMeshPoint

Standard type alias.

Definition at line 42 of file itkQuadEdgeMeshPoint.h.

◆ Superclass

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
using itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::Superclass = Point<TCoordinate, VPointDimension>

Definition at line 43 of file itkQuadEdgeMeshPoint.h.

◆ ValueArrayType

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
using itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::ValueArrayType = ValueType[Self::PointDimension]

Definition at line 55 of file itkQuadEdgeMeshPoint.h.

Constructor & Destructor Documentation

◆ QuadEdgeMeshPoint() [1/5]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( )
default

◆ QuadEdgeMeshPoint() [2/5]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( const Self )
default

◆ QuadEdgeMeshPoint() [3/5]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge > &&  )
default

◆ ~QuadEdgeMeshPoint()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::~QuadEdgeMeshPoint ( )
default

◆ QuadEdgeMeshPoint() [4/5]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( const Superclass r)

◆ QuadEdgeMeshPoint() [5/5]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( const ValueType  r[VPointDimension])
inline

Definition at line 74 of file itkQuadEdgeMeshPoint.h.

Member Function Documentation

◆ GetEdge() [1/2]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::GetEdge ( )

Accessor on m_Edge

◆ GetEdge() [2/2]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::GetEdge ( ) const

◆ GetValence()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
int itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::GetValence ( ) const

Return the valence of this QuadEdgeMeshPoint i.e. the number of edges constituting the Onext ring to which this point belongs.

Returns
the valence when an entry in the Onext ring is present, and -1 otherwise.

◆ Initialize()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
void itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::Initialize ( )
protected

Resets the state of m_Edge to nullptr.

◆ IsInternal()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
bool itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::IsInternal ( ) const

Return IsOriginalInternal of the edge.

See also
GeometricalQuadEdge::isOriginInternal

◆ operator=() [1/4]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
QuadEdgeMeshPoint& itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::operator= ( const QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge > &  )
default

◆ operator=() [2/4]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
Self& itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::operator= ( const Superclass r)

◆ operator=() [3/4]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
Self& itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::operator= ( const ValueType  r[VPointDimension])

◆ operator=() [4/4]

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
QuadEdgeMeshPoint& itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::operator= ( QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge > &&  )
default

◆ SetEdge()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
void itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::SetEdge ( TQuadEdge *  inputEdge)

Accessor on m_Edge

◆ SetPoint()

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
void itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::SetPoint ( const Superclass point)

Set the coordinates from a standard itk::Point

Member Data Documentation

◆ PointDimension

template<typename TCoordinate , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
constexpr unsigned int itk::QuadEdgeMeshPoint< TCoordinate, VPointDimension, TQuadEdge >::PointDimension = VPointDimension
staticconstexpr

Types & values defined in superclass.

Definition at line 46 of file itkQuadEdgeMeshPoint.h.


The documentation for this class was generated from the following file: