VivoQuant
|
Object to interact with the Splitting Operator when it is active. More...
Public Slots | |
void | addSelectedDataShapeDefault () |
Will attempt to add the currently selected shape with the current data defaults of that type. If of a group type the rows and columns will be the currently set values. | |
void | addDataShapeDefault (int selection, int rows, int cols) |
Will attempt to add the shape selected with the current data defaults of that type. More... | |
void | addSelectedUserShapeDefault () |
Will attempt to add the currently selected shape from the user defaults of that type. | |
void | addUserShapeDefault (int selection) |
Will attempt to add the shape selected from the user defaults of that type. More... | |
void | saveSelectedUserShapeDefault () |
Will attempt to save out the currently selected shape to the the user default of that type. | |
void | deleteFiducial (int idx=-1, int childRow=-1, int childCol=-1) |
Delete the specified fiducial. More... | |
void | resetShapeToSavedState () |
Will attemp to reset the current selected shape to the last user saved state for that type. | |
void | splitFiducials (Index idx=Index()) |
Split all delineated fiducials into separate data objects. Runs the main purpose of this operator. More... | |
void | splitFiducialsToFiles (Index idx=Index(), string filename=string()) |
Split all delineated fiducials into separate data objects and stores them to disk. More... | |
bool | saveShapes () |
Saves out the entire current shape list, a file save dialog will appear. | |
bool | loadShapes () |
Loads the saved shape list and replaces the current list, a file open dialog will appear. | |
bool | saveToFile (string name) |
Saves the current shape list to file. More... | |
bool | loadFromFile (string name) |
Loads from file a shape list and replaces the current list. More... | |
Public Member Functions | |
void | setFiducialName (string name, int row, int col=-1) |
Change the name of a fiducial. More... | |
void | setFiducialOrientation (string orient, int row, int col=-1) |
Change the orientation of a fiducial. More... | |
void | addRectangleFiducial (double topLeftX, double topLeftY, double topLeftZ, double bottomRightX, double bottomRightY, double bottomRightZ, string name=string()) |
Add a new 3D rectangle-shaped fiducial using RAS coordinates. More... | |
void | addRectangleFiducial (int plane, string name=string()) |
Add a new 3D rectangle-shaped fiducial with data correlated defaults and initialized in a centered position within the image. More... | |
void | addRectangleFiducial (int plane, double rwidth, double rheight, string name=string()) |
Add a new 3D rectangle-shaped fiducial with the dimensions and initialized in a centered position within the image. More... | |
void | addRectangleFiducial (int plane, double rwidth, double rheight, double rdepth, string name=string()) |
Add a new 3D rectangle-shaped fiducial initialized in a centered position within the image. More... | |
void | addCylinderFiducial (int plane, double centerX, double centerY, double centerZ, double radius, double height, string name=string()) |
Add a new 3D cylindrically-shaped fiducial with 3D center point, plane, radius, and height. More... | |
void | addCylinderFiducial (int plane, string name=string()) |
Add a new 3D cylindrically-shaped fiducial with data correlated defaults and initialized in a centered position within the image. More... | |
void | addCylinderFiducial (int plane, double radius, string name=string()) |
Add a new 3D cylinderically-shaped fiducial with height axis along plane, specified radius, and centered in the plane. The height of the cylinder is the 90% of the full FOV along the plane axis. More... | |
void | addRectangleGroup (int plane, int nrows, int ncols, string name=string(), Array< string > rectNames=Array< string >()) |
Add a grid of rectangular fiducials on a specified plane. More... | |
void | addCylinderGroup (int plane, int nrows, int ncols, double radius=-1, string name=string()) |
Add a grid of cylinder fiducials on a specified plane. More... | |
void | selectFiducial (int idx, int childIdx=-1) |
Set the currently selected fiducial in the graphical interface. More... | |
Object to interact with the Splitting Operator when it is active.
This object can be used to apply volume splitting operations on loaded images when the Splitting Operator is open.
See also ScriptMaster::currentOp() to obtain this object.
|
inline |
Add a new 3D cylindrically-shaped fiducial with 3D center point, plane, radius, and height.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
centerX | is the Left->Right coordinate of geometric center |
centerY | is the Posterior->Anterior coordinate of geometric center |
centerZ | is the Superior->Inferior coordinate of geometric center |
radius | is the radius of the cylinder |
height | is the height of the cylinder |
name | is the displayed name fo the cylinder |
|
inline |
Add a new 3D cylinderically-shaped fiducial with height axis along plane, specified radius, and centered in the plane. The height of the cylinder is the 90% of the full FOV along the plane axis.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
radius | is the radius of the cylinder |
name | is the displayed name fo the cylinder |
void addCylinderFiducial | ( | int | plane, |
string | name = string() |
||
) |
Add a new 3D cylindrically-shaped fiducial with data correlated defaults and initialized in a centered position within the image.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
name | is the name given to the new fiducial |
|
inline |
Add a grid of cylinder fiducials on a specified plane.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
nrows | is the number of rows in the grid of rectangles to be added |
ncols | is the number of columns in the grid of rectangles to be added |
radius | is the radius of the cylinder |
name | is the name given to the new fiducial |
|
slot |
Will attempt to add the shape selected with the current data defaults of that type.
selection | is the corresponding shape or shape group index |
rows | is the number of rows the group should have if of that type |
cols | is the number of columns the group should have if of that type |
void addRectangleFiducial | ( | double | topLeftX, |
double | topLeftY, | ||
double | topLeftZ, | ||
double | bottomRightX, | ||
double | bottomRightY, | ||
double | bottomRightZ, | ||
string | name = string() |
||
) |
Add a new 3D rectangle-shaped fiducial using RAS coordinates.
topLeftX | is the left-most coordinate bounding the rectangle |
topLeftY | is the posterior-most coordinate bounding the rectangle |
topLeftZ | is the superior-most coordinate bounding the rectangle |
bottomRightX | is the right-most coordinate bounding the rectangle |
bottomRightY | is the anterior-most coordinate bounding the rectangle |
bottomRightZ | is the inferior-most coordinate bounding the rectangle |
name | is name given to the new fiducial |
|
inline |
Add a new 3D rectangle-shaped fiducial initialized in a centered position within the image.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
rwidth | is the physical width (mm) of the fiducial |
rheight | is the physical height (mm) of the fiducial |
rdepth | is the physical depth (mm) of the fiducial |
name | is the name given to the new fiducial |
|
inline |
Add a new 3D rectangle-shaped fiducial with the dimensions and initialized in a centered position within the image.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
rwidth | is the physical width (mm) of the fiducial |
rheight | is the physical height (mm) of the fiducial |
name | is the name given to the new fiducial |
void addRectangleFiducial | ( | int | plane, |
string | name = string() |
||
) |
Add a new 3D rectangle-shaped fiducial with data correlated defaults and initialized in a centered position within the image.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
name | is the name given to the new fiducial |
|
inline |
Add a grid of rectangular fiducials on a specified plane.
plane | is 0=Sagittal, 1=Coronal, 2=Transverse |
nrows | is the number of rows in the grid of rectangles to be added |
ncols | is the number of columns in the grid of rectangles to be added |
name | is the name given to the new fiducial |
|
slot |
Will attempt to add the shape selected from the user defaults of that type.
selection | is the corresponding shape or shape group index |
|
slot |
Delete the specified fiducial.
idx | is the root-level index in the fiducial tree |
childRow | if the fiducial to be deleted is the part of a group, this is the row within that group |
childCol | if the fiducial to be deleted is the part of a group, this is the column within that group |
|
slot |
Loads from file a shape list and replaces the current list.
filename |
|
slot |
Saves the current shape list to file.
filename |
void selectFiducial | ( | int | idx, |
int | childIdx = -1 |
||
) |
Set the currently selected fiducial in the graphical interface.
idx | is the root-level index in the fiducial tree |
childIdx | if the fiducial to be selected is the part of a group, this is the index within that group |
void setFiducialName | ( | string | name, |
int | row, | ||
int | col = -1 |
||
) |
Change the name of a fiducial.
name | The new name of the fiducial |
row | The fiducial's row index |
row | The fiducial's col index |
void setFiducialOrientation | ( | string | orient, |
int | row, | ||
int | col = -1 |
||
) |
Change the orientation of a fiducial.
orient | The orientation of the fiducial |
row | The fiducial's row index |
row | The fiducial's col index |
|
slot |
Split all delineated fiducials into separate data objects. Runs the main purpose of this operator.
idx | is DataManager index of data set to split. If a valid index is not provided, the user will be prompted for a selection |
|
slot |
Split all delineated fiducials into separate data objects and stores them to disk.
idx | is DataManager index of data set to split. If a valid index is not provided, the user will be prompted for a selection |