2#include <NDEVR/Model.h>
3#include <NDEVR/Geometry.h>
7 class PrimitiveLineSegmentEditorUI;
11 class DesignObjectLookup;
36 Ui::PrimitiveLineSegmentEditorUI*
ui;
A core class where all Design Objects including models, materials, and geometries are stored....
Definition DesignObjectLookup.h:65
A core class within the model heirarchy containing vertex-based data (Usually 3D data) within a set c...
Definition Geometry.h:64
A line segment represented by two vertices, a start and end.
Definition Line.hpp:49
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
Shown when user is editing lines, to assist them in adjusting the line in 3D space.
Definition PrimitiveLineSegmentEditor.h:16
void setSegment(DesignObjectLookup *lookup, Model parent, Geometry geo, Vector< 2, uint04 > vertex_index)
void setPoint(uint01 index, Vertex< 3, fltp08 > vector)
bool event(QEvent *event) override
PrimitiveLineSegmentEditor(QWidget *parent=nullptr)
DesignObjectLookup * m_lookup
Definition PrimitiveLineSegmentEditor.h:32
LineSegment< 3, fltp08 > getSegment() const
void onSegmentUpdatedSignal()
Model m_parent
Definition PrimitiveLineSegmentEditor.h:33
Vector< 2, uint04 > m_vertex_index
Definition PrimitiveLineSegmentEditor.h:35
void setEndPoint(Vertex< 3, fltp08 > vector)
Geometry m_geometry
Definition PrimitiveLineSegmentEditor.h:34
Ui::PrimitiveLineSegmentEditorUI * ui
Definition PrimitiveLineSegmentEditor.h:36
void setReferenceIndex(uint04 index)
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
Definition FontEditor.h:6
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233