API Documentation
Loading...
Searching...
No Matches
PrimitiveVertexEditor Class Reference

#include <PrimitiveVertexEditor.h>

Inheritance diagram for PrimitiveVertexEditor:
[legend]
Collaboration diagram for PrimitiveVertexEditor:
[legend]

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, fltp08location () 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
 
PointWidgetm_point_widget
 
Model m_parent
 
QVBoxLayout * m_segment_layout = new QVBoxLayout()
 
Geometry m_geometry
 
DesignObjectLookupm_lookup
 
uint04 m_vertex_index = Constant<uint04>::NaN
 

Constructor & Destructor Documentation

◆ PrimitiveVertexEditor()

PrimitiveVertexEditor ( QWidget * parent = nullptr)

Member Function Documentation

◆ event()

bool event ( QEvent * event)
override

◆ findAttachedLineSegments()

Buffer< Vector< 2, uint04 > > findAttachedLineSegments ( ) const
protected

◆ HideVertexVisualModel()

Model HideVertexVisualModel ( DesignObjectLookup * lookup,
UUID id = UUID::CreateUUID("PrimitiveLineSegmentEditor") )
static

◆ init()

void init ( )
protected

◆ location()

Vertex< 3, fltp08 > location ( ) const

◆ setVertex()

void setVertex ( DesignObjectLookup * lookup,
Model parent,
Geometry geo,
uint04 vertex_index )

◆ SetVertexVisualModel()

Model SetVertexVisualModel ( const Vertex< 3, fltp08 > & location,
DesignObjectLookup * lookup,
UUID id = UUID::CreateUUID("PrimitiveLineSegmentEditor") )
static

◆ setVertexVisualModel()

Model setVertexVisualModel ( const Vertex< 3, fltp08 > & location)

◆ showSegmentEditor()

void showSegmentEditor ( Vector< 2, uint04 > segment,
PopupInfo info )
protected

◆ updateFromUI()

void updateFromUI ( )
protected

◆ updateFromVertex()

void updateFromVertex ( )
protected

Member Data Documentation

◆ m_geometry

Geometry m_geometry
protected

◆ m_lookup

DesignObjectLookup* m_lookup
protected

◆ m_parent

Model m_parent
protected

◆ m_point_widget

PointWidget* m_point_widget
protected

◆ m_segment_layout

QVBoxLayout* m_segment_layout = new QVBoxLayout()
protected

◆ m_segments_buttons

Buffer<Button*> m_segments_buttons
protected

◆ m_vertex_index

uint04 m_vertex_index = Constant<uint04>::NaN
protected

The documentation for this class was generated from the following files: