ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkContinuousIndex.h>
A templated class holding a point in n-Dimensional image space.
ContinuousIndex is a templated class that holds a set of coordinates (components). The template parameter TCoordRep can be any data type that behaves like a primitive (or atomic) data type (int, short, float, complex). The VIndexDimension defines the number of components in the continuous index array.
Definition at line 45 of file itkContinuousIndex.h.
Public Member Functions | |
ContinuousIndex () | |
ContinuousIndex (const Self &r) | |
ContinuousIndex (const ValueType r[IndexDimension]) | |
ContinuousIndex (const IndexType &index) | |
Public Member Functions inherited from itk::Point< TCoordRep, VIndexDimension > | |
RealType | EuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
VectorType | GetVectorFromOrigin () const |
vnl_vector_ref< TCoordRep > | GetVnlVector (void) |
vnl_vector< TCoordRep > | GetVnlVector (void) const |
itkLegacyMacro (vnl_vector_ref< TCoordRep > Get_vnl_vector(void)) | |
itkLegacyMacro (vnl_vector< TCoordRep > Get_vnl_vector(void) const) | |
bool | operator!= (const Self &pt) 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) |
Point & | operator= (const Self &r) |
Point & | operator= (const ValueType r[NPointDimension]) |
bool | operator== (const Self &pt) const |
Point () | |
void | SetToMidPoint (const Self &, const Self &) |
RealType | SquaredEuclideanDistanceTo (const Point< TCoordRepB, NPointDimension > &pa) const |
Point (const Point< TPointValueType, NPointDimension > &r) | |
Point (const TPointValueType r[NPointDimension]) | |
Point (const ValueType r[NPointDimension]) | |
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) | |
ValueType * | GetDataPointer () |
const ValueType * | GetDataPointer () const |
bool | operator!= (const FixedArray &r) const |
FixedArray & | operator= (const ValueType r[VLength]) |
bool | operator== (const FixedArray &r) const |
ReverseIterator | rBegin () |
ConstReverseIterator | rBegin () const |
ReverseIterator | rEnd () |
ConstReverseIterator | rEnd () const |
SizeType | Size () const |
FixedArray () | |
FixedArray (const ValueType r[VLength]) | |
FixedArray (const ValueType &r) | |
FixedArray (const FixedArray< TFixedArrayValueType, VLength > &r) | |
FixedArray & | operator= (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 const unsigned int | IndexDimension = VIndexDimension |
Static Public Attributes inherited from itk::Point< TCoordRep, VIndexDimension > | |
static const unsigned int | PointDimension |
Static Public Attributes inherited from itk::FixedArray< TCoordRep, NPointDimension > | |
static const unsigned int | Dimension |
static const unsigned int | Length |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Point< TCoordRep, VIndexDimension > | |
static unsigned int | GetPointDimension () |
Static Public Member Functions inherited from itk::FixedArray< TCoordRep, NPointDimension > | |
static FixedArray | Filled (const ValueType &) |
typedef Superclass::BaseArray itk::ContinuousIndex< TCoordRep, VIndexDimension >::BaseArray |
The Array type from which this Vector is derived.
Definition at line 64 of file itkContinuousIndex.h.
typedef BaseArray::ConstIterator itk::ContinuousIndex< TCoordRep, VIndexDimension >::ConstIterator |
Definition at line 66 of file itkContinuousIndex.h.
typedef TCoordRep itk::ContinuousIndex< TCoordRep, VIndexDimension >::CoordRepType |
Definition at line 55 of file itkContinuousIndex.h.
typedef Index< VIndexDimension > itk::ContinuousIndex< TCoordRep, VIndexDimension >::IndexType |
Corresponding discrete index type
Definition at line 61 of file itkContinuousIndex.h.
typedef BaseArray::Iterator itk::ContinuousIndex< TCoordRep, VIndexDimension >::Iterator |
Definition at line 65 of file itkContinuousIndex.h.
typedef ContinuousIndex itk::ContinuousIndex< TCoordRep, VIndexDimension >::Self |
Standard class typedefs.
Definition at line 49 of file itkContinuousIndex.h.
typedef Point< TCoordRep, VIndexDimension > itk::ContinuousIndex< TCoordRep, VIndexDimension >::Superclass |
Definition at line 50 of file itkContinuousIndex.h.
typedef TCoordRep itk::ContinuousIndex< TCoordRep, VIndexDimension >::ValueType |
ValueType can be used to declare a variable that is the same type as a data element held in an Point.
Definition at line 54 of file itkContinuousIndex.h.
|
inline |
Default constructor has nothing to do.
Definition at line 69 of file itkContinuousIndex.h.
|
inline |
Pass-through constructor to the Point base class.
Definition at line 72 of file itkContinuousIndex.h.
|
inline |
Pass-through constructor to the Point base class.
Definition at line 73 of file itkContinuousIndex.h.
|
inline |
Construct from discrete index type
Definition at line 77 of file itkContinuousIndex.h.
|
static |
Dimension of the Space
Definition at line 58 of file itkContinuousIndex.h.