libslic3r
Library for generating gcode from 3d models
Public Member Functions | Protected Attributes | List of all members
Slic3r::SlicingAdaptive Class Reference

#include <SlicingAdaptive.hpp>

Public Member Functions

 SlicingAdaptive ()
 
 ~SlicingAdaptive ()
 
void clear ()
 
void add_mesh (const TriangleMesh *mesh)
 
void prepare (coordf_t object_size)
 
float next_layer_height (coordf_t z, coordf_t quality_factor, coordf_t min_layer_height, coordf_t max_layer_height)
 
float horizontal_facet_distance (coordf_t z, coordf_t max_layer_height)
 

Protected Attributes

coordf_t object_size
 
int current_facet
 
std::vector< const TriangleMesh * > m_meshes
 
std::vector< const stl_facet * > m_faces
 
std::vector< float > m_face_normal_z
 

Constructor & Destructor Documentation

◆ SlicingAdaptive()

Slic3r::SlicingAdaptive::SlicingAdaptive ( )
inline

◆ ~SlicingAdaptive()

Slic3r::SlicingAdaptive::~SlicingAdaptive ( )
inline

Member Function Documentation

◆ add_mesh()

void Slic3r::SlicingAdaptive::add_mesh ( const TriangleMesh mesh)
inline

◆ clear()

void Slic3r::SlicingAdaptive::clear ( )

◆ horizontal_facet_distance()

float Slic3r::SlicingAdaptive::horizontal_facet_distance ( coordf_t  z,
coordf_t  max_layer_height 
)

◆ next_layer_height()

float Slic3r::SlicingAdaptive::next_layer_height ( coordf_t  z,
coordf_t  quality_factor,
coordf_t  min_layer_height,
coordf_t  max_layer_height 
)

◆ prepare()

void Slic3r::SlicingAdaptive::prepare ( coordf_t  object_size)

Member Data Documentation

◆ current_facet

int Slic3r::SlicingAdaptive::current_facet
protected

◆ m_face_normal_z

std::vector<float> Slic3r::SlicingAdaptive::m_face_normal_z
protected

◆ m_faces

std::vector<const stl_facet*> Slic3r::SlicingAdaptive::m_faces
protected

◆ m_meshes

std::vector<const TriangleMesh*> Slic3r::SlicingAdaptive::m_meshes
protected

◆ object_size

coordf_t Slic3r::SlicingAdaptive::object_size
protected

The documentation for this class was generated from the following files: