2#include <NDEVR/PointWidget.h>
3#include <NDEVR/Button.h>
4#include <NDEVR/Model.h>
5#include <NDEVR/DesignObjectLookup.h>
6#include <NDEVR/Geometry.h>
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignObjectLookup.h:61
Definition PrimitiveVertexEditor.h:12
void init()
Definition PrimitiveVertexEditor.cpp:19
uint04 m_vertex_index
Definition PrimitiveVertexEditor.h:34
void setVertex(DesignObjectLookup *lookup, Model parent, Geometry geo, uint04 vertex_index)
Definition PrimitiveVertexEditor.cpp:11
PointWidget * m_point_widget
Definition PrimitiveVertexEditor.h:29
void updateFromUI()
Definition PrimitiveVertexEditor.cpp:75
Vertex< 3, fltp08 > location() const
Definition PrimitiveVertexEditor.cpp:108
Buffer< Vector< 2, uint04 > > findAttachedLineSegments() const
Definition PrimitiveVertexEditor.cpp:55
bool event(QEvent *event) override
Definition PrimitiveVertexEditor.cpp:84
Buffer< Button * > m_segments_buttons
Definition PrimitiveVertexEditor.h:28
DesignObjectLookup * m_lookup
Definition PrimitiveVertexEditor.h:33
static Model SetVertexVisualModel(const Vertex< 3, fltp08 > &location, DesignObjectLookup *lookup, UUID id=UUID::CreateUUID("PrimitiveLineSegmentEditor"))
Definition PrimitiveVertexEditor.cpp:122
PrimitiveVertexEditor(QWidget *parent=nullptr)
Definition PrimitiveVertexEditor.cpp:6
static Model HideVertexVisualModel(DesignObjectLookup *lookup, UUID id=UUID::CreateUUID("PrimitiveLineSegmentEditor"))
Definition PrimitiveVertexEditor.cpp:158
Model setVertexVisualModel(const Vertex< 3, fltp08 > &location)
Definition PrimitiveVertexEditor.cpp:114
QVBoxLayout * m_segment_layout
Definition PrimitiveVertexEditor.h:31
void updateFromVertex()
Definition PrimitiveVertexEditor.cpp:30
Model m_parent
Definition PrimitiveVertexEditor.h:30
void showSegmentEditor(Vector< 2, uint04 > segment, PopupInfo info)
Definition PrimitiveVertexEditor.cpp:47
Geometry m_geometry
Definition PrimitiveVertexEditor.h:32
static NDEVR_BASE_API UUID CreateUUID()
Definition UUID.cpp:150
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition BaseValues.hpp:272