![]() |
LibrePCB Developers Documentation
|
3D model implemented with OpenCascade More...
#include <occmodel.h>
Collaboration diagram for OccModel:Classes | |
| struct | Data |
Public Types | |
| typedef std::tuple< qreal, qreal, qreal > | Color |
Public Member Functions | |
| OccModel () noexcept=delete | |
| OccModel (const OccModel &other)=delete | |
| ~OccModel () noexcept | |
| void | addToAssembly (const OccModel &model, const Point3D &pos, const Angle3D &rot, const Transform &transform, const QString &name) |
| void | saveAsStep (const QString &name, const FilePath &fp) const |
| QMap< Color, QVector< QVector3D > > | tesselate () const |
| OccModel & | operator= (const OccModel &rhs)=delete |
Static Public Member Functions | |
| static bool | isAvailable () noexcept |
| static QString | getOccVersionString () noexcept |
| static void | setVerboseOutput (bool verbose) noexcept |
| static std::unique_ptr< OccModel > | createAssembly (const QString &name) |
| static std::unique_ptr< OccModel > | createBoard (const Path &outline, const QVector< Path > &holes, const PositiveLength &thickness, const QColor &color) |
| static std::unique_ptr< OccModel > | loadStep (const QByteArray content) |
| static QByteArray | minifyStep (const QByteArray &content) |
Private Member Functions | |
| OccModel (std::unique_ptr< Data > data) | |
Static Private Member Functions | |
| static void | initOpenCascade () |
| static QString | cleanString (const QString &str) |
| static void | throwNotAvailable () |
Private Attributes | |
| std::unique_ptr< Data > | mImpl |
Static Private Attributes | |
| static bool | sOutputVerbosityConfigured = false |
3D model implemented with OpenCascade
| typedef std::tuple<qreal, qreal, qreal> Color |
|
deletenoexcept |
Here is the caller graph for this function:
|
noexcept |
| void addToAssembly | ( | const OccModel & | model, |
| const Point3D & | pos, | ||
| const Angle3D & | rot, | ||
| const Transform & | transform, | ||
| const QString & | name | ||
| ) |
Here is the call graph for this function:| void saveAsStep | ( | const QString & | name, |
| const FilePath & | fp | ||
| ) | const |
Here is the call graph for this function:| QMap< OccModel::Color, QVector< QVector3D > > tesselate | ( | ) | const |
|
staticnoexcept |
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
staticprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Here is the caller graph for this function:
|
staticprivate |
Here is the caller graph for this function:
|
staticprivate |
|
private |