API Documentation
|
#include <PrimitiveVertexEditor.h>
Public Member Functions | |
PrimitiveVertexEditor (QWidget *parent=nullptr) | |
void | setVertex (DesignObjectLookup *lookup, Model parent, Geometry geo, uint04 vertex_index) |
bool | event (QEvent *event) override |
Vertex< 3, fltp08 > | location () const |
Model | setVertexVisualModel (const Vertex< 3, fltp08 > &location) |
Static Public Member Functions | |
static Model | SetVertexVisualModel (const Vertex< 3, fltp08 > &location, DesignObjectLookup *lookup, UUID id=UUID::CreateUUID("PrimitiveLineSegmentEditor")) |
static Model | HideVertexVisualModel (DesignObjectLookup *lookup, UUID id=UUID::CreateUUID("PrimitiveLineSegmentEditor")) |
Protected Member Functions | |
void | init () |
void | updateFromVertex () |
void | showSegmentEditor (Vector< 2, uint04 > segment, PopupInfo info) |
Buffer< Vector< 2, uint04 > > | findAttachedLineSegments () const |
void | updateFromUI () |
Protected Attributes | |
Buffer< Button * > | m_segments_buttons |
PointWidget * | m_point_widget |
Model | m_parent |
QVBoxLayout * | m_segment_layout = new QVBoxLayout() |
Geometry | m_geometry |
DesignObjectLookup * | m_lookup |
uint04 | m_vertex_index = Constant<uint04>::NaN |
PrimitiveVertexEditor | ( | QWidget * | parent = nullptr | ) |
|
override |
|
static |
|
protected |
void setVertex | ( | DesignObjectLookup * | lookup, |
Model | parent, | ||
Geometry | geo, | ||
uint04 | vertex_index ) |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |