LSSTApplications  8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
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 385 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 390 of file Statistics.h.

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

Definition at line 391 of file Statistics.h.

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

Definition at line 389 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 395 of file Statistics.h.

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

Definition at line 396 of file Statistics.h.

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

Member Function Documentation

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

Definition at line 407 of file Statistics.h.

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

Definition at line 404 of file Statistics.h.

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

Definition at line 402 of file Statistics.h.

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

Definition at line 401 of file Statistics.h.

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

Definition at line 399 of file Statistics.h.

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

Definition at line 400 of file Statistics.h.

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

Member Data Documentation

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

Definition at line 406 of file Statistics.h.


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