ITK  5.0.0
Insight Segmentation and Registration 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 >:

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

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 >
 
typedef ValueType ValueArrayType [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 >
typedef ValueType CArray [VLength]
 
using const_pointer = const ValueType *
 
using const_reference = const ValueType &
 
using ConstIterator = const ValueType *
 
using Iterator = ValueType *
 
using pointer = ValueType *
 
using reference = ValueType &
 
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
 
QuadEdgeMeshPointoperator= (QuadEdgeMeshPoint &&)=default
 
Selfoperator= (const Superclass &r)
 
Selfoperator= (const ValueType r[VPointDimension])
 
 QuadEdgeMeshPoint ()
 
 QuadEdgeMeshPoint (const Self &)=default
 
 QuadEdgeMeshPoint (QuadEdgeMeshPoint &&)=default
 
 QuadEdgeMeshPoint (const Superclass &r)
 
 QuadEdgeMeshPoint (const ValueType r[VPointDimension])
 
void SetEdge (TQuadEdge *inputEdge)
 
void SetPoint (const Superclass &point)
 
 ~QuadEdgeMeshPoint ()=default
 
- Public Member Functions inherited from itk::Point< TCoordRep, VPointDimension >
RealType EuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const
 
VectorType GetVectorFromOrigin () const
 
vnl_vector_ref< TCoordRep > GetVnlVector ()
 
vnl_vector< TCoordRep > GetVnlVector () const
 
bool operator!= (const Self &pt) const
 
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 Point &)=default
 
Pointoperator= (Point &&)=default
 
Pointoperator= (const ValueType r[NPointDimension])
 
bool operator== (const Self &pt) const
 
 Point ()=default
 
 Point (const Point &)=default
 
 Point (Point &&)=default
 
 Point (const Point< TPointValueType, NPointDimension > &r)
 
 Point (const TPointValueType r[NPointDimension])
 
 Point (const ValueType r[NPointDimension])
 
void SetToMidPoint (const Self &, const Self &)
 
RealType SquaredEuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const
 
 ~Point ()=default
 
 Point (const TPointValueType &v)
 
 Point (const ValueType &v)
 
void SetToBarycentricCombination (const Self &A, const Self &B, double alpha)
 
void SetToBarycentricCombination (const Self &A, const Self &B, const Self &C, double weightA, double weightB)
 
void SetToBarycentricCombination (const Self *P, const double *weights, unsigned int N)
 
void CastFrom (const Point< TCoordRepB, NPointDimension > &pa)
 
- Public Member Functions inherited from itk::FixedArray< TCoordRep, NPointDimension >
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
void Fill (const ValueType &)
 
 FixedArray (const TScalarValue *r)
 
ValueTypeGetDataPointer ()
 
const ValueTypeGetDataPointer () const
 
bool operator!= (const FixedArray &r) const
 
FixedArrayoperator= (const ValueType r[VLength])
 
bool operator== (const FixedArray &r) const
 
ReverseIterator rBegin ()
 
ConstReverseIterator rBegin () const
 
ReverseIterator rEnd ()
 
ConstReverseIterator rEnd () const
 
SizeType Size () const
 
void swap (FixedArray &other)
 
 FixedArray ()=default
 
 FixedArray (const FixedArray &)=default
 
 FixedArray (FixedArray &&)=default
 
FixedArrayoperator= (const FixedArray &)=default
 
FixedArrayoperator= (FixedArray &&)=default
 
 ~FixedArray ()=default
 
 FixedArray (const ValueType r[VLength])
 
 FixedArray (const ValueType &)
 
 FixedArray (const FixedArray< TFixedArrayValueType, VLength > &r)
 
FixedArrayoperator= (const FixedArray< TFixedArrayValueType, VLength > &r)
 
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 short index, const_reference value)
 
const_reference GetElement (unsigned short 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
 
- 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 &)
 

Member Typedef Documentation

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

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

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

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

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

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

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

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

Definition at line 55 of file itkQuadEdgeMeshPoint.h.

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

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

Constructor & Destructor Documentation

template<typename TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge< unsigned long, unsigned long, bool, bool, true >>
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint ( )
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
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
template<typename TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge< unsigned long, unsigned long, bool, bool, true >>
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::~QuadEdgeMeshPoint ( )
default
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)
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 72 of file itkQuadEdgeMeshPoint.h.

Member Function Documentation

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

template<typename TCoordRep , unsigned int VPointDimension, typename TQuadEdge = GeometricalQuadEdge< unsigned long, unsigned long, bool, bool, true >>
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetEdge ( ) const
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.
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.

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
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
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
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)
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])
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

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

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
static

Types & values defined in superclass.

Definition at line 45 of file itkQuadEdgeMeshPoint.h.


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