LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lsst::afw::math::ImageImposter< ValueT > Class Template Reference

A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Statistics as though it were an Image. More...

#include <Statistics.h>

Public Types

typedef std::vector< ValueT >
::const_iterator 
x_iterator
 
typedef std::vector< ValueT >
::const_iterator 
fast_iterator
 
typedef ValueT Pixel
 

Public Member Functions

 ImageImposter (std::vector< ValueT > const &v)
 
 ImageImposter (ImageImposter< ValueT > const &img)
 
x_iterator row_begin (int) const
 
x_iterator row_end (int) const
 
int getWidth () const
 
int getHeight () const
 
bool empty () const
 

Private Member Functions

std::vector< ValueT > const & _getVector () const
 

Private Attributes

std::vector< ValueT > const & _v
 

Detailed Description

template<typename ValueT>
class lsst::afw::math::ImageImposter< ValueT >

A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Statistics as though it were an Image.

Definition at line 401 of file Statistics.h.

Member Typedef Documentation

template<typename ValueT>
typedef std::vector<ValueT>::const_iterator lsst::afw::math::ImageImposter< ValueT >::fast_iterator

Definition at line 406 of file Statistics.h.

template<typename ValueT>
typedef ValueT lsst::afw::math::ImageImposter< ValueT >::Pixel

Definition at line 407 of file Statistics.h.

template<typename ValueT>
typedef std::vector<ValueT>::const_iterator lsst::afw::math::ImageImposter< ValueT >::x_iterator

Definition at line 405 of file Statistics.h.

Constructor & Destructor Documentation

template<typename ValueT>
lsst::afw::math::ImageImposter< ValueT >::ImageImposter ( std::vector< ValueT > const &  v)
inlineexplicit

Definition at line 411 of file Statistics.h.

411 : _v(v) { }
std::vector< ValueT > const & _v
Definition: Statistics.h:422
template<typename ValueT>
lsst::afw::math::ImageImposter< ValueT >::ImageImposter ( ImageImposter< ValueT > const &  img)
inlineexplicit

Definition at line 412 of file Statistics.h.

412 : _v(img._getVector()) {}
std::vector< ValueT > const & _v
Definition: Statistics.h:422

Member Function Documentation

template<typename ValueT>
std::vector<ValueT> const& lsst::afw::math::ImageImposter< ValueT >::_getVector ( ) const
inlineprivate

Definition at line 423 of file Statistics.h.

423 { return _v; } // get the ref for the copyCon
std::vector< ValueT > const & _v
Definition: Statistics.h:422
template<typename ValueT>
bool lsst::afw::math::ImageImposter< ValueT >::empty ( ) const
inline

Definition at line 420 of file Statistics.h.

420 { return _v.empty(); }
std::vector< ValueT > const & _v
Definition: Statistics.h:422
template<typename ValueT>
int lsst::afw::math::ImageImposter< ValueT >::getHeight ( ) const
inline

Definition at line 418 of file Statistics.h.

418 { return 1; }
template<typename ValueT>
int lsst::afw::math::ImageImposter< ValueT >::getWidth ( ) const
inline

Definition at line 417 of file Statistics.h.

417 { return _v.size(); }
std::vector< ValueT > const & _v
Definition: Statistics.h:422
template<typename ValueT>
x_iterator lsst::afw::math::ImageImposter< ValueT >::row_begin ( int  ) const
inline

Definition at line 415 of file Statistics.h.

415 { return _v.begin(); }
std::vector< ValueT > const & _v
Definition: Statistics.h:422
template<typename ValueT>
x_iterator lsst::afw::math::ImageImposter< ValueT >::row_end ( int  ) const
inline

Definition at line 416 of file Statistics.h.

416 { return _v.end(); }
std::vector< ValueT > const & _v
Definition: Statistics.h:422

Member Data Documentation

template<typename ValueT>
std::vector<ValueT> const& lsst::afw::math::ImageImposter< ValueT >::_v
private

Definition at line 422 of file Statistics.h.


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