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

#include <src/libslic3r/Model.hpp>

Public Member Functions

 CutConnectorAttributes ()
 
 CutConnectorAttributes (CutConnectorType t, CutConnectorStyle st, CutConnectorShape sh)
 
 CutConnectorAttributes (const CutConnectorAttributes &rhs)
 
bool operator== (const CutConnectorAttributes &other) const
 
bool operator!= (const CutConnectorAttributes &other) const
 
bool operator< (const CutConnectorAttributes &other) const
 
template<class Archive >
void serialize (Archive &ar)
 

Public Attributes

CutConnectorType type { CutConnectorType::Plug }
 
CutConnectorStyle style { CutConnectorStyle::Prism }
 
CutConnectorShape shape { CutConnectorShape::Circle }
 

Detailed Description

Constructor & Destructor Documentation

◆ CutConnectorAttributes() [1/3]

Slic3r::CutConnectorAttributes::CutConnectorAttributes ( )
inline
252{}

◆ CutConnectorAttributes() [2/3]

Slic3r::CutConnectorAttributes::CutConnectorAttributes ( CutConnectorType  t,
CutConnectorStyle  st,
CutConnectorShape  sh 
)
inline
255 : type(t), style(st), shape(sh)
256 {}
CutConnectorType type
Definition Model.hpp:248
CutConnectorStyle style
Definition Model.hpp:249
CutConnectorShape shape
Definition Model.hpp:250

◆ CutConnectorAttributes() [3/3]

Slic3r::CutConnectorAttributes::CutConnectorAttributes ( const CutConnectorAttributes rhs)
inline
258 :
259 CutConnectorAttributes(rhs.type, rhs.style, rhs.shape) {}
CutConnectorAttributes()
Definition Model.hpp:252

Member Function Documentation

◆ operator!=()

bool Slic3r::CutConnectorAttributes::operator!= ( const CutConnectorAttributes other) const
inline
263{ return !(other == (*this)); }

◆ operator<()

bool Slic3r::CutConnectorAttributes::operator< ( const CutConnectorAttributes other) const
inline
265 {
266 return this->type < other.type ||
267 (this->type == other.type && this->style < other.style) ||
268 (this->type == other.type && this->style == other.style && this->shape < other.shape);
269 }

References shape, style, and type.

◆ operator==()

bool Slic3r::CutConnectorAttributes::operator== ( const CutConnectorAttributes other) const

◆ serialize()

template<class Archive >
void Slic3r::CutConnectorAttributes::serialize ( Archive &  ar)
inline
271 {
272 ar(type, style, shape);
273 }

References shape, style, and type.

Member Data Documentation

◆ shape

◆ style

◆ type


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