OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::GLGizmoAlignment::ObjectInfo Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoAlignment.hpp>

Collaboration diagram for Slic3r::GUI::GLGizmoAlignment::ObjectInfo:

Public Member Functions

 ObjectInfo (int obj_idx, int inst_idx, const BoundingBoxf3 &bb)

Public Attributes

int object_idx
int instance_idx
BoundingBoxf3 bbox
Vec3d center

Detailed Description

Constructor & Destructor Documentation

◆ ObjectInfo()

Slic3r::GUI::GLGizmoAlignment::ObjectInfo::ObjectInfo ( int obj_idx,
int inst_idx,
const BoundingBoxf3 & bb )
inline
41 : object_idx(obj_idx), instance_idx(inst_idx), bbox(bb), center(bb.center()) {}
BoundingBoxf3 bbox
Definition GLGizmoAlignment.hpp:37
int instance_idx
Definition GLGizmoAlignment.hpp:36
int object_idx
Definition GLGizmoAlignment.hpp:35
Vec3d center
Definition GLGizmoAlignment.hpp:38

References bbox, center, instance_idx, and object_idx.

Member Data Documentation

◆ bbox

◆ center

◆ instance_idx

int Slic3r::GUI::GLGizmoAlignment::ObjectInfo::instance_idx

Referenced by ObjectInfo().

◆ object_idx

int Slic3r::GUI::GLGizmoAlignment::ObjectInfo::object_idx

Referenced by ObjectInfo().


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