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
|
(
|
|
void
|
|
Property details
-
DisplayType displayType
[read, write]The display type.
Color and gray-scale images are correctly shown with the
Normaltype. To automatically scale images to the full gray-scale range, set the displayType toAutoScale.
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
() -
DisplayType displayType
() -
PiiImageViewport * imageViewport
() -
void setDisplayType
-
-
-
-
-
void scrollContentsBy
(- int dx
- int dy
[protected] -
-
Refer to the documentation of the corresponding signal in the class PiiImageViewport.
-
Refer to the documentation of the corresponding signal in the class PiiImageViewport.
-
void setImage
()[slot]Sets the displayed image.
If
imageis not of a recognized type, this function does nothing. -
void visibleAreaChanged
()[protected, slot]
Add a note
Not a single note added yet. Be the first, add yours.