OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::orientation::CostItems Struct Reference

Public Member Functions

 CostItems ()=default
std::string field_values ()

Static Public Member Functions

static std::string field_names ()

Public Attributes

float overhang = 0
float bottom = 0
float bottom_hull = 0
float contour = 0
float area_laf = 0
float area_projected = 0
float volume = 0
float area_total = 0
float radius = 0
float height_to_bottom_hull_ratio = 0
float unprintability = 0
Eigen::VectorXf areas_cooling

Detailed Description

Constructor & Destructor Documentation

◆ CostItems()

Slic3r::orientation::CostItems::CostItems ( )
default

Member Function Documentation

◆ field_names()

std::string Slic3r::orientation::CostItems::field_names ( )
inlinestatic
63 {
64 return " overhang, bottom, bothull, contour, A_laf, A_prj, unprintability";
65 }

Referenced by Slic3r::orientation::AutoOrienter::process().

Here is the caller graph for this function:

◆ field_values()

std::string Slic3r::orientation::CostItems::field_values ( )
inline
66 {
67 std::stringstream ss;
68 ss << std::fixed << std::setprecision(1);
69 ss << overhang << ",\t" << bottom << ",\t" << bottom_hull << ",\t" << contour << ",\t" << area_laf << ",\t" << area_projected << ",\t" << unprintability;
70 return ss.str();
71 }
float contour
Definition Orient.cpp:53
float area_laf
Definition Orient.cpp:54
float overhang
Definition Orient.cpp:50
float bottom_hull
Definition Orient.cpp:52
float unprintability
Definition Orient.cpp:60
float bottom
Definition Orient.cpp:51
float area_projected
Definition Orient.cpp:55

References area_laf, area_projected, bottom, bottom_hull, contour, overhang, and unprintability.

Member Data Documentation

◆ area_laf

◆ area_projected

float Slic3r::orientation::CostItems::area_projected = 0

◆ area_total

float Slic3r::orientation::CostItems::area_total = 0

◆ areas_cooling

Eigen::VectorXf Slic3r::orientation::CostItems::areas_cooling

◆ bottom

◆ bottom_hull

float Slic3r::orientation::CostItems::bottom_hull = 0

◆ contour

◆ height_to_bottom_hull_ratio

float Slic3r::orientation::CostItems::height_to_bottom_hull_ratio = 0

◆ overhang

◆ radius

float Slic3r::orientation::CostItems::radius = 0

◆ unprintability

float Slic3r::orientation::CostItems::unprintability = 0

◆ volume

float Slic3r::orientation::CostItems::volume = 0

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