#include <itkQuadEdgeMeshPoint.h>
Public Types | |
typedef Superclass::BaseArray | BaseArray |
typedef ValueType | CArray [VLength] |
typedef const ValueType * | const_pointer |
typedef const ValueType & | const_reference |
typedef Superclass::ConstIterator | ConstIterator |
typedef Superclass::CoordRepType | CoordRepType |
typedef Superclass::Iterator | Iterator |
typedef ValueType * | pointer |
typedef Superclass::RealType | RealType |
typedef ValueType & | reference |
typedef QuadEdgeMeshPoint | Self |
typedef unsigned int | SizeType |
typedef Point< TCoordRep, VPointDimension > | Superclass |
typedef ValueType | ValueArrayType [itkGetStaticConstMacro(PointDimension)] |
typedef Superclass::ValueType | ValueType |
typedef Superclass::VectorType | VectorType |
Public Member Functions | |
vnl_vector< TCoordRep > | Get_vnl_vector (void) const |
vnl_vector_ref< TCoordRep > | Get_vnl_vector (void) |
int | GetValence () const |
VectorType | GetVectorFromOrigin () const |
vnl_vector< TCoordRep > | GetVnlVector (void) const |
vnl_vector_ref< TCoordRep > | GetVnlVector (void) |
bool | IsInternal () const |
itkStaticConstMacro (Dimension, unsigned int, VLength) | |
itkStaticConstMacro (Length, unsigned int, VLength) | |
itkStaticConstMacro (PointDimension, unsigned int, NPointDimension) | |
itkStaticConstMacro (PointDimension, unsigned int, VPointDimension) | |
Self | operator+ (const VectorType &vec) const |
const Self & | operator+= (const VectorType &vec) |
Self | operator- (const VectorType &vec) const |
VectorType | operator- (const Self &pnt) const |
const Self & | operator-= (const VectorType &vec) |
Self & | operator= (const ValueType r[VPointDimension]) |
Self & | operator= (const Superclass &r) |
Self & | operator= (const Self &r) |
QuadEdgeMeshPoint (const ValueType r[VPointDimension]) | |
QuadEdgeMeshPoint (const Superclass &r) | |
QuadEdgeMeshPoint (const Self &r) | |
QuadEdgeMeshPoint () | |
void | SetEdge (TQuadEdge *inputEdge) |
void | SetToMidPoint (const Self &, const Self &) |
RealType | SquaredEuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
virtual | ~QuadEdgeMeshPoint () |
ConstIterator | Begin () const |
Iterator | Begin () |
ConstIterator | End () const |
Iterator | End () |
void | Fill (const ValueType &) |
ConstReverseIterator | rBegin () const |
ReverseIterator | rBegin () |
ConstReverseIterator | rEnd () const |
ReverseIterator | rEnd () |
SizeType | Size () const |
void | CastFrom (const Point< TCoordRepB, NPointDimension > &pa) |
RealType | EuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
const ValueType * | GetDataPointer () const |
ValueType * | GetDataPointer () |
TQuadEdge * | GetEdge () const |
TQuadEdge * | GetEdge () |
const_reference | GetElement (unsigned short index) const |
void | SetElement (unsigned short index, const_reference value) |
bool | operator!= (const FixedArray &r) const |
bool | operator== (const FixedArray &r) const |
bool | operator!= (const Self &pt) const |
bool | operator== (const Self &pt) const |
const_reference | operator[] (unsigned long index) const |
reference | operator[] (unsigned long index) |
const_reference | operator[] (long index) const |
reference | operator[] (long index) |
const_reference | operator[] (unsigned int index) const |
reference | operator[] (unsigned int index) |
const_reference | operator[] (int index) const |
reference | operator[] (int index) |
const_reference | operator[] (unsigned short index) const |
reference | operator[] (unsigned short index) |
const_reference | operator[] (short index) const |
reference | operator[] (short index) |
void | SetToBarycentricCombination (const Self *P, const double *weights, unsigned int N) |
void | SetToBarycentricCombination (const Self &A, const Self &B, const Self &C, double weightA, double weightB) |
void | SetToBarycentricCombination (const Self &A, const Self &B, double alpha) |
Static Public Member Functions | |
static FixedArray | Filled (const ValueType &) |
static unsigned int | GetPointDimension () |
Protected Member Functions | |
void | Initialize () |
Protected Attributes | |
TQuadEdge * | m_Edge |
Definition at line 33 of file itkQuadEdgeMeshPoint.h.
typedef Superclass::BaseArray itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::BaseArray |
The Array type from which this Vector is derived.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 48 of file itkQuadEdgeMeshPoint.h.
typedef ValueType itk::FixedArray< TCoordRep , VLength >::CArray[VLength] [inherited] |
A type representing the C-array version of this FixedArray.
Definition at line 77 of file itkFixedArray.h.
typedef const ValueType* itk::FixedArray< TCoordRep , VLength >::const_pointer [inherited] |
A const pointer to the ValueType.
Definition at line 129 of file itkFixedArray.h.
typedef const ValueType& itk::FixedArray< TCoordRep , VLength >::const_reference [inherited] |
A const reference to the ValueType.
Definition at line 135 of file itkFixedArray.h.
typedef Superclass::ConstIterator itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::ConstIterator |
A const iterator through the array.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 50 of file itkQuadEdgeMeshPoint.h.
typedef Superclass::CoordRepType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::CoordRepType |
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 46 of file itkQuadEdgeMeshPoint.h.
typedef Superclass::Iterator itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Iterator |
An iterator through the array.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 49 of file itkQuadEdgeMeshPoint.h.
typedef ValueType* itk::FixedArray< TCoordRep , VLength >::pointer [inherited] |
A pointer to the ValueType.
Definition at line 126 of file itkFixedArray.h.
typedef Superclass::RealType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::RealType |
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 47 of file itkQuadEdgeMeshPoint.h.
typedef ValueType& itk::FixedArray< TCoordRep , VLength >::reference [inherited] |
A reference to the ValueType.
Definition at line 132 of file itkFixedArray.h.
typedef QuadEdgeMeshPoint itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Self |
Standard typedefs.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 38 of file itkQuadEdgeMeshPoint.h.
typedef unsigned int itk::FixedArray< TCoordRep , VLength >::SizeType [inherited] |
Definition at line 137 of file itkFixedArray.h.
typedef Point< TCoordRep, VPointDimension > itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Superclass |
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 39 of file itkQuadEdgeMeshPoint.h.
typedef ValueType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::ValueArrayType[itkGetStaticConstMacro(PointDimension)] |
Definition at line 53 of file itkQuadEdgeMeshPoint.h.
typedef Superclass::ValueType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::ValueType |
ValueType can be used to declare a variable that is the same type as a data element held in an Point.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 45 of file itkQuadEdgeMeshPoint.h.
typedef Superclass::VectorType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::VectorType |
VectorType define the difference between two Points
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 51 of file itkQuadEdgeMeshPoint.h.
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | ) |
virtual itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::~QuadEdgeMeshPoint | ( | ) | [inline, virtual] |
Definition at line 63 of file itkQuadEdgeMeshPoint.h.
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | const Self & | r | ) |
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | const Superclass & | r | ) |
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | const ValueType | r[VPointDimension] | ) | [inline] |
Definition at line 66 of file itkQuadEdgeMeshPoint.h.
References itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Initialize().
ConstIterator itk::FixedArray< TCoordRep , VLength >::Begin | ( | void | ) | const [inherited] |
Get various iterators to the array.
Iterator itk::FixedArray< TCoordRep , VLength >::Begin | ( | void | ) | [inherited] |
Get various iterators to the array.
void itk::Point< TCoordRep , NPointDimension >::CastFrom | ( | const Point< TCoordRepB, NPointDimension > & | pa | ) | [inline, inherited] |
Copy from another Point with a different representation type. Casting is done with C-Like rules
Definition at line 222 of file itkPoint.h.
ConstIterator itk::FixedArray< TCoordRep , VLength >::End | ( | void | ) | const [inherited] |
Get various iterators to the array.
Iterator itk::FixedArray< TCoordRep , VLength >::End | ( | void | ) | [inherited] |
Get various iterators to the array.
RealType itk::Point< TCoordRep , NPointDimension >::EuclideanDistanceTo | ( | const Point< TCoordRepB, NPointDimension > & | pa | ) | const [inline, inherited] |
Compute the Euclidean Distance from this point to another point with a different representation type. Casting is done with C-Like rules
Definition at line 252 of file itkPoint.h.
void itk::FixedArray< TCoordRep , VLength >::Fill | ( | const ValueType & | ) | [inherited] |
Get various iterators to the array.
static FixedArray itk::FixedArray< TCoordRep , VLength >::Filled | ( | const ValueType & | ) | [static, inherited] |
vnl_vector<TCoordRep > itk::Point< TCoordRep , NPointDimension >::Get_vnl_vector | ( | void | ) | const [inherited] |
Get a vnl_vector with a copy of the internal memory block.
vnl_vector_ref<TCoordRep > itk::Point< TCoordRep , NPointDimension >::Get_vnl_vector | ( | void | ) | [inherited] |
Get a vnl_vector_ref referencing the same memory block
const ValueType* itk::FixedArray< TCoordRep , VLength >::GetDataPointer | ( | ) | const [inline, inherited] |
Return a pointer to the data.
Definition at line 222 of file itkFixedArray.h.
ValueType* itk::FixedArray< TCoordRep , VLength >::GetDataPointer | ( | ) | [inline, inherited] |
Return a pointer to the data.
Definition at line 221 of file itkFixedArray.h.
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetEdge | ( | ) | const |
Accessor on m_Edge
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetEdge | ( | ) |
Accessor on m_Edge
const_reference itk::FixedArray< TCoordRep , VLength >::GetElement | ( | unsigned short | index | ) | const [inline, inherited] |
Set/Get element methods are more convenient in wrapping languages
Definition at line 217 of file itkFixedArray.h.
static unsigned int itk::Point< TCoordRep , NPointDimension >::GetPointDimension | ( | ) | [inline, static, inherited] |
Get the dimension (size) of the point.
Definition at line 68 of file itkPoint.h.
int itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetValence | ( | ) | const |
FIXME Documentation missing
VectorType itk::Point< TCoordRep , NPointDimension >::GetVectorFromOrigin | ( | ) | const [inherited] |
Access an element of a point.
vnl_vector<TCoordRep > itk::Point< TCoordRep , NPointDimension >::GetVnlVector | ( | void | ) | const [inherited] |
Get a vnl_vector with a copy of the internal memory block.
vnl_vector_ref<TCoordRep > itk::Point< TCoordRep , NPointDimension >::GetVnlVector | ( | void | ) | [inherited] |
Get a vnl_vector_ref referencing the same memory block
void itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Initialize | ( | ) | [protected] |
bool itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::IsInternal | ( | ) | const |
FIXME Documentation missing
itk::FixedArray< TCoordRep , VLength >::itkStaticConstMacro | ( | Dimension | , | |
unsigned | int, | |||
VLength | ||||
) | [inherited] |
Dimension constant
itk::FixedArray< TCoordRep , VLength >::itkStaticConstMacro | ( | Length | , | |
unsigned | int, | |||
VLength | ||||
) | [inherited] |
Length constant
itk::Point< TCoordRep , NPointDimension >::itkStaticConstMacro | ( | PointDimension | , | |
unsigned | int, | |||
NPointDimension | ||||
) | [inherited] |
Dimension of the Space
itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::itkStaticConstMacro | ( | PointDimension | , | |
unsigned | int, | |||
VPointDimension | ||||
) |
Types & values defined in superclass.
bool itk::FixedArray< TCoordRep , VLength >::operator!= | ( | const FixedArray< TCoordRep, NPointDimension > & | r | ) | const [inline, inherited] |
Operators == and != are used to compare whether two arrays are equal. Note that arrays are equal when the number of components (size) is the same, and each component value is equal.
Definition at line 193 of file itkFixedArray.h.
bool itk::Point< TCoordRep , NPointDimension >::operator!= | ( | const Self & | pt | ) | const [inline, inherited] |
Compare two points for inequality.
Definition at line 101 of file itkPoint.h.
Self itk::Point< TCoordRep , NPointDimension >::operator+ | ( | const VectorType & | vec | ) | const [inherited] |
Add a vector to a point. Return a new point.
const Self& itk::Point< TCoordRep , NPointDimension >::operator+= | ( | const VectorType & | vec | ) | [inherited] |
Point operator+=. Adds a vector to the current point.
Self itk::Point< TCoordRep , NPointDimension >::operator- | ( | const VectorType & | vec | ) | const [inherited] |
Subtract a vector from a point. Return a new point.
VectorType itk::Point< TCoordRep , NPointDimension >::operator- | ( | const Self & | pnt | ) | const [inherited] |
Computes the Vector difference between two points
const Self& itk::Point< TCoordRep , NPointDimension >::operator-= | ( | const VectorType & | vec | ) | [inherited] |
Point operator-=. Subtracts a vector from a current point.
Self& itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const ValueType | r[VPointDimension] | ) |
Self& itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const Superclass & | r | ) |
Self& itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const Self & | r | ) |
bool itk::FixedArray< TCoordRep , VLength >::operator== | ( | const FixedArray< TCoordRep, NPointDimension > & | r | ) | const [inherited] |
Operators == and != are used to compare whether two arrays are equal. Note that arrays are equal when the number of components (size) is the same, and each component value is equal.
bool itk::Point< TCoordRep , NPointDimension >::operator== | ( | const Self & | pt | ) | const [inline, inherited] |
Compare two points for equality.
Definition at line 90 of file itkPoint.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned long | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 211 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned long | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 210 of file itkFixedArray.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | long | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 209 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | long | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 208 of file itkFixedArray.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned int | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 207 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned int | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 206 of file itkFixedArray.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | int | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 205 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | int | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 204 of file itkFixedArray.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned short | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 203 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | unsigned short | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 202 of file itkFixedArray.h.
const_reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | short | index | ) | const [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 201 of file itkFixedArray.h.
reference itk::FixedArray< TCoordRep , VLength >::operator[] | ( | short | index | ) | [inline, inherited] |
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++.
Definition at line 200 of file itkFixedArray.h.
ConstReverseIterator itk::FixedArray< TCoordRep , VLength >::rBegin | ( | ) | const [inherited] |
Get various iterators to the array.
ReverseIterator itk::FixedArray< TCoordRep , VLength >::rBegin | ( | ) | [inherited] |
Get various iterators to the array.
ConstReverseIterator itk::FixedArray< TCoordRep , VLength >::rEnd | ( | ) | const [inherited] |
Get various iterators to the array.
ReverseIterator itk::FixedArray< TCoordRep , VLength >::rEnd | ( | ) | [inherited] |
Get various iterators to the array.
void itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::SetEdge | ( | TQuadEdge * | inputEdge | ) |
Accessor on m_Edge
void itk::FixedArray< TCoordRep , VLength >::SetElement | ( | unsigned short | index, | |
const_reference | value | |||
) | [inline, inherited] |
Set/Get element methods are more convenient in wrapping languages
Definition at line 215 of file itkFixedArray.h.
void itk::Point< TCoordRep , NPointDimension >::SetToBarycentricCombination | ( | const Self * | P, | |
const double * | weights, | |||
unsigned int | N | |||
) | [inherited] |
Set the current point to a barycentric combination of an array of N points An array of (N-1) values is expected to weight the contribution of the first (N-1) points, the weight of the Nth point is computed to ensure that the N weights sum 1.
This method computes:
void itk::Point< TCoordRep , NPointDimension >::SetToBarycentricCombination | ( | const Self & | A, | |
const Self & | B, | |||
const Self & | C, | |||
double | weightA, | |||
double | weightB | |||
) | [inherited] |
Set the current point to a barycentric combination of three points Two values are expected to weight the contribution of the first two points, the weight of for the third point is computed to ensure that the three weights sum 1.
This method computes:
If the two weight are , The resulting point will alway be placed inside the triangle formed by the three points given as arguments.
void itk::Point< TCoordRep , NPointDimension >::SetToBarycentricCombination | ( | const Self & | A, | |
const Self & | B, | |||
double | alpha | |||
) | [inherited] |
Set the current point to a barycentric combination of the two points given as arguments.
A | First point | |
B | Second point | |
alpha | Weight for the first point |
If the value of , the resulting point will be placed in the line segment joining and
If the value of the resulting point will be placed outside the line segment on the side of .
If the value of the resulting point will be placed outside the line segment on the side of .
void itk::Point< TCoordRep , NPointDimension >::SetToMidPoint | ( | const Self & | , | |
const Self & | ||||
) | [inherited] |
Set to median point between the two points given as arguments
This method computes:
using the two Points given as arguments, and store the result in the Point on which the method is invoked.
SizeType itk::FixedArray< TCoordRep , VLength >::Size | ( | void | ) | const [inherited] |
Get various iterators to the array.
RealType itk::Point< TCoordRep , NPointDimension >::SquaredEuclideanDistanceTo | ( | const Point< TCoordRepB, NPointDimension > & | pa | ) | const [inline, inherited] |
Compute the Squared Euclidean Distance from this point to another point with a different representation type. Casting is done with C-Like rules
Definition at line 236 of file itkPoint.h.
TQuadEdge* itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::m_Edge [protected] |
Definition at line 93 of file itkQuadEdgeMeshPoint.h.