LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
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: