![]() |
Orfeo Toolbox
3.16
|
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring. More...
#include <itkQuadEdgeMeshPoint.h>
Inheritance diagram for itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >:
Collaboration diagram for itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >: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 | |
| QuadEdgeMeshPoint () | |
| QuadEdgeMeshPoint (const Self &r) | |
| QuadEdgeMeshPoint (const Superclass &r) | |
| QuadEdgeMeshPoint (const ValueType r[VPointDimension]) | |
| virtual | ~QuadEdgeMeshPoint () |
| Iterator | Begin () |
| ConstIterator | Begin () const |
| void | CastFrom (const Point< TCoordRepB, NPointDimension > &pa) |
| Iterator | End () |
| ConstIterator | End () const |
| RealType | EuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
| void | Fill (const ValueType &) |
| vnl_vector_ref< TCoordRep > | Get_vnl_vector (void) |
| vnl_vector< TCoordRep > | Get_vnl_vector (void) const |
| ValueType * | GetDataPointer () |
| const ValueType * | GetDataPointer () const |
| TQuadEdge * | GetEdge () |
| TQuadEdge * | GetEdge () const |
| const_reference | GetElement (unsigned short index) const |
| int | GetValence () const |
| VectorType | GetVectorFromOrigin () const |
| vnl_vector_ref< TCoordRep > | GetVnlVector (void) |
| vnl_vector< TCoordRep > | GetVnlVector (void) const |
| bool | IsInternal () const |
| bool | operator!= (const Self &pt) const |
| bool | operator!= (const FixedArray &r) const |
| Self | operator+ (const VectorType &vec) const |
| const Self & | operator+= (const VectorType &vec) |
| VectorType | operator- (const Self &pnt) const |
| Self | operator- (const VectorType &vec) const |
| const Self & | operator-= (const VectorType &vec) |
| Self & | operator= (const Self &r) |
| Self & | operator= (const Superclass &r) |
| Self & | operator= (const ValueType r[VPointDimension]) |
| bool | operator== (const Self &pt) 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 |
| ReverseIterator | rBegin () |
| ConstReverseIterator | rBegin () const |
| ReverseIterator | rEnd () |
| ConstReverseIterator | rEnd () const |
| void | SetEdge (TQuadEdge *inputEdge) |
| void | SetElement (unsigned short index, const_reference value) |
| void | SetPoint (const Superclass &point) |
| 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 | SetToMidPoint (const Self &, const Self &) |
| SizeType | Size () const |
| RealType | SquaredEuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
Static Public Member Functions | |
| static FixedArray | Filled (const ValueType &) |
| static unsigned int | GetPointDimension () |
Static Public Attributes | |
| static const unsigned int | Dimension |
| static const unsigned int | Length |
| static const unsigned int | PointDimension = VPointDimension |
Protected Member Functions | |
| void | Initialize () |
Protected Attributes | |
| TQuadEdge * | m_Edge |
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
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 47 of file itkQuadEdgeMeshPoint.h.
|
inherited |
A type representing the C-array version of this FixedArray.
Definition at line 77 of file itkFixedArray.h.
|
inherited |
A const pointer to the ValueType.
Definition at line 129 of file itkFixedArray.h.
|
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 49 of file itkQuadEdgeMeshPoint.h.
| typedef Superclass::CoordRepType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::CoordRepType |
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 45 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 48 of file itkQuadEdgeMeshPoint.h.
|
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 46 of file itkQuadEdgeMeshPoint.h.
|
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 37 of file itkQuadEdgeMeshPoint.h.
|
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 38 of file itkQuadEdgeMeshPoint.h.
| typedef ValueType itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::ValueArrayType[itkGetStaticConstMacro(PointDimension)] |
Definition at line 52 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 44 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 50 of file itkQuadEdgeMeshPoint.h.
| itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | ) |
Begin concept checking End concept checking
Definition at line 37 of file itkQuadEdgeMeshPoint.txx.
|
inlinevirtual |
Definition at line 61 of file itkQuadEdgeMeshPoint.h.
| itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | const Self & | r | ) |
Definition at line 45 of file itkQuadEdgeMeshPoint.txx.
References itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::m_Edge.
| itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint | ( | const Superclass & | r | ) |
Definition at line 54 of file itkQuadEdgeMeshPoint.txx.
|
inline |
Definition at line 64 of file itkQuadEdgeMeshPoint.h.
References itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::Initialize().
|
inherited |
Get various iterators to the array.
Get an Iterator for the beginning of the FixedArray.
|
inherited |
Get a ConstIterator for the beginning of the FixedArray.
|
inlineinherited |
Copy from another Point with a different representation type. Casting is done with C-Like rules
Definition at line 215 of file itkPoint.h.
|
inherited |
Get an Iterator for the end of the FixedArray.
|
inherited |
Get a ConstIterator for the end of the FixedArray.
|
inlineinherited |
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 244 of file itkPoint.h.
|
inherited |
Fill all elements of the array with the given value.
Referenced by itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField >::EvaluateDeformationAtPhysicalPoint(), itk::ChangeInformationImageFilter< TInputImage >::GenerateOutputInformation(), otb::Functor::ShapeAttributesLabelObjectFunctor< TLabelObject, TLabelImage >::operator()(), and itk::ShapeLabelMapFilter< TImage, TLabelImage >::ThreadedProcessLabelObject().
|
staticinherited |
Return an FixedArray with all elements assigned to the given value.
|
inherited |
Get a vnl_vector_ref referencing the same memory block
Return a vnl_vector_ref
|
inherited |
Get a vnl_vector with a copy of the internal memory block.
Return a vnl_vector const
|
inlineinherited |
Return a pointer to the data.
Definition at line 216 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 217 of file itkFixedArray.h.
| TQuadEdge * itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetEdge | ( | ) |
Accessor on m_Edge
Get Edge non-const version
Definition at line 151 of file itkQuadEdgeMeshPoint.txx.
| TQuadEdge * itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::GetEdge | ( | ) | const |
Get Edge
Definition at line 140 of file itkQuadEdgeMeshPoint.txx.
|
inlineinherited |
Definition at line 213 of file itkFixedArray.h.
|
inlinestaticinherited |
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
Return the valence of this QuadEdgeMeshPoint i.e. the number of edges constituting the Onext ring to which this point belongs.
Definition at line 111 of file itkQuadEdgeMeshPoint.txx.
|
inherited |
Access an element of a point.
|
inherited |
Get a vnl_vector_ref referencing the same memory block
|
inherited |
Get a vnl_vector with a copy of the internal memory block.
Return a vnl_vector const
|
protected |
Definition at line 29 of file itkQuadEdgeMeshPoint.txx.
References NULL.
Referenced by itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint().
| bool itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::IsInternal | ( | ) | const |
FIXME Documentation missing
Definition at line 95 of file itkQuadEdgeMeshPoint.txx.
|
inlineinherited |
Compare two points for inequality.
Definition at line 98 of file itkPoint.h.
|
inlineinherited |
Definition at line 191 of file itkFixedArray.h.
|
inherited |
Add a vector to a point. Return a new point.
|
inherited |
Point operator+=. Adds a vector to the current point.
In place increment by a vector
|
inherited |
Computes the Vector difference between two points
|
inherited |
Subtract a vector from a point. Return a new point.
|
inherited |
Point operator-=. Subtracts a vector from a current point.
In place subtract a vector
| QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge > & itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const Self & | r | ) |
Definition at line 63 of file itkQuadEdgeMeshPoint.txx.
References itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::m_Edge.
| QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge > & itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const Superclass & | r | ) |
Definition at line 74 of file itkQuadEdgeMeshPoint.txx.
| QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge > & itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator= | ( | const ValueType | r[VPointDimension] | ) |
Definition at line 85 of file itkQuadEdgeMeshPoint.txx.
|
inlineinherited |
Compare two points for equality.
Definition at line 88 of file itkPoint.h.
|
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.
Operator != compares different types of arrays.
|
inlineinherited |
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 197 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 198 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 199 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 200 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 201 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 202 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 203 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 204 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 205 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 206 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 207 of file itkFixedArray.h.
|
inlineinherited |
Definition at line 208 of file itkFixedArray.h.
|
inherited |
Get a begin ReverseIterator.
|
inherited |
Get a begin ConstReverseIterator.
|
inherited |
Get an end ReverseIterator.
|
inherited |
Get an end ConstReverseIterator.
| void itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::SetEdge | ( | TQuadEdge * | inputEdge | ) |
|
inlineinherited |
Set/Get element methods are more convenient in wrapping languages
Definition at line 211 of file itkFixedArray.h.
| void itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::SetPoint | ( | const Superclass & | point | ) |
Set the coordinates from a standard itk::Point
Set Point Coordinates
Definition at line 163 of file itkQuadEdgeMeshPoint.txx.
|
inherited |
Set the current point to a barycentric combination of the two points given as arguments. \param A First point \param B Second point \param alpha Weight for the first point The first point is multiplied by \form#650, the second is multiplied by * \form#673, and the sum is stored in the Point on which the method is invoked.
If the value of \form#675, the resulting point will be placed in the line segment \form#676 joining \form#677 and \form#677 If the value of \form#678 the resulting point will be placed outside the line segment \form#676 on the side of \form#677. If the value of \form#679 the resulting point will be placed outside the line segment \form#676 on the side of \form#680. \sa SetToMedian
Set the point to the barycentric combination of two points
|
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 \form#682 , The resulting point will alway be placed inside the triangle formed by the three points given as arguments.
Set the point to the barycentric combination of three points
|
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:
Set the point to the barycentric combination of N points
|
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.
Set the point to the median point of the two arguments
|
inherited |
Get the size of the FixedArray.
|
inlineinherited |
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 228 of file itkPoint.h.
|
staticinherited |
Dimension constant
Definition at line 71 of file itkFixedArray.h.
|
staticinherited |
Length constant
Definition at line 68 of file itkFixedArray.h.
|
protected |
Entry edge for this point into an Onext ring
Definition at line 93 of file itkQuadEdgeMeshPoint.h.
Referenced by itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::operator=(), and itk::QuadEdgeMeshPoint< TCoordRep, VPointDimension, TQuadEdge >::QuadEdgeMeshPoint().
|
static |
Types & values defined in superclass.
Reimplemented from itk::Point< TCoordRep, VPointDimension >.
Definition at line 42 of file itkQuadEdgeMeshPoint.h.