VivoQuant
|
Object to interact with the Splitting Operator when it is active. More...
Public Slots | |
void | deleteFiducial (int idx=-1, int childRow=-1, int childCol=-1) |
Delete the specified fiducial. More... | |
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... | |
void | saveToFile (string name) |
save to file More... | |
void | loadFromFile (string name) |
load from file 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, double rwidth, double rheight, string name=string()) |
Add a new 3D rectangle-shaped fiducial spanning an entire plane/axis 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, 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 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=Coronal, 1=Sagittal, 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 full FOV along the plane axis.
plane | is 0=Coronal, 1=Sagittal, 2=Transverse |
radius | is the radius of the cylinder |
name | is the displayed name fo the cylinder |
|
inline |
Add a grid of cylinder fiducials on a specified plane.
plane | is 0=Coronal, 1=Sagittal, 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 |
|
inline |
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=Coronal, 1=Sagittal, 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 spanning an entire plane/axis and initialized in a centered position within the image.
plane | is 0=Coronal, 1=Sagittal, 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 |
|
inline |
Add a grid of rectangular fiducials on a specified plane.
plane | is 0=Coronal, 1=Sagittal, 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 |
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 |
load from file
filename |
|
slot |
save 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 |