Into

Modules

Documentation

classPiiImageDisplay

#include <PiiImageDisplay.h>

A class provides an image display window.

Description

The display automatically converts image colors to 8 bits per channel. If the actual dynamic range of the color channels is greater, one must scale the color appropriately before sending them to the display. Floating point color channels are assumed to be at the range [0,1] and scaled accordingly.

Properties

The display type.

Public types

enum
{ Normal, AutoScale }

Display types.

Public Slots

void

Sets the displayed image.

Protected Slots

void

Signals

void
( )

Refer to the documentation of the corresponding signal in the class PiiImageViewport.

void
( )

Refer to the documentation of the corresponding signal in the class PiiImageViewport.

Constructors and destructor

( )
( )
( )

Public member functions

void

Protected member functions

void
void
void
void
void
(
  • int dx
  • int dy
)
void

Property details

  • DisplayType displayType

    [read, write]

    The display type.

    Color and gray-scale images are correctly shown with the Normal type. To automatically scale images to the full gray-scale range, set the displayType to AutoScale.

Enumeration details

  • enum DisplayType

    Display types.

    • Normal - images will be displayed without modification.

    • AutoScale - gray-level images will be scaled to fill the full 8-bit dynamic range. This is handy if you need to display binary images or floating-point images that are not in the correct scale.

Function details

  • PiiImageDisplay

    ( )
  • PiiImageDisplay

    ( )
  • PiiImageDisplay

    ( )
  • ~PiiImageDisplay

    ()
  • DisplayType displayType

    ()
  • PiiImageViewport * imageViewport

    ()
  • void setDisplayType

    ( )
  • void mouseMoveEvent

    ( )
    [protected]
  • void mousePressEvent

    ( )
    [protected]
  • void mouseReleaseEvent

    ( )
    [protected]
  • void resizeEvent

    ( )
    [protected]
  • void scrollContentsBy

    (
    • int dx
    • int dy
    )
    [protected]
  • void wheelEvent

    ( )
    [protected]
  • void areaSelected

    ( )
    [signal]

    Refer to the documentation of the corresponding signal in the class PiiImageViewport.

  • void clicked

    ( )
    [signal]

    Refer to the documentation of the corresponding signal in the class PiiImageViewport.

  • void setImage

    ()
    [slot]

    Sets the displayed image.

    If image is not of a recognized type, this function does nothing.

  • void visibleAreaChanged

    ()
    [protected, slot]
Notes (0)

Add a note

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