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

#include <PrimitiveLineSegmentEditor.h>

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

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

DesignObjectLookupm_lookup
 
Model m_parent
 
Geometry m_geometry
 
Vector< 2, uint04m_vertex_index = Vector<2, uint04>(Constant<uint04>::NaN)
 
Ui::PrimitiveLineSegmentEditorUI * ui
 

Constructor & Destructor Documentation

◆ PrimitiveLineSegmentEditor()

PrimitiveLineSegmentEditor ( QWidget * parent = nullptr)

Member Function Documentation

◆ event()

bool event ( QEvent * event)
override

◆ getSegment()

LineSegment< 3, fltp08 > getSegment ( ) const

◆ init()

void init ( )
protected

◆ onSegmentUpdatedSignal

void onSegmentUpdatedSignal ( )
signal

◆ setEndPoint()

void setEndPoint ( Vertex< 3, fltp08 > vector)

◆ setPoint()

void setPoint ( uint01 index,
Vertex< 3, fltp08 > vector )

◆ setReferenceIndex()

void setReferenceIndex ( uint04 index)

◆ setSegment()

void setSegment ( DesignObjectLookup * lookup,
Model parent,
Geometry geo,
Vector< 2, uint04 > vertex_index )

◆ updateFromSegment()

void updateFromSegment ( )

Member Data Documentation

◆ m_geometry

Geometry m_geometry
protected

◆ m_lookup

DesignObjectLookup* m_lookup
protected

◆ m_parent

Model m_parent
protected

◆ m_vertex_index

Vector<2, uint04> m_vertex_index = Vector<2, uint04>(Constant<uint04>::NaN)
protected

◆ ui

Ui::PrimitiveLineSegmentEditorUI* ui
protected

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