Into

Modules

Documentation

classPiiImageOverlay

#include <PiiImageOverlay.h>

Image overlay is a layer that is drawn on PiiImageDisplay Each overlay has a paint method that is called by display.

Inherited by PiiCrossOverlay, PiiGeometricOverlay, PiiLineOverlay, PiiStringOverlay

Description

Constructors and destructor

virtual

Public member functions

virtual bool
( )

Returns true if the overlay contains the point p.

virtual bool
( )

Returns true if the overlay intersects r.

virtual void
( )  = 0

Paint the overlay to painter.

void
( )

Protected member functions

Function details

  • PiiImageOverlay

    ()
    [protected]
  • virtual ~PiiImageOverlay

    ()
    [virtual]
  • virtual bool contains

    ( )
    [virtual]

    Returns true if the overlay contains the point p.

    The default implementation returns false.

  • virtual bool intersects

    ( )
    [virtual]

    Returns true if the overlay intersects r.

    This is used for paint optimization. The default implementation returns true.

  • virtual void paint

    ( )
    [pure virtual]

    Paint the overlay to painter.

    If filled is true, the overlay shape shall be filled with. Otherwise just its boundary will be drawn.

  • void setToolTipText

    ( )
  • QString toolTipText

    ()
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.