ITK  5.2.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>

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

Public Types

using BaseArray = typename Superclass::BaseArray
 
using ConstIterator = typename Superclass::ConstIterator
 
using CoordRepType = typename Superclass::CoordRepType
 
using Iterator = typename Superclass::Iterator
 
using RealType = typename Superclass::RealType
 
using Self = QuadEdgeMeshPoint
 
using Superclass = Point< TCoordRep, VPointDimension >
 
using ValueArrayType = ValueType[Self::PointDimension]
 
using ValueType = typename Superclass::ValueType
 
using VectorType = typename Superclass::VectorType
 
- Public Types inherited from itk::Point< TCoordRep, VPointDimension >
using BaseArray = FixedArray< TCoordRep, NPointDimension >
 
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, NPointDimension >
 
using ValueType = TCoordRep
 
using VectorType = Vector< ValueType, NPointDimension >
 
- Public Types inherited from itk::FixedArray< TCoordRep, NPointDimension >
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 ()
 
 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 >
Pointoperator= (const Point &)=default
 
Pointoperator= (Point &&)=default
 
 Point ()=default
 
 Point (const Point &)=default
 
 Point (const Point< TPointValueType, NPointDimension > &r)
 
 Point (const TPointValueType r[NPointDimension])
 
 Point (const ValueType r[NPointDimension])
 
 Point (Point &&)=default
 
 ~Point ()=default
 
 Point (const TPointValueType &v)
 
 Point (const ValueType &v)
 
 Point (const std::array< ValueType, NPointDimension > &stdArray)
 
Pointoperator= (const ValueType r[NPointDimension])
 
bool operator== (const Self &pt) const
 
bool operator!= (const Self &pt) const
 
const Selfoperator+= (const VectorType &vec)
 
const Selfoperator-= (const VectorType &vec)
 
VectorType operator- (const Self &pnt) const
 
Self operator- (const VectorType &vec) const
 
Self operator+ (const VectorType &vec) const
 
VectorType GetVectorFromOrigin () const
 
vnl_vector_ref< TCoordRep > GetVnlVector ()
 
vnl_vector< TCoordRep > GetVnlVector () const
 
void SetToMidPoint (const Self &, const Self &)
 
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)
 
void CastFrom (const Point< TCoordRepB, NPointDimension > &pa)
 
RealType SquaredEuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const
 
RealType EuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const
 
- Public Member Functions inherited from itk::FixedArray< TCoordRep, NPointDimension >
 FixedArray ()=default
 
 FixedArray (const FixedArray &)=default
 
 FixedArray (FixedArray &&)=default
 
 FixedArray (const ValueType r[VLength])
 
 FixedArray (const ValueType &)
 
 FixedArray (const std::array< ValueType, VLength > &stdArray)
 
 FixedArray (const FixedArray< TFixedArrayValueType, VLength > &r)
 
 FixedArray (const TScalarValue *r)
 
FixedArrayoperator= (const FixedArray &)=default
 
FixedArrayoperator= (FixedArray &&)=default
 
FixedArrayoperator= (const FixedArray< TFixedArrayValueType, VLength > &r)
 
FixedArrayoperator= (const ValueType r[VLength])
 
 ~FixedArray ()=default
 
bool operator== (const FixedArray &r) const
 
bool operator!= (const FixedArray &r) const
 
reference operator[] (short index)
 
const_reference operator[] (short index) const
 
reference operator[] (unsigned short index)
 
const_reference operator[] (unsigned short index) const
 
reference operator[] (int index)
 
const_reference operator[] (int index) const
 
reference operator[] (unsigned int index)
 
const_reference operator[] (unsigned int index) const
 
reference operator[] (long index)
 
const_reference operator[] (long index) const
 
reference operator[] (unsigned long index)
 
const_reference operator[] (unsigned long index) const
 
reference operator[] (long long index)
 
const_reference operator[] (long long index) const
 
reference operator[] (unsigned long long index)
 
const_reference operator[] (unsigned long long index) const
 
void SetElement (unsigned int index, const_reference value)
 
const_reference GetElement (unsigned int index) const
 
ValueTypeGetDataPointer ()
 
const ValueTypeGetDataPointer () const
 
ValueTypedata ()
 
const ValueTypedata () const
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
 itkLegacyMacro (ReverseIterator rBegin())
 
 itkLegacyMacro (ConstReverseIterator rBegin() const)
 
 itkLegacyMacro (ReverseIterator rEnd())
 
 itkLegacyMacro (ConstReverseIterator rEnd() const)
 
const_iterator cbegin () const noexcept
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cend () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator crend () const
 
SizeType Size () const
 
constexpr SizeType size () const
 
void Fill (const ValueType &)
 
void swap (FixedArray &other)
 

Static Public Attributes

static constexpr unsigned int PointDimension = VPointDimension
 
- Static Public Attributes inherited from itk::Point< TCoordRep, VPointDimension >
static constexpr unsigned int PointDimension
 
- Static Public Attributes inherited from itk::FixedArray< TCoordRep, NPointDimension >
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, NPointDimension >
static FixedArray Filled (const ValueType &)
 

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.

Member Typedef Documentation

◆ BaseArray

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

Definition at line 51 of file itkQuadEdgeMeshPoint.h.

◆ ConstIterator

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

Definition at line 53 of file itkQuadEdgeMeshPoint.h.

◆ CoordRepType

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

Definition at line 49 of file itkQuadEdgeMeshPoint.h.

◆ Iterator

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

Definition at line 52 of file itkQuadEdgeMeshPoint.h.

◆ RealType

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

Definition at line 50 of file itkQuadEdgeMeshPoint.h.

◆ 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 56 of file itkQuadEdgeMeshPoint.h.

◆ ValueType

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

Definition at line 48 of file itkQuadEdgeMeshPoint.h.

◆ VectorType

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

Definition at line 54 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 ( )

◆ 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 75 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: