mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
3DScene bed origin moved to c++
This commit is contained in:
@@ -64,6 +64,7 @@ public:
|
||||
{
|
||||
Pointfs m_shape;
|
||||
BoundingBoxf3 m_bounding_box;
|
||||
Pointf m_origin;
|
||||
|
||||
public:
|
||||
const Pointfs& get_shape() const;
|
||||
@@ -71,6 +72,9 @@ public:
|
||||
|
||||
const BoundingBoxf3& get_bounding_box() const;
|
||||
|
||||
const Pointf& get_origin() const;
|
||||
void set_origin(const Pointf& origin);
|
||||
|
||||
private:
|
||||
void _calc_bounding_box();
|
||||
};
|
||||
@@ -103,6 +107,9 @@ public:
|
||||
|
||||
void set_bed_shape(const Pointfs& shape);
|
||||
|
||||
const Pointf& get_bed_origin() const;
|
||||
void set_bed_origin(const Pointf& origin);
|
||||
|
||||
bool is_dirty() const;
|
||||
void set_dirty(bool dirty);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user