PCL
|
Functions | |
virtual void | pcl::ProcessInterface::BeginReadout (const View &view) |
virtual void | pcl::ProcessInterface::EndReadout (const View &view) |
virtual void | pcl::ProcessInterface::UpdateReadout (const View &view, const DPoint &position, double R, double G, double B, double A) |
The PixInsight core application calls readout notification functions to send real-time readout pixel values to interfaces.
Readout operations take place when the user clicks and drags the mouse over a view in readout mode (ImageMode::Readout). During a readout procedure, RGBA values are read from a view's image (according to global readout options) and sent to interfaces via readout notifications.
For example, an interface can receive readout notifications to let the user select a color by clicking directly over an image. The NewImage standard interface does exactly this to select an initial color for newly created images.
For a process interface to receive readout notifications, the corresponding ProcessInterface subclass must reimplement ProcessInterface::WantsReadoutNotifications() to return true.
|
inlinevirtual |
Notification sent to signal the beginning of a new readout procedure.
view | Reference to a view from which new readout data notifications will be sent from now on. |
Definition at line 2140 of file ProcessInterface.h.
|
inlinevirtual |
Notification sent to signal the end of an active readout procedure.
view | Reference to the view from which new readout data notifications will no longer be sent. |
Definition at line 2175 of file ProcessInterface.h.
|
inlinevirtual |
Notification sent when new readout data are available.
view | Reference to a view from which new readout data is being sent. |
position | Readout position in image coordinates. |
R,G,B,A | New readout red, green, blue and alpha values, respectively, in the normalized real range [0,1]. |
Definition at line 2162 of file ProcessInterface.h.