FiberIterator Class Reference

Public Types

Public Member Functions

Static Public Attributes

Protected Member Functions

Protected Attributes


Detailed Description

This class implements an iterator-style object that allows easy iteration over all pixels belonging to one fiber.


Member Typedef Documentation


Constructor & Destructor Documentation

FiberIterator::FiberIterator ( MArray< value_type, 2 > &  A,
MArray< value_type, 2 > &  dA,
const Distortion D,
const FiberModel F 
) [inline]
FiberIterator::FiberIterator ( const FiberIterator other  )  [inline]

Member Function Documentation

void FiberIterator::beginFiber ( const int  fn  ) 
bool FiberIterator::done (  )  const [inline]

References maxy_, and y_.

Referenced by operator++(), and write_fiber_data().

bool FiberIterator::operator== ( const FiberIterator other  )  [inline]

References fn_, x_, and y_.

FiberIterator& FiberIterator::operator++ (  )  [inline]
FiberIterator FiberIterator::operator++ ( int   )  [inline]
int FiberIterator::x (  )  const [inline]
int FiberIterator::y (  )  const [inline]
Distortion::coeff_t FiberIterator::f (  )  const [inline]

References D_, Distortion::map_xy_fiber(), x(), and y().

Referenced by beginFiber(), and write_fiber_data().

Distortion::coeff_t FiberIterator::w (  )  const [inline]
float FiberIterator::image_value (  )  const [inline]

References A_, x(), and y().

Referenced by write_fiber_data().

float FiberIterator::image_error (  )  const [inline]

References dA_, x(), and y().

float FiberIterator::interpolate_at ( const float  x,
const float  y 
) const
float FiberIterator::single_fiberflux (  )  const [inline]
float FiberIterator::cumulative_flux (  )  const [inline]
int FiberIterator::fiber (  )  const [inline]

References fn_.

Referenced by write_fiber_data().

void FiberIterator::advance (  )  [inline, protected]

References A_, x_, and y_.

Referenced by operator++().


Field Documentation

string FiberIterator::version [static]
const Distortion& FiberIterator::D_ [protected]
const FiberModel& FiberIterator::F_ [protected]
MArray<value_type,2> FiberIterator::A_ [protected]
MArray<value_type,2> FiberIterator::dA_ [protected]

Referenced by image_error().

int FiberIterator::fn_ [protected]
int FiberIterator::miny_ [protected]

Referenced by beginFiber().

int FiberIterator::maxy_ [protected]

Referenced by beginFiber(), and done().

float FiberIterator::f_ [protected]

Referenced by beginFiber().

int FiberIterator::x_ [protected]
int FiberIterator::y_ [protected]

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1