API Documentation
|
#include <PrimitiveLineSegmentEditor.h>
Signals | |
void | onSegmentUpdatedSignal () |
Public Member Functions | |
PrimitiveLineSegmentEditor (QWidget *parent=nullptr) | |
void | setSegment (DesignObjectLookup *lookup, Model parent, Geometry geo, Vector< 2, uint04 > vertex_index) |
void | updateFromSegment () |
void | setReferenceIndex (uint04 index) |
LineSegment< 3, fltp08 > | getSegment () const |
void | setEndPoint (Vertex< 3, fltp08 > vector) |
void | setPoint (uint01 index, Vertex< 3, fltp08 > vector) |
bool | event (QEvent *event) override |
Protected Member Functions | |
void | init () |
Protected Attributes | |
DesignObjectLookup * | m_lookup |
Model | m_parent |
Geometry | m_geometry |
Vector< 2, uint04 > | m_vertex_index = Vector<2, uint04>(Constant<uint04>::NaN) |
Ui::PrimitiveLineSegmentEditorUI * | ui |
PrimitiveLineSegmentEditor | ( | QWidget * | parent = nullptr | ) |
|
override |
LineSegment< 3, fltp08 > getSegment | ( | ) | const |
|
protected |
|
signal |
void setReferenceIndex | ( | uint04 | index | ) |
void setSegment | ( | DesignObjectLookup * | lookup, |
Model | parent, | ||
Geometry | geo, | ||
Vector< 2, uint04 > | vertex_index ) |
void updateFromSegment | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |