CustusX
15.3.4-beta
An IGT application
|
Use transfer function to preview a threshold in the selected volume. Used by widgets: segmentation and surface generation. More...
#include <cxThresholdPreview.h>
Public Member Functions | |
ThresholdPreview () | |
void | setPreview (ImagePtr image, double lower) |
void | setPreview (ImagePtr image, const Eigen::Vector2d &threshold) |
void | removePreview () |
Use transfer function to preview a threshold in the selected volume. Used by widgets: segmentation and surface generation.
Definition at line 55 of file cxThresholdPreview.h.
cx::ThresholdPreview::ThresholdPreview | ( | ) |
Definition at line 49 of file cxThresholdPreview.cpp.
void cx::ThresholdPreview::removePreview | ( | ) |
Definition at line 128 of file cxThresholdPreview.cpp.
void cx::ThresholdPreview::setPreview | ( | ImagePtr | image, |
double | lower | ||
) |
Definition at line 71 of file cxThresholdPreview.cpp.
void cx::ThresholdPreview::setPreview | ( | ImagePtr | image, |
const Eigen::Vector2d & | threshold | ||
) |
Apply the preview transfer function
A timer is added that will the remove the preview when the calling widget is no longer visible.
image | The image to modify the transfer function of |
setValue | The threshold value to be used |
Definition at line 87 of file cxThresholdPreview.cpp.