OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::GizmoObjectManipulation::Cache Struct Reference

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

Public Member Functions

 Cache ()
void reset ()
bool is_valid () const

Public Attributes

Vec3d position
Vec3d position_rounded
Vec3d rotation
Vec3d rotation_rounded
Vec3d absolute_rotation
Vec3d absolute_rotation_rounded
Vec3d scale
Vec3d scale_rounded
Vec3d size
Vec3d size_rounded
wxString move_label_string
wxString rotate_label_string
wxString scale_label_string

Detailed Description

Constructor & Destructor Documentation

◆ Cache()

Slic3r::GUI::GizmoObjectManipulation::Cache::Cache ( )
inline
52{ reset(); }
void reset()
Definition GizmoObjectManipulation.hpp:53

References reset().

Here is the call graph for this function:

Member Function Documentation

◆ is_valid()

bool Slic3r::GUI::GizmoObjectManipulation::Cache::is_valid ( ) const
inline
63{ return position != Vec3d(DBL_MAX, DBL_MAX, DBL_MAX); }
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vec3d
Definition Point.hpp:68
Vec3d position
Definition GizmoObjectManipulation.hpp:37

References position.

◆ reset()

void Slic3r::GUI::GizmoObjectManipulation::Cache::reset ( )
inline
54 {
55 position = position_rounded = Vec3d(DBL_MAX, DBL_MAX, DBL_MAX);
56 rotation = rotation_rounded = Vec3d(DBL_MAX, DBL_MAX, DBL_MAX);
57 scale = scale_rounded = Vec3d(DBL_MAX, DBL_MAX, DBL_MAX);
58 size = size_rounded = Vec3d(DBL_MAX, DBL_MAX, DBL_MAX);
59 move_label_string = wxString();
60 rotate_label_string = wxString();
61 scale_label_string = wxString();
62 }
Vec3d position_rounded
Definition GizmoObjectManipulation.hpp:38
wxString scale_label_string
Definition GizmoObjectManipulation.hpp:50
wxString move_label_string
Definition GizmoObjectManipulation.hpp:48
Vec3d scale
Definition GizmoObjectManipulation.hpp:43
Vec3d scale_rounded
Definition GizmoObjectManipulation.hpp:44
Vec3d rotation
Definition GizmoObjectManipulation.hpp:39
wxString rotate_label_string
Definition GizmoObjectManipulation.hpp:49
Vec3d rotation_rounded
Definition GizmoObjectManipulation.hpp:40
Vec3d size
Definition GizmoObjectManipulation.hpp:45
Vec3d size_rounded
Definition GizmoObjectManipulation.hpp:46

References move_label_string, position, position_rounded, rotate_label_string, rotation, rotation_rounded, scale, scale_label_string, scale_rounded, size, and size_rounded.

Referenced by Cache().

Here is the caller graph for this function:

Member Data Documentation

◆ absolute_rotation

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::absolute_rotation

◆ absolute_rotation_rounded

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::absolute_rotation_rounded

◆ move_label_string

wxString Slic3r::GUI::GizmoObjectManipulation::Cache::move_label_string

Referenced by reset().

◆ position

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::position

Referenced by is_valid(), and reset().

◆ position_rounded

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::position_rounded

Referenced by reset().

◆ rotate_label_string

wxString Slic3r::GUI::GizmoObjectManipulation::Cache::rotate_label_string

Referenced by reset().

◆ rotation

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::rotation

Referenced by reset().

◆ rotation_rounded

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::rotation_rounded

Referenced by reset().

◆ scale

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::scale

Referenced by reset().

◆ scale_label_string

wxString Slic3r::GUI::GizmoObjectManipulation::Cache::scale_label_string

Referenced by reset().

◆ scale_rounded

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::scale_rounded

Referenced by reset().

◆ size

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::size

Referenced by reset().

◆ size_rounded

Vec3d Slic3r::GUI::GizmoObjectManipulation::Cache::size_rounded

Referenced by reset().


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