Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::ModelVolume::CutInfo Struct Reference

#include <src/libslic3r/Model.hpp>

Public Member Functions

 CutInfo ()=default
 
 CutInfo (CutConnectorType type, float rad_tolerance, float h_tolerance, bool processed=false)
 
void set_processed ()
 
void invalidate ()
 
template<class Archive >
void serialize (Archive &ar)
 

Public Attributes

bool is_connector { false }
 
bool is_processed { true }
 
CutConnectorType connector_type { CutConnectorType::Plug }
 
float radius_tolerance { 0.f }
 
float height_tolerance { 0.f }
 

Detailed Description

Constructor & Destructor Documentation

◆ CutInfo() [1/2]

Slic3r::ModelVolume::CutInfo::CutInfo ( )
default

◆ CutInfo() [2/2]

Slic3r::ModelVolume::CutInfo::CutInfo ( CutConnectorType  type,
float  rad_tolerance,
float  h_tolerance,
bool  processed = false 
)
inline
787 :
788 is_connector(true),
789 is_processed(processed),
791 radius_tolerance(rad_tolerance),
792 height_tolerance(h_tolerance)
793 {}
ModelVolumeType type() const
Definition Model.hpp:837
bool is_connector
Definition Model.hpp:780
CutConnectorType connector_type
Definition Model.hpp:782
float radius_tolerance
Definition Model.hpp:783
float height_tolerance
Definition Model.hpp:784
bool is_processed
Definition Model.hpp:781

Member Function Documentation

◆ invalidate()

void Slic3r::ModelVolume::CutInfo::invalidate ( )
inline
796{ is_connector = false; }

References is_connector.

Referenced by Slic3r::ModelVolume::invalidate_cut_info().

+ Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void Slic3r::ModelVolume::CutInfo::serialize ( Archive &  ar)
inline

◆ set_processed()

void Slic3r::ModelVolume::CutInfo::set_processed ( )
inline
795{ is_processed = true; }

References is_processed.

Member Data Documentation

◆ connector_type

CutConnectorType Slic3r::ModelVolume::CutInfo::connector_type { CutConnectorType::Plug }

Referenced by serialize().

◆ height_tolerance

float Slic3r::ModelVolume::CutInfo::height_tolerance { 0.f }

Referenced by serialize().

◆ is_connector

bool Slic3r::ModelVolume::CutInfo::is_connector { false }

◆ is_processed

bool Slic3r::ModelVolume::CutInfo::is_processed { true }

◆ radius_tolerance

float Slic3r::ModelVolume::CutInfo::radius_tolerance { 0.f }

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