Workspace 6.21.5
Namespaces | Functions
workspacesceneutils.cpp File Reference
#include "workspacesceneutils.h"
#include <cmath>
#include <unordered_set>
#include <QGraphicsItem>
#include "Workspace/DataExecution/Connections/connection.h"
#include "Workspace/DataExecution/InputOutput/inputarray.h"
#include "Workspace/DataExecution/Operations/Builtin/variable.h"
#include "Workspace/DataExecution/Operations/Builtin/workspaceinput.h"
#include "Workspace/DataExecution/Operations/Builtin/workspaceoutput.h"
#include "Workspace/DataExecution/Operations/operation.h"
#include "Workspace/DataExecution/Serialization/serializeditem.h"
#include "Workspace/Presentation/ConnectionRacks/minioperationrack.h"
#include "Workspace/Presentation/minioperationview.h"
#include "Workspace/Presentation/operationview.h"
Include dependency graph for workspacesceneutils.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Presentation
 The graphical user interface layer for the workspace.
 

Functions

QList< MiniOperationView * > findMiniOperations (const QList< QGraphicsItem * > &items)
 
QList< OperationViewBase * > getConnectedOperationItems (MiniOperationRack &miniOpRack)
 
QList< QUuid > getMiniOperationViewOperationIds (const QList< MiniOperationView * > &viewBoxes)
 
QList< DataExecution::Operation * > getMiniOperationViewOperations (const QList< MiniOperationView * > &viewBoxes)
 
QList< MiniOperationRack * > getMiniOpRacks (const QList< OperationViewBase * > &operationItems)
 
QPointF getOperationPos (DataExecution::Operation &op)
 
QRectF getSceneBoundingBox (DataExecution::Operation &op)
 
bool isMiniOperation (const DataExecution::Operation &op)
 
bool miniOperationsShareRack (const QList< MiniOperationView * > &miniOps)
 
bool miniOperationTypesMatch (const QList< MiniOperationView * > &miniOps)
 
void setOperationPos (DataExecution::Operation &op, const QPointF &pos)