Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::sla::PixelDim Struct Reference

Types that represents the dimension of a pixel in millimeters. More...

#include <src/libslic3r/SLA/RasterBase.hpp>

Public Member Functions

 PixelDim ()=default
 
 PixelDim (double px_width_mm, double px_height_mm)
 

Public Attributes

double w_mm = 1.
 
double h_mm = 1.
 

Detailed Description

Types that represents the dimension of a pixel in millimeters.

Constructor & Destructor Documentation

◆ PixelDim() [1/2]

Slic3r::sla::PixelDim::PixelDim ( )
default

◆ PixelDim() [2/2]

Slic3r::sla::PixelDim::PixelDim ( double  px_width_mm,
double  px_height_mm 
)
inline
50 : w_mm(px_width_mm), h_mm(px_height_mm)
51 {}
double h_mm
Definition RasterBase.hpp:46
double w_mm
Definition RasterBase.hpp:45

Member Data Documentation

◆ h_mm

◆ w_mm


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