Public Member Functions | List of all members
mirtk::HomogeneousTransformationIterator Class Reference

#include <HomogeneousTransformationIterator.h>

Inheritance diagram for mirtk::HomogeneousTransformationIterator:
Inheritance graph
Collaboration diagram for mirtk::HomogeneousTransformationIterator:
Collaboration graph

Public Member Functions

 HomogeneousTransformationIterator (const HomogeneousTransformation *=NULL)
 Constructor.
 
void Initialize (const BaseImage *target, const BaseImage *source, double x=.0, double y=.0, double z=.0, bool inv=false)
 
void NextX ()
 Advance iterator in x-direction.
 
void NextX (double)
 Advance iterator in x-direction by a certain amount.
 
void NextY ()
 Advance iterator in y-direction.
 
void NextY (double)
 Advance iterator in y-direction by a certain amount.
 
void NextZ ()
 Advance iterator in z-direction.
 
void NextZ (double)
 Advance iterator in z-direction by a certain amount.
 
- Public Member Functions inherited from mirtk::Point
double Distance () const
 Distance from origin.
 
double Distance (const Point &) const
 Distance from point.
 
 operator const double * () const
 Cast to C array pointer.
 
 operator double * ()
 Cast to C array pointer.
 
int operator!= (const Point &) const
 Comparison operator != (if USE_STL is defined, negate == operator)
 
double & operator() (int i)
 Get reference to i-th point coordinate.
 
const double & operator() (int i) const
 Get const reference to i-th point coordinate.
 
Point operator* (const Point &) const
 Return result of point multiplication.
 
Point operator* (const Matrix &) const
 Return result from Matrix multiplication.
 
Pointoperator*= (const Point &)
 Multiplication operator for point.
 
Pointoperator*= (double)
 Multiplication with double.
 
Pointoperator*= (const Vector3 &)
 Multiplication operator for vectors (componentwise)
 
Pointoperator*= (const Vector &)
 Multiplication operator for vectors (componentwise)
 
Pointoperator*= (const Matrix &)
 Point multiplication operator for matrices.
 
Point operator+ (const Point &) const
 Return result of point addition.
 
Pointoperator+= (const Point &)
 Addition operator for point.
 
Pointoperator+= (double)
 Addition of double.
 
Pointoperator+= (const Vector3 &)
 Addition operator for vectors.
 
Pointoperator+= (const Vector &)
 Addition operator for vectors.
 
Point operator- (const Point &) const
 Return result of point substraction.
 
Pointoperator-= (const Point &)
 Substraction operator for point.
 
Pointoperator-= (double)
 Substraction of double.
 
Pointoperator-= (const Vector3 &)
 Substraction operator for vectors.
 
Pointoperator-= (const Vector &)
 Substraction operator for vectors.
 
Point operator/ (const Point &) const
 Return result of point division.
 
Pointoperator/= (const Point &)
 Division operator for point.
 
Pointoperator/= (double)
 Division by double.
 
Pointoperator/= (const Vector3 &)
 Division operator for vectors (componentwise)
 
Pointoperator/= (const Vector &)
 Division operator for vectors (componentwise)
 
int operator< (const Point &) const
 Comparison operator <.
 
Pointoperator= (const Point &)
 Copy operator for point.
 
Pointoperator= (double)
 Assign scalar value to all coordinates.
 
Pointoperator= (const Vector3 &)
 Copy operator for vectors.
 
Pointoperator= (const Vector &)
 Copy operator for vectors.
 
int operator== (const Point &) const
 Comparison operator ==.
 
int operator> (const Point &) const
 Comparison operator >
 
double & operator[] (int i)
 Get reference to i-th point coordinate.
 
const double & operator[] (int i) const
 Get const reference to i-th point coordinate.
 
 Point ()
 Constructor.
 
 Point (double, double, double)
 Constructor with three coordinates.
 
 Point (const double [3])
 Constructor with three coordinates.
 
 Point (const Point &)
 Constructor with Point.
 
 Point (const Vector3 &)
 Constructor with Vector.
 
 Point (const Vector &)
 Constructor with Vector.
 
double SquaredDistance () const
 Squared distance from origin.
 
double SquaredDistance (const Point &) const
 Squared distance from point.
 
virtual ~Point ()
 Default destructor.
 

Additional Inherited Members

- Public Attributes inherited from mirtk::Point
double _x
 x coordinate of Point
 
double _y
 y coordinate of Point
 
double _z
 z coordinate of Point
 

Detailed Description

Class for iterator for homogeneous matrix transformations.

This class implements a fast access iterator 3D for homogeneous matrix transformations.

NOTE: This class has NO copy constructor

Definition at line 42 of file HomogeneousTransformationIterator.h.

Member Function Documentation

§ Initialize()

void mirtk::HomogeneousTransformationIterator::Initialize ( const BaseImage target,
const BaseImage source,
double  x = .0,
double  y = .0,
double  z = .0,
bool  inv = false 
)
inline

Initialize iterator. This function initializes the transformation iterator at point x, y, z with voxel offsets 1, 1, 1

Definition at line 121 of file HomogeneousTransformationIterator.h.


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