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
Static Public Member Functions | List of all members
lsst::afw::image::pixel::PixelTypeTraits< PixelT > Struct Template Reference

Pixel type traits. More...

#include <Pixel.h>

Static Public Member Functions

static const PixelT padValue ()
 The quantity to use when a pixel value is undefined. More...
 

Detailed Description

template<typename PixelT>
struct lsst::afw::image::pixel::PixelTypeTraits< PixelT >

Pixel type traits.

Definition at line 103 of file Pixel.h.

Member Function Documentation

template<typename PixelT >
static const PixelT lsst::afw::image::pixel::PixelTypeTraits< PixelT >::padValue ( )
inlinestatic

The quantity to use when a pixel value is undefined.

Definition at line 106 of file Pixel.h.

106  {
107  return
108  std::numeric_limits<PixelT>::has_quiet_NaN ?
109  std::numeric_limits<PixelT>::quiet_NaN()
110  : 0;
111  }

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