VivoQuant
|
Object for accessing the UI's main window functions. More...
Public Slots | |
void | signalChangeThemeMode () |
Receives a signal from ThemeManager about a change in the Configuration UI to change the thread, or a signal from the theme monitoring thread that the system has automatically changed from Light to Dark mode. More... | |
void | loadDCM (string fileArg) |
Load DICOM via file list. More... | |
void | startDcmBrowser (string dir=string()) |
Load DICOM browser from command line, optionally at a specific directory. More... | |
void | importBrukerMR (string directory=string()) |
Imports a Bruker file via dialog box. More... | |
void | zoomIn () |
Zooms in the Display. | |
void | zoomOut () |
Zooms out of the Display. | |
void | normalSize () |
Sets the slice images to their original size. | |
void | toggleFullScreen () |
Switches the users viewer settings so that the entire computer screen displays VivoQuant. | |
void | showManual () |
Opens the VivoQuant Manual. | |
void | saveImage () |
Opens the 'Save Image' User Interface. | |
void | saveMovie () |
Opens the 'Save Movie' User Interface. | |
void | scaleImage (float factor) |
Scales the images in the Display to a desired size. More... | |
void | showMinMaxTool () |
Displays the 'Min/Max' Tool. | |
void | showWorklistTool () |
Displays the 'Worklist' Tool. | |
void | showHistogram () |
Displays the 'Histogram' tool User Interface. | |
void | bedRemoval () |
Runs the 'Bed Removal' module. | |
void | advancedBedRemoval () |
Opens the 'Bed Removal' tool User Interface. | |
void | matrixManipulationTool () |
Opens the 'Matrix Manipulation Tool' User Interface. More... | |
void | showHints () |
Opens the 'Hints' User Interface. | |
void | setupLayout2x2 () |
Sets the Display layout to be 2x2. | |
void | setupLayout1x4 () |
Sets the Display layout to be 1x4. | |
void | setupLayoutMIP () |
Sets the Display layout to display only the MIP view. | |
void | setupLayoutTrans () |
Sets the Display layout to display only the Transversal slice view. | |
void | setupLayoutSlice () |
Sets the Display to the 'Slices Only' layout. | |
void | toggleCrosshair () |
Toggles the Crosshair on/off. | |
void | setViewMode (int id) |
Sets the Viewmode to the desired mode. More... | |
void | showConfig () |
Opens the 'Configuration' User Interface. | |
void | showCalibCTGeometrical () |
Opens the 'NanoSPECT/CT Geometrical Calibration' User Interface. | |
void | showCalibMMP () |
Opens the 'MultiPlexing-MultiPinhole Calibration' User Interface. | |
void | showDICOMDump () |
Opens the DICOM header User Interface. | |
void | renameDICOM () |
Opens the 'Rename DICOM files' User Interface. | |
void | relabelDICOMStudies (bool quiet=false) |
Opens the 'Relabel DICOM Series' User Interface. More... | |
void | anonymizeDICOM (bool quiet=false) |
Opens the 'DICOM Anonymizer' User Interface. More... | |
void | closeAnonymizeDICOM () |
Closes the 'DICOM Anonymizer' User Interface. | |
void | closeDICOMRelabeler () |
Closes the 'DICOM Relabeler' User Interface. | |
void | imageToCapture () |
Opens the 'Open Image File' User Interface. | |
void | saveSession (string name=string(), bool quiet=false) |
Saves a VivoQuant session. More... | |
void | loadSession () |
Opens the 'Load Session' User Interface. | |
void | loadSession (string name, bool quiet=false) |
Opens a VivoQuant session. More... | |
void | exportSession () |
Opens the 'Export Session' User Interface to export a session to the current iPACS Repository in use. | |
void | toggleVCView () |
Toggles on/off the 'Visual Control' tool. | |
void | toggleMCView () |
Toggles on/off the 'MIP Control' tool. | |
void | toggleDMView () |
Toggles on/off the 'Data Manager' tool. | |
void | toggleMinMaxTool () |
Toggles on/off the 'Min/Max' tool. | |
void | toggleWorkflowWidget () |
Toggles on/off the 'Workflow' tool. | |
void | openFromIPACSDialog () |
Opens the 'Open from iPACS Dialog' User Interface | |
void | undo () |
"Un-does" the previous action completed in VivoQuant | |
void | redo () |
"Re-does" the previous action completed in VivoQuant | |
void | resetView () |
Resets the view transform for the current view. | |
void | showMModeSegmentationTool () |
Opens the 'M-Mode Segmentation Tool' User Interface. | |
void | openCorthicknessTool () |
Open Cortical Thickness Tool. | |
void | showStopRecordingButton () |
Shows the 'Stop Recording' button. | |
void | removeStopRecordingButton () |
Removes the 'Stop Recording' button. | |
void | updateRecTime (string stopRecTime) |
Updates the time on 'Stop Recording' button. | |
Public Member Functions | |
void | setViewMode (string vm, string op=string()) |
Sets the view mode and the operator. More... | |
virtual QList< QAbstractViewWidget * > | getViews () |
Get the currently active views. More... | |
Array< string > | saveImage (string filename, int objectType, int colBarType=0, int dcmRepType=0, int magnification=1, string cornerLabelTemplateName="") |
Saves an image of the specified plane. More... | |
Array< string > | saveMovie (string filename, int objectType, int colBarType=0, int dcmRepType=0, string cornerLabelTemplateName="") |
Saves a movie (.gif) of the desired planar or 3D view. More... | |
void | toggleMIP (bool toEnable) |
Turns the MIP viewer on or off. More... | |
void | installMouseRatAtlas () |
Installs the default rodent atlas libraries. | |
void | setMessagePattern (string pattern) |
Change the message handler output format. Format options More... | |
Protected Member Functions | |
void | openFromIPACSFile (string filename) |
Opens a file from a known iPACS repository. More... | |
void | openFromIPACS (string url, bool urlFromFile=false) |
Download an ipacs file from an iPACS URL. More... | |
void | openFromIPACSZipacs (string url) |
Download a zipacs file from a zipacs URL. | |
void | showDICOMAnonymizer (int idx=-1, DataManager *dm=nullptr, bool quiet=false) |
Download DICOM files from an openin URL. | |
Friends | |
class | ScriptMaster |
class | VisibilityManager |
Object for accessing the UI's main window functions.
This object can be used to perform toolbar related actions or to change the current view / operator.
See also ScriptMaster::mainWin() to obtain this object.
|
slot |
Opens the 'DICOM Anonymizer' User Interface.
quiet | Set to true to hide all popup dialog. The anonymization will automatically be applied to all dataset. |
|
virtual |
Get the currently active views.
|
slot |
Imports a Bruker file via dialog box.
directory | (Optional) The directory of the desired file on iPACS |
|
slot |
Load DICOM via file list.
fileArg | files to open |
|
slot |
Opens a VivoQuant session.
name | The name of the VivoQuant session being loaded |
|
slot |
Opens the 'Matrix Manipulation Tool' User Interface.
|
protected |
Download an ipacs file from an iPACS URL.
url | The web URL of the desired file on iPACS |
urlFromFile | Whether or not the url is from a .ipacs file |
|
protected |
Opens a file from a known iPACS repository.
filename | The file name and path of the desired file to be opened by the function (eg: home/ipacs/projects/filename.txt) |
|
slot |
Opens the 'Relabel DICOM Series' User Interface.
quiet | Set to true to hide all popup dialog. The relabeling will automatically be applied to all dataset. |
Array<string> saveImage | ( | string | filename, |
int | objectType, | ||
int | colBarType = 0 , |
||
int | dcmRepType = 0 , |
||
int | magnification = 1 , |
||
string | cornerLabelTemplateName = "" |
||
) |
Saves an image of the specified plane.
filename | The location and desired name of the image you are about to save (eg: C:/Desktop/filename.png) |
objectType | The plane in which you would like to capture an image (eg: 0 = MIP, 1 = Sag, 2 = Cor, 3 = Tra) |
colBarType | The color bar type (eg: 0 = none, 1 = no labels, 2 = simple labels, 3 = smar labels), Default is 0 |
dcmRepType | The Storage type (eg: 0 = Local image file, 1 = DICOM Secondary Capture), Default is 0 |
magnification | The Magnification factor for image, Default is 1 |
cornerLabelTemplateName | The name of an existing corner label template ("None" to save the image without any corner label), Default is an empty string |
Array<string> saveMovie | ( | string | filename, |
int | objectType, | ||
int | colBarType = 0 , |
||
int | dcmRepType = 0 , |
||
string | cornerLabelTemplateName = "" |
||
) |
Saves a movie (.gif) of the desired planar or 3D view.
filename | The location and desired name of the .gif file you are about to save (eg: C:/Desktop/filename.png |
objectType | The plane in which the movie will use for the fly-through (eg: 0 = MIP, 1 = Sag, 2 = Cor, 3 = Tra) |
colBarType | The color bar type (eg: 0 = none, 1 = no labels, 2 = simple labels, 3 = smar labels), Default is 0 |
dcmRepType | The Storage type (eg: 0 = Local image file, 1 = DICOM Secondary Capture), Default is 0 |
cornerLabelTemplateName | The name of an existing corner label template ("None" to save the image without any corner label), Default is an empty string |
|
slot |
Saves a VivoQuant session.
name | The desired name of the session being saved |
|
slot |
Scales the images in the Display to a desired size.
factor | The scaling factor, or the quantity in which the current image dimensions will be multiplied |
void setMessagePattern | ( | string | pattern | ) |
Change the message handler output format. Format options
pattern | The pattern that will be used by log messages |
|
slot |
Sets the Viewmode to the desired mode.
id | The corresponding desired viewmode (0 = Slice View, 1 = Tile View, 2 = Multi View, 3 = MPR View) |
void setViewMode | ( | string | vm, |
string | op = string() |
||
) |
Sets the view mode and the operator.
vm | The desired viewer mode (Slice View, Tile View, Multi View, MPR View) |
op | The operator within the view mode that is desired (Navigator, Reorientation/Registration, 3D ROI Tool, etc.) |
|
slot |
Receives a signal from ThemeManager about a change in the Configuration UI to change the thread, or a signal from the theme monitoring thread that the system has automatically changed from Light to Dark mode.
This should be the main triggering to update the rest of the UI to match the intended theme.
|
slot |
Load DICOM browser from command line, optionally at a specific directory.
dir | a directory to open to |
void toggleMIP | ( | bool | toEnable | ) |
Turns the MIP viewer on or off.
toEnable | A true/false value to instruct the function to turn the MIP on or off (True = on, False = off) |