|
VivoQuant 6.5.0
|
Object to access the MMode Segmentation Dialog.
See also VQ.getMModeSegmentationTool() to obtain this object.
Public Member Functions | |
| void | startSegmentation (bool quiet=false) |
| Starts placing seed points for a new segmentation, after clearing the current one. | |
| bool | clearSegmentation (bool quiet=false) |
| Clears the segmentation lines and measurements. | |
| bool | isSegmentationValid () |
| Returns true if the segmentation is complete (all 4 lines exist). | |
| void | saveSegmentation (string filename=string()) |
| Saves the segmentation lines and measurements to a CSV file. | |
| void | loadSegmentation (string filename=string()) |
| Loads segmentation lines (and measurements, if the file has them) saved by saveSegmentation(). | |
| bool | submitSegmentation (bool quiet=false) |
| Submits the segmentation lines (and the LV trace) of the selected image to iPACS. | |
| string | lastSubmitError () |
| Why the last submission to iPACS did not complete, or an empty string if it did. | |
| void | saveSnapshot (string filename=string()) |
| Saves the image shown in the tool, with its lines and measurements, as a picture. | |
| void | setAlignedMeasurements (bool aligned) |
| Turns the tool's "align measurements" option on or off, and updates the measurements. | |
| void | show () |
| Shows the tool. Any segmentation or edit in progress is cancelled first. | |
| void | hide () |
| Hides the tool. Any segmentation or edit in progress is cancelled first. | |
| void | click (unsigned int x, unsigned int y) |
| Clicks on the tool's image, as the user would with the left mouse button. | |
| bool clearSegmentation | ( | bool | quiet = false | ) |
Clears the segmentation lines and measurements.
| quiet | true to clear without asking the user first |
| void click | ( | unsigned int | x, |
| unsigned int | y ) |
Clicks on the tool's image, as the user would with the left mouse button.
| x | Horizontal position on the displayed image, in pixels |
| y | Vertical position on the displayed image, in pixels |
| void loadSegmentation | ( | string | filename = string() | ) |
Loads segmentation lines (and measurements, if the file has them) saved by saveSegmentation().
| filename | File to load. If empty, the user is asked for one. |
| void saveSegmentation | ( | string | filename = string() | ) |
Saves the segmentation lines and measurements to a CSV file.
| filename | Output file. If empty, the user is asked for one. |
| void saveSnapshot | ( | string | filename = string() | ) |
Saves the image shown in the tool, with its lines and measurements, as a picture.
| filename | Output image (.png, .jpeg or .bmp). If empty, the user is asked for one. |
| void setAlignedMeasurements | ( | bool | aligned | ) |
Turns the tool's "align measurements" option on or off, and updates the measurements.
| aligned | true to align the measurements |
| void startSegmentation | ( | bool | quiet = false | ) |
Starts placing seed points for a new segmentation, after clearing the current one.
| quiet | true to clear the current segmentation without asking the user first |
| bool submitSegmentation | ( | bool | quiet = false | ) |
Submits the segmentation lines (and the LV trace) of the selected image to iPACS.
| quiet | Set to true to avoid the confirmation message |