20#ifndef LIBREPCB_CORE_REALISTICBOARDPAINTER_H
21#define LIBREPCB_CORE_REALISTICBOARDPAINTER_H
26#include "../../export/graphicsexport.h"
28#include <polyclipping/clipper.hpp>
73 void paint(QPainter& painter,
Settings for librepcb::GraphicsExport.
Definition graphicsexportsettings.h:51
Base class for printing a page for librepcb::GraphicsExport.
Definition graphicsexport.h:56
Paints a librepcb::Board in realistic mode to a QPainter.
Definition realisticboardpainter.h:64
QMutex mMutex
Definition realisticboardpainter.h:87
QHash< QString, QPainterPath > mCachedContentPerLayer
Definition realisticboardpainter.h:95
RealisticBoardPainter(const RealisticBoardPainter &other)=delete
std::optional< ClipperLib::Paths > mCachedSolderResistTop
Definition realisticboardpainter.h:93
~RealisticBoardPainter() noexcept
Definition realisticboardpainter.cpp:51
RealisticBoardPainter()=delete
std::optional< ClipperLib::Paths > mCachedBoardOutlines
Definition realisticboardpainter.h:91
QVector< std::pair< QColor, QPainterPath > > getContent(const GraphicsExportSettings &settings) const noexcept
Definition realisticboardpainter.cpp:73
std::optional< ClipperLib::Paths > mCachedCopperHoles
Definition realisticboardpainter.h:90
std::shared_ptr< SceneData3D > mData
Definition realisticboardpainter.h:85
std::optional< ClipperLib::Paths > mCachedSolderResistBot
Definition realisticboardpainter.h:94
void paint(QPainter &painter, const GraphicsExportSettings &settings) const noexcept override
Draw page content on a QPainter.
Definition realisticboardpainter.cpp:58
bool mDataPreprocessed
Definition realisticboardpainter.h:88
const PositiveLength mMaxArcTolerance
Definition realisticboardpainter.h:84
std::optional< ClipperLib::Paths > mCachedBoardArea
Definition realisticboardpainter.h:92
std::optional< ClipperLib::Paths > mCachedHoles
Definition realisticboardpainter.h:89
3D scene data representing a board with package models
Definition scenedata3d.h:52
Definition occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810