Class PAMImage#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

Class Documentation#

class PAMImage : public TRAP::Image#

Public Functions

explicit PAMImage(std::filesystem::path filepath)#

Constructor.

Parameters:

filepath – File path of the image to load.

PAMImage(const PAMImage&) noexcept = default#

Copy constructor.

PAMImage &operator=(const PAMImage&) noexcept = default#

Copy assignment operator.

PAMImage(PAMImage&&) noexcept = default#

Move constructor.

PAMImage &operator=(PAMImage&&) noexcept = default#

Move assignment operator.

~PAMImage() override = default#

Destructor.

virtual constexpr std::span<const u8> GetPixelData() const noexcept override#

Retrieve the raw pixel data of the image.

Returns:

Raw pixel data.