Template Class PixelArray

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class PixelArray : public lsst::afw::fits::detail::PixelArrayBase

Typed array of pixel values.

Public Functions

PixelArray()
PixelArray(PixelArray const&)
PixelArray(ndarray::Array<T, 1, 1> const &array)

Construct from an ndarray::Array of the same type

Copies pointers only, no deep copy.

template<typename U>
PixelArray(ndarray::Array<U, 1, 1> const &array)

Construct from an ndarray::Array of different type

Allocates memory and sets values: necessary to support the type change.

~PixelArray()
void const *getData() const

Return a void* array of the pixels.