LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
A locator for the MaskedImage. More...
#include <MaskedImage.h>
Public Types | |
using | IMVCachedLocation = typename boost::tuple<typename ImageLocator::cached_location_t, typename MaskLocator::cached_location_t, typename VarianceLocator::cached_location_t> |
using | x_iterator = _x_or_y_iterator<apply_x> |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) | |
using | y_iterator = _x_or_y_iterator<apply_y> |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) | |
using | PixelTVec = typename boost::mpl::vector<ImagePixelT, MaskPixelT, VariancePixelT> |
Public Member Functions | |
MaskedImageLocator (ImageLocator &img, MaskLocator &msk, VarianceLocator &var) | |
Pixel | operator* () |
Dereference a locator, returning a Pixel. | |
Pixel | operator() (int x, int y) |
Dereference a locator, returning a Pixel offset by (x, y) from the locator. | |
Pixel | operator[] (cached_location_t const &cached_loc) |
Dereference a locator, returning a Pixel offset by the amount set when we created the cached_location_t | |
x_iterator | x () |
Return an iterator that can be used to move (or dereference) a locator. | |
y_iterator | y () |
Return an iterator that can be used to move (or dereference) a locator. | |
cached_location_t | cache_location (int x, int y) const |
Create a cached_location_t offset by (x, y) from locator. | |
template<typename N > | |
Ref< typenameboost::mpl::at< PixelTVec, N >::type >::type | apply_IMV (cached_location_t const &cached_loc) |
template<typename N > | |
Ref< typenameboost::mpl::at< PixelTVec, N >::type >::type | apply_IMV () |
template<typename N > | |
Ref< typenameboost::mpl::at< PixelTVec, N >::type >::type | apply_IMV (int x, int y) |
Ref< ImagePixelT >::type | image (cached_location_t const &cached_loc) |
Return a reference to the image at the offset set when we created the cached_location_t | |
Ref< ImagePixelT >::type | image () |
Return a reference to the image at the current position of the locator. | |
Ref< ImagePixelT >::type | image (int x, int y) |
Return a reference to the image offset by (x, y) from the current position of the locator. | |
Ref< MaskPixelT >::type | mask (cached_location_t const &cached_loc) |
Return a reference to the mask at the offset set when we created the cached_location_t | |
Ref< MaskPixelT >::type | mask () |
Return a reference to the mask at the current position of the locator. | |
Ref< MaskPixelT >::type | mask (int x, int y) |
Return a reference to the mask offset by (x, y) from the current position of the locator. | |
Ref< VariancePixelT >::type | variance (cached_location_t const &cached_loc) |
Return a reference to the variance at the offset set when we created the cached_location_t | |
Ref< VariancePixelT >::type | variance () |
Return a reference to the variance at the current position of the locator. | |
Ref< VariancePixelT >::type | variance (int x, int y) |
Return a reference to the variance offset by (x, y) from the current position of the locator. | |
bool | operator== (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are equal. | |
bool | operator!= (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are not equal. | |
bool | operator< (MaskedImageLocatorBase const &rhs) |
Return true iff lhs is less than rhs. | |
MaskedImageLocatorBase & | operator+= (pair2I const &p) |
Increment the locator's x and y positions by p | |
MaskedImageLocatorBase & | operator+= (detail::difference_type p) |
Increment the locator's x and y positions by p | |
IMVLocator const & | getLoc () const |
Protected Attributes | |
IMVLocator | _loc |
A locator for the MaskedImage.
A locator for a MaskedImage.
Definition at line 499 of file MaskedImage.h.
|
inherited |
Definition at line 348 of file MaskedImage.h.
|
inherited |
Definition at line 415 of file MaskedImage.h.
|
inherited |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 350 of file MaskedImage.h.
|
inherited |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 352 of file MaskedImage.h.
|
inline |
Definition at line 503 of file MaskedImage.h.
|
inlineinherited |
Definition at line 424 of file MaskedImage.h.
|
inlineinherited |
Definition at line 418 of file MaskedImage.h.
|
inlineinherited |
Definition at line 429 of file MaskedImage.h.
|
inlineinherited |
Create a cached_location_t offset by (x, y)
from locator.
Definition at line 409 of file MaskedImage.h.
|
inlineinherited |
Definition at line 491 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the image at the current position of the locator.
Definition at line 440 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the image at the offset set when we created the cached_location_t
Definition at line 436 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the image offset by (x, y)
from the current position of the locator.
Definition at line 442 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the mask at the current position of the locator.
Definition at line 449 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the mask at the offset set when we created the cached_location_t
Definition at line 445 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the mask offset by (x, y)
from the current position of the locator.
Definition at line 451 of file MaskedImage.h.
|
inlineinherited |
Return true iff two locators are not equal.
Definition at line 469 of file MaskedImage.h.
|
inlineinherited |
Dereference a locator, returning a Pixel offset by (x, y)
from the locator.
Definition at line 384 of file MaskedImage.h.
|
inlineinherited |
|
inlineinherited |
Increment the locator's x
and y
positions by p
Definition at line 481 of file MaskedImage.h.
|
inlineinherited |
Increment the locator's x
and y
positions by p
Definition at line 476 of file MaskedImage.h.
|
inlineinherited |
Return true iff lhs is less than rhs.
Definition at line 471 of file MaskedImage.h.
|
inlineinherited |
Return true iff two locators are equal.
Definition at line 465 of file MaskedImage.h.
|
inlineinherited |
Dereference a locator, returning a Pixel offset by the amount set when we created the cached_location_t
Definition at line 391 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the variance at the current position of the locator.
Definition at line 458 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the variance at the offset set when we created the cached_location_t
Definition at line 454 of file MaskedImage.h.
|
inlineinherited |
Return a reference to the variance offset by (x, y)
from the current position of the locator.
Definition at line 460 of file MaskedImage.h.
|
inlineinherited |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 400 of file MaskedImage.h.
|
inlineinherited |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 406 of file MaskedImage.h.
|
protectedinherited |
Definition at line 494 of file MaskedImage.h.