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

Allows the user to adjust properties for a particular Geometry Vertex node. More...

#include <PrimitiveVertexEditor.h>

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

Public Member Functions

bool event (QEvent *event) override
 
Vertex< 3, fltp08location () const
 
 PrimitiveVertexEditor (QWidget *parent=nullptr)
 
void setVertex (DesignObjectLookup *lookup, Model parent, Geometry geo, uint04 vertex_index)
 
Model setVertexVisualModel (const Vertex< 3, fltp08 > &location)
 

Static Public Member Functions

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

Protected Member Functions

Buffer< Vector< 2, uint04 > > findAttachedLineSegments () const
 
void init ()
 
void showSegmentEditor (Vector< 2, uint04 > segment, PopupInfo info)
 
void updateFromUI ()
 
void updateFromVertex ()
 

Protected Attributes

Geometry m_geometry
 
DesignObjectLookupm_lookup
 
Model m_parent
 
PointWidgetm_point_widget
 
QVBoxLayout * m_segment_layout = new QVBoxLayout()
 
Buffer< Button * > m_segments_buttons
 
uint04 m_vertex_index = Constant<uint04>::Invalid
 

Detailed Description

Allows the user to adjust properties for a particular Geometry Vertex node.


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()

static 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()

static 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>::Invalid
protected

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