OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::png::Image< PxT > Struct Template Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PNGReadWrite.hpp>

Inheritance diagram for Slic3r::png::Image< PxT >:
Collaboration diagram for Slic3r::png::Image< PxT >:

Public Member Functions

PxT get (size_t row, size_t col) const

Public Attributes

std::vector< PxT > buf
size_t rows
size_t cols

Detailed Description

template<class PxT>
struct Slic3r::png::Image< PxT >

Member Function Documentation

◆ get()

template<class PxT>
PxT Slic3r::png::Image< PxT >::get ( size_t row,
size_t col ) const
inline
25{ return buf[row * cols + col]; }
Definition PNGReadWrite.hpp:22
std::vector< PxT > buf
Definition PNGReadWrite.hpp:23
size_t cols
Definition PNGReadWrite.hpp:24

Referenced by marchsq::_RasterTraits< Slic3r::png::ImageGreyscale >::get().

Here is the caller graph for this function:

Member Data Documentation

◆ buf

◆ cols

◆ rows


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