Wrapper for drawing 2D overlays into the 3D space using specified offsets. Handles loading of multipl...
Definition GraphicOverlay.h:14
void reload()
Reloads the DXF file.
QStringList getFileNames(const QString &base_dir) const
Gets the filenames available located in the given directory.
bool load(OpenGLRenderer *renderer)
Loads the overlays into the given OpenGL widget.
void clear()
Clears the content.
GraphicOverlay()
Constructor.
static QString getLayerName(ELayer layer)
Gets the name of the layer.
void setDirty(bool flag)
Sets the dirty flag.
~GraphicOverlay()
Destructor.
void setOffset(const Vector3D &offset)
Sets an offset to all layers.
ELayer
Enumeration of layers which are available.
Definition GraphicOverlay.h:35
@ laySUB_TOOL
Optional sub tool moving along with an auxiliary axis.
Definition GraphicOverlay.h:43
@ layTOOL
Optional tool.
Definition GraphicOverlay.h:41
@ layOBJECT
Object or part on top of the fixture.
Definition GraphicOverlay.h:39
void setFilepath(const QString &filepath)
Sets the filepath to the graphic file.
bool isDirty() const
Returns true if the assign function was called.
Pure virtual class to implement rendering separated from the widget and makes the sf::OpenGLWidget th...
Definition OpenGLRenderer.h:13
#define _IPJ_CLASS
Definition ipj/iface/global.h:35
Definition Application.h:10