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

#include <itkQuadEdgeMeshPoint.h>

Detailed Description

template<typename TCoordRep, unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
class itk::QuadEdgeMeshPoint< TCoordRep, 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< TCoordRep, VPointDimension, TQuadEdge >:
+ Collaboration diagram for itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >:

Public Types

using Self = QuadEdgeMeshPoint
 
using Superclass = Point< TCoordRep, VPointDimension >
 
using ValueArrayType = ValueType[Self::PointDimension]
 
- Public Types inherited from itk::Point< TCoordRep, VPointDimension >
using BaseArray = FixedArray< TCoordRep, VPointDimension >
 
using ConstIterator = typename BaseArray::ConstIterator
 
using CoordRepType = TCoordRep
 
using Iterator = typename BaseArray::Iterator
 
using RealType = typename NumericTraits< ValueType >::RealType
 
using Self = Point
 
using Superclass = FixedArray< TCoordRep, VPointDimension >
 
using ValueType = TCoordRep
 
using VectorType = Vector< ValueType, VPointDimension >
 
- Public Types inherited from itk::FixedArray< TCoordRep, 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 = TCoordRep
 

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< TCoordRep, VPointDimension >
template<typename TCoordRepB >
RealType EuclideanDistanceTo (const Point< TCoordRepB, VPointDimension > &pa) const
 
VectorType GetVectorFromOrigin () const
 
vnl_vector_ref< TCoordRep > GetVnlVector ()
 
vnl_vector< TCoordRep > 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 TCoordRepB >
RealType SquaredEuclideanDistanceTo (const Point< TCoordRepB, 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 TCoordRepB >
void CastFrom (const Point< TCoordRepB, VPointDimension > &pa)
 
- Public Member Functions inherited from itk::FixedArray< TCoordRep, 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)
 
 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< TCoordRep, VPointDimension >
static constexpr unsigned int PointDimension = VPointDimension
 
- Static Public Attributes inherited from itk::FixedArray< TCoordRep, 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< TCoordRep, VPointDimension >
static unsigned int GetPointDimension ()
 
- Static Public Member Functions inherited from itk::FixedArray< TCoordRep, VPointDimension >
static constexpr FixedArray Filled (const ValueType &value)
 

Member Typedef Documentation

◆ Self

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

Standard type alias.

Definition at line 42 of file itkQuadEdgeMeshPoint.h.

◆ Superclass

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

Definition at line 43 of file itkQuadEdgeMeshPoint.h.

◆ ValueArrayType

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

Definition at line 55 of file itkQuadEdgeMeshPoint.h.

Constructor & Destructor Documentation

◆ QuadEdgeMeshPoint() [1/5]

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

◆ QuadEdgeMeshPoint() [2/5]

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

◆ QuadEdgeMeshPoint() [3/5]

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

◆ ~QuadEdgeMeshPoint()

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

◆ QuadEdgeMeshPoint() [4/5]

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

◆ QuadEdgeMeshPoint() [5/5]

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

Definition at line 74 of file itkQuadEdgeMeshPoint.h.

Member Function Documentation

◆ GetEdge() [1/2]

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

Accessor on m_Edge

◆ GetEdge() [2/2]

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

◆ GetValence()

template<typename TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
int itk::QuadEdgeMeshPoint< TCoordRep, 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 TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
void itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Initialize ( )
protected

Resets the state of m_Edge to nullptr.

◆ IsInternal()

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

Return IsOriginalInternal of the edge.

See also
GeometricalQuadEdge::isOriginInternal

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ SetEdge()

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

Accessor on m_Edge

◆ SetPoint()

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

Set the coordinates from a standard itk::Point

Member Data Documentation

◆ PointDimension

template<typename TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge<unsigned long, unsigned long, bool, bool, true>>
constexpr unsigned int itk::QuadEdgeMeshPoint< TCoordRep, 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: