Workspace 7.0.2
Namespaces | Functions
renderingutil.cpp File Reference
#include "renderingutil.h"
#include <QRegularExpression>
#include <QVector2D>
#include <QVector4D>
#include "Workspace/Application/LanguageUtils/errorchecks.h"
#include "Workspace/Application/LanguageUtils/mathdefs.h"
#include "Workspace/Application/logmanager.h"
#include "Workspace/DataExecution/Connections/connection.h"
#include "Workspace/DataExecution/Operations/Builtin/workspaceoutput.h"
#include "Workspace/DataExecution/Operations/operation.h"
#include "Workspace/DataExecution/Operations/operationfactorytraits.h"
#include "Workspace/DataExecution/Operations/workspace.h"
#include "Mesh/Geometry/line.h"
#include "Mesh/Geometry/transformmatrix.h"
#include "Mesh/Geometry/vector3d.h"
Include dependency graph for renderingutil.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Rendering
 Rendering of meshed models.
 

Functions

bool aabbIntersectsFrustum (const ViewFrustumPlanes &viewFrustumPlanes, const Mesh::BoundingBoxMinimal &box)
 
Mesh::TransformMatrix adjustScaleToPixelSize (const Mesh::TransformMatrix &matWorld, const Mesh::TransformMatrix &matView, const Mesh::TransformMatrix &matViewInv, const Mesh::TransformMatrix &matProj, int viewportWidth, int viewportHeight, double pixelSize)
 
void getViewFrustumPlanes (const Mesh::TransformMatrix &projMatrix, const Mesh::TransformMatrix &viewMatrix, ViewFrustumPlanes &frustumPlanes)
 
bool isFirstIdParentOfSecondId (const QString &parentPath, QString potentialChild)
 
bool pointInsideFrustum (const ViewFrustumPlanes &viewFrustumPlanes, const Mesh::Vector3d &point)