OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::SLAPrintObject::Instance Struct Reference

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

Collaboration diagram for Slic3r::SLAPrintObject::Instance:

Public Member Functions

 Instance (ObjectID inst_id, const Point &shft, float rot)
bool operator== (const Instance &rhs) const

Public Attributes

ObjectID instance_id
Point shift
float rotation

Detailed Description

Constructor & Destructor Documentation

◆ Instance()

Slic3r::SLAPrintObject::Instance::Instance ( ObjectID inst_id,
const Point & shft,
float rot )
inline
81: instance_id(inst_id), shift(shft), rotation(rot) {}
float rotation
Definition SLAPrint.hpp:88
Point shift
Definition SLAPrint.hpp:86
ObjectID instance_id
Definition SLAPrint.hpp:84

References instance_id, rotation, and shift.

Referenced by operator==().

Here is the caller graph for this function:

Member Function Documentation

◆ operator==()

bool Slic3r::SLAPrintObject::Instance::operator== ( const Instance & rhs) const
inline
82{ return this->instance_id == rhs.instance_id && this->shift == rhs.shift && this->rotation == rhs.rotation; }

References Instance(), instance_id, rotation, and shift.

Here is the call graph for this function:

Member Data Documentation

◆ instance_id

ObjectID Slic3r::SLAPrintObject::Instance::instance_id

◆ rotation

float Slic3r::SLAPrintObject::Instance::rotation

Referenced by Instance(), and operator==().

◆ shift

Point Slic3r::SLAPrintObject::Instance::shift

Referenced by Instance(), and operator==().


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