OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::LayerHeightData Struct Reference

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

Public Member Functions

 LayerHeightData ()=default
 LayerHeightData (coordf_t z, coordf_t h, size_t obj_layer)
coordf_t bottom_z ()

Public Attributes

coordf_t print_z = 0
coordf_t height = 0
size_t obj_layer_nr = 0

Detailed Description

Constructor & Destructor Documentation

◆ LayerHeightData() [1/2]

Slic3r::LayerHeightData::LayerHeightData ( )
default

◆ LayerHeightData() [2/2]

Slic3r::LayerHeightData::LayerHeightData ( coordf_t z,
coordf_t h,
size_t obj_layer )
inline
47: print_z(z), height(h), obj_layer_nr(obj_layer) {}
coordf_t height
Definition TreeSupport.hpp:44
coordf_t print_z
Definition TreeSupport.hpp:43
size_t obj_layer_nr
Definition TreeSupport.hpp:45

References height, obj_layer_nr, and print_z.

Member Function Documentation

◆ bottom_z()

coordf_t Slic3r::LayerHeightData::bottom_z ( )
inline
48 {
49 return print_z - height;
50 }

References height, and print_z.

Member Data Documentation

◆ height

coordf_t Slic3r::LayerHeightData::height = 0

Referenced by LayerHeightData(), and bottom_z().

◆ obj_layer_nr

size_t Slic3r::LayerHeightData::obj_layer_nr = 0

Referenced by LayerHeightData().

◆ print_z

coordf_t Slic3r::LayerHeightData::print_z = 0

Referenced by LayerHeightData(), and bottom_z().


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Support/TreeSupport.hpp