The GraphicsScene class is a custom QGraphicsScene for rendering DXF entities.
More...
#include <GraphicsScene.h>
The GraphicsScene class is a custom QGraphicsScene for rendering DXF entities.
◆ GraphicsScene()
sf::dxf::GraphicsScene::GraphicsScene |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructs a GraphicsScene object.
- Parameters
-
parent | The parent QObject. |
◆ ~GraphicsScene()
sf::dxf::GraphicsScene::~GraphicsScene |
( |
| ) |
|
|
override |
◆ clearScene()
void sf::dxf::GraphicsScene::clearScene |
( |
| ) |
|
Clears all items from the scene.
◆ load()
void sf::dxf::GraphicsScene::load |
( |
const LayerEntities & |
entities_by_layer, |
|
|
const Layers & |
layer_info |
|
) |
| |
Loads and draws DXF entities onto the scene.
- Parameters
-
entities_by_layer | A map of entities organized by layer. |
layer_info | A map containing information about each layer. |
The documentation for this class was generated from the following file: