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
|
Class for representing an image or 2D array in general) More...
#include <GpuBuffer2D.h>
Public Types | |
typedef lsst::afw::image::Image < PixelT > | ImageT |
Public Member Functions | |
GpuBuffer2D () | |
GpuBuffer2D (const GpuBuffer2D &x) | |
void | Init (const ImageT &image) |
void | Init (int width, int height) |
GpuBuffer2D (const ImageT &image) | |
GpuBuffer2D (int width, int height) | |
~GpuBuffer2D () | |
int | Size () const |
PixelT * | GetImgLinePtr (int y) |
const PixelT * | GetImgLinePtr (int y) const |
PixelT & | Pixel (int x, int y) |
const PixelT & | Pixel (int x, int y) const |
void | CopyFromBuffer (const GpuBuffer2D< PixelT > &buffer, int startX, int startY) |
void | CopyToImage (ImageT outImage, int startX, int startY) |
Public Attributes | |
PixelT * | img |
int | width |
int | height |
Class for representing an image or 2D array in general)
Allocates width*height pixels memory for image. Automatically allocates and releases memory for buffer (this class is the owner of the buffer).
Can be uninitialized. Only uninitialized image buffer can be copied. For copying initialized image buffers, use CopyFromBuffer member function. Provides access to pixels and lines in image Can be copied to and from the Image.
Definition at line 54 of file GpuBuffer2D.h.
typedef lsst::afw::image::Image<PixelT> lsst::afw::gpu::detail::GpuBuffer2D< PixelT >::ImageT |
Definition at line 57 of file GpuBuffer2D.h.
|
inline |
Definition at line 63 of file GpuBuffer2D.h.
|
inline |
Definition at line 66 of file GpuBuffer2D.h.
|
inline |
Definition at line 105 of file GpuBuffer2D.h.
|
inline |
Definition at line 110 of file GpuBuffer2D.h.
|
inline |
Definition at line 115 of file GpuBuffer2D.h.
|
inline |
Definition at line 146 of file GpuBuffer2D.h.
|
inline |
Definition at line 160 of file GpuBuffer2D.h.
|
inline |
Definition at line 123 of file GpuBuffer2D.h.
|
inline |
Definition at line 128 of file GpuBuffer2D.h.
|
inline |
Definition at line 71 of file GpuBuffer2D.h.
|
inline |
Definition at line 94 of file GpuBuffer2D.h.
|
inline |
Definition at line 133 of file GpuBuffer2D.h.
|
inline |
Definition at line 139 of file GpuBuffer2D.h.
|
inline |
Definition at line 119 of file GpuBuffer2D.h.
int lsst::afw::gpu::detail::GpuBuffer2D< PixelT >::height |
Definition at line 61 of file GpuBuffer2D.h.
PixelT* lsst::afw::gpu::detail::GpuBuffer2D< PixelT >::img |
Definition at line 59 of file GpuBuffer2D.h.
int lsst::afw::gpu::detail::GpuBuffer2D< PixelT >::width |
Definition at line 60 of file GpuBuffer2D.h.