API Documentation
|
Shown when user is editing lines, to assist them in adjusting the line in 3D space. More...
#include <PrimitiveLineSegmentEditor.h>
Signals | |
void | onSegmentUpdatedSignal () |
Public Member Functions | |
bool | event (QEvent *event) override |
LineSegment< 3, fltp08 > | getSegment () const |
PrimitiveLineSegmentEditor (QWidget *parent=nullptr) | |
void | setEndPoint (Vertex< 3, fltp08 > vector) |
void | setPoint (uint01 index, Vertex< 3, fltp08 > vector) |
void | setReferenceIndex (uint04 index) |
void | setSegment (DesignObjectLookup *lookup, Model parent, Geometry geo, Vector< 2, uint04 > vertex_index) |
void | updateFromSegment () |
Protected Member Functions | |
void | init () |
Protected Attributes | |
Geometry | m_geometry |
DesignObjectLookup * | m_lookup |
Model | m_parent |
Vector< 2, uint04 > | m_vertex_index = Vector<2, uint04>(Constant<uint04>::Invalid) |
Ui::PrimitiveLineSegmentEditorUI * | ui |
Shown when user is editing lines, to assist them in adjusting the line in 3D space.
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 |