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.
void clear()
Clears the content.
bool load(OpenGLRenderer *renderer, OpenGLRenderObject::List *rol=nullptr)
Loads the overlays into the given OpenGL renderer.
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.
QList< OpenGLRenderObject * > List
Type to hold a list of not-owned render objects.
Definition OpenGLRenderObject.h:24
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