Vuo  0.5.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
VuoRendererItem Class Reference

Description

Subclass of QGraphicsItem, which can show bounding rects for debugging.

Public Types

enum  activityState { notTrackingActivity = -1, activityInProgress = 0 }
 Special composition component activity states. More...
 

Static Public Member Functions

static void setDrawBoundingRects (bool drawBoundingRects)
 Specifies whether bounding rects will be shown the next time the QGraphicsScene is rendered.
 
static void drawRect (QPainter *painter, QRectF rect)
 Draws a rect, for debugging.
 

Protected Member Functions

void drawBoundingRect (QPainter *painter)
 Draws this item's bounding rect, for debugging.
 
bool getRenderActivity ()
 Retrieves the composition-wide boolean indicating whether recent activity (e.g., a node execution or event firing) by this item should be reflected in its rendering.
 
QGraphicsItem::CacheMode getCurrentDefaultCacheMode ()
 Returns the current default cache mode for components of this composition.
 

Static Protected Member Functions

static void addRoundedCorner (QPainterPath &path, bool drawLine, QPointF sharpCornerPoint, qreal radius, bool isTop, bool isLeft)
 Appends a line (or move) and curve to path, to produce a clockwise-wound rounded corner near sharpCornerPoint.
 

Member Enumeration Documentation

Special composition component activity states.

Member Function Documentation

void VuoRendererItem::addRoundedCorner ( QPainterPath &  path,
bool  drawLine,
QPointF  sharpCornerPoint,
qreal  radius,
bool  isTop,
bool  isLeft 
)
staticprotected

Appends a line (or move) and curve to path, to produce a clockwise-wound rounded corner near sharpCornerPoint.

void VuoRendererItem::drawBoundingRect ( QPainter *  painter)
protected

Draws this item's bounding rect, for debugging.

void VuoRendererItem::drawRect ( QPainter *  painter,
QRectF  rect 
)
static

Draws a rect, for debugging.

QGraphicsItem::CacheMode VuoRendererItem::getCurrentDefaultCacheMode ( )
protected

Returns the current default cache mode for components of this composition.

bool VuoRendererItem::getRenderActivity ( )
protected

Retrieves the composition-wide boolean indicating whether recent activity (e.g., a node execution or event firing) by this item should be reflected in its rendering.

void VuoRendererItem::setDrawBoundingRects ( bool  drawBoundingRects)
static

Specifies whether bounding rects will be shown the next time the QGraphicsScene is rendered.


The documentation for this class was generated from the following files: