Vuo  2.3.2
VuoErrorMark.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoRendererItem.hh"
13 
14 class VuoRendererCable;
15 class VuoRendererNode;
16 
21 {
22 public:
23  VuoErrorMark();
24  void addMarkedComponents(set<VuoRendererNode *> nodes, set<VuoRendererCable *> cables);
25  QRectF boundingRect(void) const;
26  void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
27  void removeFromScene();
28  void updateErrorMarkPath();
29 
30 private:
31  QPainterPath getErrorMarkPath() const;
32  QPainterPath errorMarkPath;
33  set<VuoRendererNode *> nodes;
34  set<VuoRendererCable *> cables;
35 };