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

Shown when user is editing lines, to assist them in adjusting the line in 3D space. More...

#include <PrimitiveLineSegmentEditor.h>

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

Signals

void onSegmentUpdatedSignal ()
 

Public Member Functions

bool event (QEvent *event) override
 
LineSegment< 3, fltp08getSegment () 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
 
DesignObjectLookupm_lookup
 
Model m_parent
 
Vector< 2, uint04m_vertex_index = Vector<2, uint04>(Constant<uint04>::Invalid)
 
Ui::PrimitiveLineSegmentEditorUI * ui
 

Detailed Description

Shown when user is editing lines, to assist them in adjusting the line in 3D space.


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

◆ ui

Ui::PrimitiveLineSegmentEditorUI* ui
protected

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