|
VivoQuant 6.4.0
|
Object for managing and querying all image data and meta-information in VivoQuant.
This object can be used to query meta-information from an image, including the DICOM header. It can also be used to open/append new images into VQ and remove/unload images that are currently loaded.
Image data are indexed starting at zero. See also VQ.dataManager() to obtain this object.
Public Member Functions | |
| bool | openDat (int type, Array< string > fileNames, bool forcePlanar=false, bool embedSliceDefault=false) |
| Load a new image into VivoQuant from a list of filenames. | |
| bool | openDat (int type, ImageTreeNode *node, bool embedSliceDefault=false) |
| Loads a single image into the DataManager, after it has already been processed into an ImageTreeNode from elsewhere. | |
| bool | openDat (int startType, QList< ImageTreeNode * > &list, bool embedSliceDefault=false) |
| Loads several images into the DataManager, after they have already been processed into ImageTreeNodes from elsewhere. | |
| int | numROIs () |
| Get number of regions of interest currently specified, including background Always greater than 1. | |
| int | getDimX (Index idx) |
| Get the number of sagittal slices ("X" dimension) in an image. | |
| int | getDimX (int i) |
| Get the number of sagittal slices ("X" dimension) in an image. | |
| int | getDimY (Index idx) |
| Get the number of coronal slices ("Y" dimension) in an image. | |
| int | getDimY (int i) |
| Get the number of coronal slices ("Y" dimension) in an image. | |
| int | getDimZ (Index idx) |
| Get the number of transverse/axial slices ("Z" dimension) in an image. | |
| int | getDimZ (int i) |
| Get the number of transverse/axial slices ("Z" dimension) in an image. | |
| int | getDim (int id, Index idx) |
| Get number of slices in an image along specified dimension. | |
| int | getDim (int id, int i) |
| Get number of slices in an image along specified dimension. | |
| int | getSize (Index idx) |
| Get total number of voxels in an image. | |
| int | getSize (int i) |
| Get total number of voxels in an image. | |
| float | getValue (int x, int y, int z, Index idx) |
| Return the raw pixel value at provided voxel/pixel location. | |
| float | getValue (int x, int y, int z, int i) |
| Return the raw pixel value at provided voxel/pixel location. | |
| float | updateAndGetMin (Index idx) |
| Get minimum raw voxel/pixel value of an image. | |
| float | updateAndGetMin (int i) |
| Get minimum raw voxel/pixel value of an image. | |
| float | updateAndGetMax (Index idx) |
| Get maximum raw voxel/pixel value of an image. | |
| float | updateAndGetMax (int i) |
| Get maximum raw voxel/pixel value of an image. | |
| void | setDynamicActive (Index idx, int activeId) |
| Set the activated index for dynamic data. | |
| int | getDynamicActive (Index idx) |
| Get the activated child index for dynamic data. | |
| bool | copyAsNewSeries (Index idx) |
| Copy a given data set timepoint from a dynamic collapsed data set. | |
| float | getMinCached (Index idx) |
| Get the cached min intensity value of an image. | |
| float | getMinCached (int i) |
| Get the cached min intensity value of an image. | |
| float | getMaxCached (Index idx) |
| Get the cached max intensity value of an image. | |
| float | getMaxCached (int i) |
| Get the cached max intensity value of an image. | |
| void | setMinMaxCache (Index idx, float min, float max) |
| Set the cached min/max intensity value of an image. | |
| void | setMinMaxCache (int i, float min, float max) |
| Set the cached min/max intensity value of an image. | |
| float | getLevelCached (Index idx) |
| Get the cached window level itensity value of an image. | |
| float | getLevelCached (int i) |
| Get the cached window level itensity value of an image. | |
| float | getWidthCached (Index idx) |
| Get the cached window width itensity value of an image. | |
| float | getWidthCached (int i) |
| Get the cached window width itensity value of an image. | |
| void | setLevelWidthCache (Index idx, float level, float width) |
| Set the cached window level/width intensity value of an image. | |
| void | setLevelWidthCache (int i, float level, float width) |
| Set the cached window level/width intensity value of an image. | |
| bool | isPlanar (Index idx) |
| Check if a given data set is planar or not. | |
| bool | isPlanar (int i) |
| Check if a given data set is planar or not. | |
| string | getDataTypeString (Index idx) |
| Get a string containing the data type of a given data set. | |
| string | getDataTypeString (int i) |
| Get a string containing the data type of a given data set. | |
| float | voxelSizeDim (int dim, Index idx) |
| Get the voxel size of a given data set for a given dimension. | |
| float | voxelSizeDim (int dim, int i) |
| Get the voxel size of a given data set for a given dimension. | |
| double | voxelSizeX (Index idx) |
| Get the X voxel size of a given data set. | |
| double | voxelSizeX (int i) |
| Get the X voxel size of a given data set. | |
| double | voxelSizeY (Index idx) |
| Get the Y voxel size of a given data set. | |
| double | voxelSizeY (int i) |
| Get the Y voxel size of a given data set. | |
| double | voxelSizeXY (Index idx) |
| Get the XY voxel size of a given data set. | |
| double | voxelSizeXY (int i) |
| Get the XY voxel size of a given data set. | |
| double | voxelSizeZ (Index idx) |
| Get the Z voxel size of a given data set. | |
| double | voxelSizeZ (int i) |
| Get the Z voxel size of a given data set. | |
| string | getDesc (Index idx, string key, string privateCreator=string()) |
| Get a DICOM tag value from a given data set. | |
| string | getDesc (int i, string key, string privateCreator=string(), bool useLeafIndexing=true) |
| Get a DICOM tag value from a given data set. | |
| void | setDesc (Index idx, string key, string val, string privateCreator=string()) |
| Set a DICOM tag value to a given data set. | |
| void | setDesc (int i, string key, string val, string privateCreator=string(), bool useLeafIndexing=true) |
| Set a DICOM tag value to a given data set. | |
| double | getSUL (Index idx) |
| Get the SUL value of a given data set. | |
| double | getSUL (int i=0) |
| Get the SUL value of a given data set. | |
| string | getDcmString (Index idx, string key, string privateCreator=string()) |
| Get a DICOM tag string value from a given data set. | |
| string | getDcmString (int i, string key, string privateCreator=string()) |
| Get a DICOM tag string value from a given data set. | |
| string | getSOPUID (Index idx) |
| Get the SOP UID of a given data set. | |
| string | getSOPUID (int i) |
| Get the SOP UID of a given data set. | |
| string | getSeriesUID (Index idx) |
| Get the Series ID of a given data set. | |
| string | getSeriesUID (int i) |
| Get the Series ID of a given data set. | |
| string | getStudyUID (Index idx) |
| Get the Study ID of a given data set. | |
| string | getStudyUID (int i) |
| Get the Study ID of a given data set. | |
| void | setUniqueStudyID (Index idx) |
| Set a unique Study ID to a given data set. | |
| void | setUniqueStudyID (int i) |
| Set a unique Study ID to a given data set. | |
| void | setUniqueStudyID (Index idx, string id) |
| Set the given unique Study ID to a given data set. | |
| void | setUniqueStudyID (int i, string id) |
| Set the given unique Study ID to a given data set. | |
| Index | getParentImageIndex (DcmDataset *childImageHeader) |
| Finds the index in the DataManager for a possible parent image to a dependent DICOM, for example the original image an RTSTRUCT would have been drawn on. We can match on either of the following: | |
| string | getDataDetailsString (Index idx) |
| Return a string with image details (original vs loaded for current voxel sizes, dimensions, and direction cosines matrix.). | |
| string | getDataDetailsString (int i=0) |
| Return a string with image details (original vs loaded for current voxel sizes, dimensions, and direction cosines matrix.). | |
| string | getHeaderSummary (Index idx) |
| Return a string with the header summary ( modality, patient name, and series description). | |
| string | getHeaderSummary (int i=0) |
| Return a string with the header summary ( modality, patient name, and series description). | |
| int | size () |
| Return number of data in first level. | |
| int | count (Index parent=Index()) |
| Return number of dynamic data set contained at given index. | |
| int | maxVis () |
| Return the maximum number size that can be visualized. | |
| bool | hasValid (Index idx) |
| Check if the Data Manager holds valid data at the given index. | |
| void | setPaletteParameters (Index idx, float param1, float param2) |
| Set the palette values for the given data in Data Manager This function independent of the palette type. | |
| void | setPaletteFromTo (Index idx, float from, float to) |
| Set the palette "from" and "to" value for the given data in Data Manager. | |
| void | setPaletteFrom (Index idx, float from) |
| Set the palette "from" value for the given data in Data Manager. | |
| void | setPaletteTo (Index idx, float to) |
| Set the palette "to" value for the given data in Data Manager. | |
| void | setPaletteLevel (Index idx, float level) |
| Set the palette "level" value for the given data in Data Manager. | |
| void | setPaletteWidth (Index idx, float width) |
| Set the palette "width" value for the given data in Data Manager. | |
| void | setPalette (Index idx, string name) |
| Set the palette for the given data in Data Manager. | |
| void | invertPalette (Index idx) |
| Invert the palette for the given data in Data Manager. | |
| void | saveDataPaletteParameter (string name) |
| Save palette parameter to disk. | |
| void | loadDataPaletteParameter (string name) |
| load palette parameter from file | |
| float | getPaletteFrom (Index idx) |
| Get the palette "from" value for the given data in Data Manager. | |
| float | getPaletteTo (Index idx) |
| Get the palette "to" value for the given data in Data Manager. | |
| float | getPaletteLevel (Index idx) |
| Get the palette window "level" value for the given data in Data Manager. | |
| float | getPaletteWidth (Index idx) |
| Get the palette window "width" value for the given data in Data Manager. | |
| string | getPaletteName (Index idx) |
| Get the palette name for the given data in Data Manager. | |
| bool | isPaletteInverted (Index idx) |
| Get the inverted status of the palette for the given data in Data Manager. | |
| void | unloadData (Index idx, int num=1) |
| Unloads data. | |
| void | unloadData (Array< Index > indices) |
| Unloads a list of data. | |
| void | swapData (Index a, Index b) |
| Swap the position of two data set in the Data Manager. | |
| void | moveData (Array< Index > list, int dst) |
| Move data set in the Data Manager. | |
| bool | mergeData (Array< Index > list, bool quiet=true) |
| Create a collapsed data set with the selected data. | |
| void | removeTag (Index idx, string key, string privateCreator=string()) |
| Remove a DICOM tag or sequence item from a given data set. | |
| void | removeTag (int i, string key, string privateCreator=string(), bool useLeafIndexing=true) |
| Remove a DICOM tag or sequence item from a given data set. | |
| void | stackData (Array< int > &list, bool quiet=true) |
| Create and append an image using multiple single-slice images and unload the images it was created from. | |
| void | stackDataMultiple (QList< Variant > &list, bool quiet=true) |
| Create and append images using multiple single-slice images and unload the images they were created from. | |
| unsigned int | getTotalKiloBytesLoaded () |
| Get the entire size of the data loaded in the data manager in kilobytes. | |
| void | notifyDataChange (int i) |
| Emits data change notifications for the given index. | |
| void | notifyOptEnabled (int i, bool b) |
| Notifies that an option has been enabled or disabled. | |
Static Public Member Functions | |
| static QList< DcmTag > & | getCustomRestrictedTagList () |
| Get the custom restricted tags list, if defined on this system. | |
| static QVector< QVector< double > > | getReferenceIOP () |
| Get the reference ImageOrientationPatient (IOP). This will be set by the first image loaded by VQ. | |
| static string | getReferenceIOPStr () |
| Utility to get the reference ImageOrientationPatient (IOP) formatted for use in DICOM headers. | |
| static vivoquant::dataImgOrientation | getViewOrientation () |
| Get the view orientation setting. This is set on startup and should not be changed during the VivoQuant session. | |
| static void | setViewOrientation (vivoquant::dataImgOrientation value) |
| Set the view orientation for this session. Typically this value should be set on startup from local settings instead. | |
Protected Member Functions | |
| void | prepImagesForInternalUse (ImageTreeNode *node) |
| Carry out transforms on an image node as necessary to ensure and image matches the voxel sizes, dimensions, and orientations. This may add image derivations to the DICOM header. | |
| void | determineLoadingParameters (ImageTreeNode *node, double &finalVoxelSizeXY, double &finalVoxelSizeZ, std::array< unsigned, 3 > &finalDims, bool &resampleToReference) |
| Determine the voxel sizes and dimensions needed to match an image node to the reference image. Depending on user settings, it may be necessary to upsample the reference image to match a larger appended image. | |
Protected Attributes | |
| QVector< TPointAndMode > | m_paths |
| list of annotation graphs | |
| bool copyAsNewSeries | ( | Index | idx | ) |
Copy a given data set timepoint from a dynamic collapsed data set.
| idx | Index of data (see VQ.index()) |
| int count | ( | Index | parent = Index() | ) |
Return number of dynamic data set contained at given index.
| parent | Index of data (see VQ.index()) |
|
protected |
Determine the voxel sizes and dimensions needed to match an image node to the reference image. Depending on user settings, it may be necessary to upsample the reference image to match a larger appended image.
| node | the image node | |
| [out] | finalVoxelSizeXY | voxel sizes in the transverse directions |
| [out] | finalVoxelSizeZ | voxel sizes along the slice axis |
| [out] | finalDims | the number of voxels along the new image dimensions |
| [out] | resampleToReference |
|
static |
Get the custom restricted tags list, if defined on this system.
| string getDataDetailsString | ( | Index | idx | ) |
Return a string with image details (original vs loaded for current voxel sizes, dimensions, and direction cosines matrix.).
| idx | Index of data (see VQ.index()) |
|
inline |
Return a string with image details (original vs loaded for current voxel sizes, dimensions, and direction cosines matrix.).
| i | Index of the leaf in the data manager |
| string getDataTypeString | ( | Index | idx | ) |
Get a string containing the data type of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get a string containing the data type of a given data set.
| i | Index of the leaf in the data manager |
| string getDcmString | ( | Index | idx, |
| string | key, | ||
| string | privateCreator = string() ) |
Get a DICOM tag string value from a given data set.
| idx | Index of data (see VQ.index()) |
| key | The matching dicom string |
| privateCreator | The private creator string for private tag context |
|
inline |
Get a DICOM tag string value from a given data set.
| i | Index of the leaf in the data manager |
| key | The matching dicom string |
| privateCreator | The private creator string for private tag context |
| string getDesc | ( | Index | idx, |
| string | key, | ||
| string | privateCreator = string() ) |
Get a DICOM tag value from a given data set.
| idx | Index of data (see VQ.index()) |
| key | The tag/key |
| privateCreator | The private creator string for private tag context |
|
inline |
Get a DICOM tag value from a given data set.
| i | Index of the leaf in the data manager |
| key | The tag/key |
| privateCreator | The private creator string for private tag context |
| useLeafIndexing | turn off to have i able to refer to the parent of dynamic children |
| int getDim | ( | int | id, |
| Index | idx ) |
Get number of slices in an image along specified dimension.
| id | Plane/dimension to query: 0=Sagittal, 1=Coronal, 2=Transverse/Axial |
| idx | Index of data (see VQ.index()) |
|
inline |
Get number of slices in an image along specified dimension.
| id | Plane/dimension to query: 0=Sagittal, 1=Coronal, 2=Transverse/Axial |
| i | Index of the leaf in the data manager |
| int getDimX | ( | Index | idx | ) |
Get the number of sagittal slices ("X" dimension) in an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the number of sagittal slices ("X" dimension) in an image.
| i | Index of the leaf in the data manager |
| int getDimY | ( | Index | idx | ) |
Get the number of coronal slices ("Y" dimension) in an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the number of coronal slices ("Y" dimension) in an image.
| i | Index of the leaf in the data manager |
| int getDimZ | ( | Index | idx | ) |
Get the number of transverse/axial slices ("Z" dimension) in an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the number of transverse/axial slices ("Z" dimension) in an image.
| i | Index of the leaf in the data manager |
| int getDynamicActive | ( | Index | idx | ) |
Get the activated child index for dynamic data.
| idx | Index of data (see VQ.index()) |
| string getHeaderSummary | ( | Index | idx | ) |
Return a string with the header summary ( modality, patient name, and series description).
| idx | Index of data (see VQ.index()) |
|
inline |
Return a string with the header summary ( modality, patient name, and series description).
| i | Index of the leaf in the data manager |
| float getLevelCached | ( | Index | idx | ) |
Get the cached window level itensity value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the cached window level itensity value of an image.
| i | Index of the leaf in the data manager |
| float getMaxCached | ( | Index | idx | ) |
Get the cached max intensity value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the cached max intensity value of an image.
| i | Index of the leaf in the data manager |
| float getMinCached | ( | Index | idx | ) |
Get the cached min intensity value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the cached min intensity value of an image.
| i | Index of the leaf in the data manager |
| float getPaletteFrom | ( | Index | idx | ) |
Get the palette "from" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| float getPaletteLevel | ( | Index | idx | ) |
Get the palette window "level" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| string getPaletteName | ( | Index | idx | ) |
Get the palette name for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| float getPaletteTo | ( | Index | idx | ) |
Get the palette "to" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| float getPaletteWidth | ( | Index | idx | ) |
Get the palette window "width" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| Index getParentImageIndex | ( | DcmDataset * | childImageHeader | ) |
Finds the index in the DataManager for a possible parent image to a dependent DICOM, for example the original image an RTSTRUCT would have been drawn on. We can match on either of the following:
| childImageHeader | the DICOM header for the child image |
|
static |
Get the reference ImageOrientationPatient (IOP). This will be set by the first image loaded by VQ.
The IOP are direction cosines that orient the image in space, with a right-hand-rule defined coordinate system.
|
static |
Utility to get the reference ImageOrientationPatient (IOP) formatted for use in DICOM headers.
| string getSeriesUID | ( | Index | idx | ) |
Get the Series ID of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the Series ID of a given data set.
| i | Index of the leaf in the data manager |
| int getSize | ( | Index | idx | ) |
Get total number of voxels in an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get total number of voxels in an image.
| i | Index of the leaf in the data manager |
| string getSOPUID | ( | Index | idx | ) |
Get the SOP UID of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the SOP UID of a given data set.
| i | Index of the leaf in the data manager |
| string getStudyUID | ( | Index | idx | ) |
Get the Study ID of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the Study ID of a given data set.
| i | Index of the leaf in the data manager |
| double getSUL | ( | Index | idx | ) |
Get the SUL value of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the SUL value of a given data set.
| i | Index of the leaf in the data manager |
| unsigned int getTotalKiloBytesLoaded | ( | ) |
Get the entire size of the data loaded in the data manager in kilobytes.
| float getValue | ( | int | x, |
| int | y, | ||
| int | z, | ||
| Index | idx ) |
Return the raw pixel value at provided voxel/pixel location.
| x | Sagittal slice index |
| y | Coronal slice index |
| z | Transverse/Axial slice index |
| idx | Index of data (see VQ.index()) |
|
inline |
Return the raw pixel value at provided voxel/pixel location.
| x | Sagittal slice index |
| y | Coronal slice index |
| z | Transverse/Axial slice index |
| i | Index of the leaf in the data manager |
|
static |
Get the view orientation setting. This is set on startup and should not be changed during the VivoQuant session.
| float getWidthCached | ( | Index | idx | ) |
Get the cached window width itensity value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the cached window width itensity value of an image.
| i | Index of the leaf in the data manager |
|
inline |
Check if the Data Manager holds valid data at the given index.
| idx | Index of data (see VQ.index()) |
| void invertPalette | ( | Index | idx | ) |
Invert the palette for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| bool isPaletteInverted | ( | Index | idx | ) |
Get the inverted status of the palette for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| bool isPlanar | ( | Index | idx | ) |
Check if a given data set is planar or not.
| idx | Index of data (see VQ.index()) |
|
inline |
Check if a given data set is planar or not.
| i | Index of the leaf in the data manager |
| void loadDataPaletteParameter | ( | string | name | ) |
load palette parameter from file
| name | Path and file name of the parameter file (*.txt) |
| bool mergeData | ( | Array< Index > | list, |
| bool | quiet = true ) |
Create a collapsed data set with the selected data.
| list | List of data index to be grouped (see VQ.index()) |
| quiet | If true (default), no message boxes are shown |
| void moveData | ( | Array< Index > | list, |
| int | dst ) |
Move data set in the Data Manager.
| list | List of data indices to move (see VQ.index()) |
| dst | Position of the parent destination to move them to |
| void notifyDataChange | ( | int | i | ) |
Emits data change notifications for the given index.
If the index is within the visible range, emits updateDataPointers() to refresh dependent state. Always emits dataChanged(i) to notify observers of the change.
| i | Index of the updated data element. |
| void notifyOptEnabled | ( | int | i, |
| bool | b ) |
Notifies that an option has been enabled or disabled.
Emits the optEnabled(int, bool) signal to inform listeners that the option at index i has changed its enabled state to b.
| i | The index of the option. |
| b | True if the option is enabled, false if disabled. |
| int numROIs | ( | ) |
Get number of regions of interest currently specified, including background Always greater than 1.
| bool openDat | ( | int | startType, |
| QList< ImageTreeNode * > & | list, | ||
| bool | embedSliceDefault = false ) |
Loads several images into the DataManager, after they have already been processed into ImageTreeNodes from elsewhere.
| startType | |
| list | |
| embedSliceDefault |
| bool openDat | ( | int | type, |
| Array< string > | fileNames, | ||
| bool | forcePlanar = false, | ||
| bool | embedSliceDefault = false ) |
Load a new image into VivoQuant from a list of filenames.
| type | Position where image will be loaded into the list. 0=Reference, 1=Input 1, etc. |
| fileNames | Array of filenames containing full paths or path relative to current working directory where VQ was started from |
| forcePlanar | (Optional) Indicates whether image should be forced into "Planar" mode upon loading |
| embedSliceDefault | (Optional) Indicates whether default values for embed slice (embedded in the center of the reference data) should be used or a dialog prompt will appear to define it. Only applies for plannar data. |
| bool openDat | ( | int | type, |
| ImageTreeNode * | node, | ||
| bool | embedSliceDefault = false ) |
Loads a single image into the DataManager, after it has already been processed into an ImageTreeNode from elsewhere.
| type | |
| node | |
| embedSliceDefault |
|
protected |
Carry out transforms on an image node as necessary to ensure and image matches the voxel sizes, dimensions, and orientations. This may add image derivations to the DICOM header.
| node | the image node |
| void removeTag | ( | Index | idx, |
| string | key, | ||
| string | privateCreator = string() ) |
Remove a DICOM tag or sequence item from a given data set.
| idx | Index of data (see VQ.index()) |
| key | The tag/key |
| privateCreator | If the tag is private to be sure you get a match another vendor you can add the private creator string |
|
inline |
Remove a DICOM tag or sequence item from a given data set.
| i | Index of the leaf in the data manager |
| key | The tag/key |
| privateCreator | If the tag is private to be sure you get a match another vendor you can add the private creator string |
| useLeafIndexing | turn off to have i able to refer to the parent of dynamic children |
| void saveDataPaletteParameter | ( | string | name | ) |
Save palette parameter to disk.
| name | Path and file name of the parameter file (*.txt) |
| void setDesc | ( | Index | idx, |
| string | key, | ||
| string | val, | ||
| string | privateCreator = string() ) |
Set a DICOM tag value to a given data set.
| idx | Index of data (see VQ.index()) |
| key | The tag/key |
| val | The value |
| privateCreator | The private creator string for private tag context |
|
inline |
Set a DICOM tag value to a given data set.
| i | Index of the leaf in the data manager |
| key | The tag/key |
| val | The value |
| privateCreator | The private creator string for private tag context |
| useLeafIndexing | turn off to have i able to refer to the parent of dynamic children |
| void setDynamicActive | ( | Index | idx, |
| int | activeId ) |
Set the activated index for dynamic data.
| idx | Index of data (see VQ.index()) |
| activeId | indicate the number of child to be displayed. |
| void setLevelWidthCache | ( | Index | idx, |
| float | level, | ||
| float | width ) |
Set the cached window level/width intensity value of an image.
| idx | Index of data (see VQ.index()) |
| level | Window level or center |
| width | Window width |
|
inline |
Set the cached window level/width intensity value of an image.
| i | Index of the leaf in the data manager |
| level | Window level or center |
| width | Window width |
| void setMinMaxCache | ( | Index | idx, |
| float | min, | ||
| float | max ) |
Set the cached min/max intensity value of an image.
| idx | Index of data (see VQ.index()) |
| min | Minimum intensity value |
| max | Maximum intensity value |
|
inline |
Set the cached min/max intensity value of an image.
| i | Index of the leaf in the data manager |
| min | Minimum intensity value |
| max | Maximum intensity value |
| void setPalette | ( | Index | idx, |
| string | name ) |
Set the palette for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| name | Name of the palette |
| void setPaletteFrom | ( | Index | idx, |
| float | from ) |
Set the palette "from" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| from | From parameter value from 0-1.0 |
| void setPaletteFromTo | ( | Index | idx, |
| float | from, | ||
| float | to ) |
Set the palette "from" and "to" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| from | From parameter value from 0-1.0 |
| to | for right parameter from 0-1.0 |
| void setPaletteLevel | ( | Index | idx, |
| float | level ) |
Set the palette "level" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| level | Level parameter value from 0-1.0 |
| void setPaletteParameters | ( | Index | idx, |
| float | param1, | ||
| float | param2 ) |
Set the palette values for the given data in Data Manager This function independent of the palette type.
| idx | Index of data (see VQ.index()) |
| param1 | First parameter value from 0-1.0 |
| param2 | Second parameter value from 0-1.0 |
| void setPaletteTo | ( | Index | idx, |
| float | to ) |
Set the palette "to" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| to | To parameter value from 0-1.0 |
| void setPaletteWidth | ( | Index | idx, |
| float | width ) |
Set the palette "width" value for the given data in Data Manager.
| idx | Index of data (see VQ.index()) |
| width | Width parameter value from 0-1.0 |
| void setUniqueStudyID | ( | Index | idx | ) |
Set a unique Study ID to a given data set.
| idx | Index of data (see VQ.index()) |
| void setUniqueStudyID | ( | Index | idx, |
| string | id ) |
Set the given unique Study ID to a given data set.
| idx | Index of data (see VQ.index()) |
| id | The Study ID to set |
|
inline |
Set a unique Study ID to a given data set.
| i | Index of the leaf in the data manager |
|
inline |
Set the given unique Study ID to a given data set.
| i | Index of the leaf in the data manager |
| id | The Study ID to set |
|
static |
Set the view orientation for this session. Typically this value should be set on startup from local settings instead.
| value | the view orientation enum value to use. If 'Unset' is passed, it will be ignored. |
| void stackData | ( | Array< int > & | list, |
| bool | quiet = true ) |
Create and append an image using multiple single-slice images and unload the images it was created from.
| list | The indices of the data to be stacked |
| quiet | (optional) If true, warnings are displayed in a UI popup, if false they are printed to the debug output. |
| void stackDataMultiple | ( | QList< Variant > & | list, |
| bool | quiet = true ) |
Create and append images using multiple single-slice images and unload the images they were created from.
| list | A list of lists, where each list contains indices of data that will be stacked into one image |
| quiet | (optional) If true, warnings are displayed in a UI popup, if false they are printed to the debug output. |
| void swapData | ( | Index | a, |
| Index | b ) |
Swap the position of two data set in the Data Manager.
| a | Frist data index to swap (see VQ.index()) |
| b | Second data index to swap (see VQ.index()) |
| void unloadData | ( | Array< Index > | indices | ) |
Unloads a list of data.
| indices | A list containing the indices to unload (see VQ.index()) |
| void unloadData | ( | Index | idx, |
| int | num = 1 ) |
Unloads data.
| idx | Index at which to start unloading (see VQ.index()) |
| num | Number of consecutive datasets to unload at the same level, starting with and including idx |
| float updateAndGetMax | ( | Index | idx | ) |
Get maximum raw voxel/pixel value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get maximum raw voxel/pixel value of an image.
| i | Index of the leaf in the data manager |
| float updateAndGetMin | ( | Index | idx | ) |
Get minimum raw voxel/pixel value of an image.
| idx | Index of data (see VQ.index()) |
|
inline |
Get minimum raw voxel/pixel value of an image.
| i | Index of the leaf in the data manager |
| float voxelSizeDim | ( | int | dim, |
| Index | idx ) |
Get the voxel size of a given data set for a given dimension.
| dim | the Dimension (x:0, y:1, z:2) |
| idx | Index of data (see VQ.index()) |
|
inline |
Get the voxel size of a given data set for a given dimension.
| dim | the Dimension (x:0, y:1, z:2) |
| i | Index of the leaf in the data manager |
| double voxelSizeX | ( | Index | idx | ) |
Get the X voxel size of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the X voxel size of a given data set.
| i | Index of the leaf in the data manager |
| double voxelSizeXY | ( | Index | idx | ) |
Get the XY voxel size of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the XY voxel size of a given data set.
| i | Index of the leaf in the data manager |
| double voxelSizeY | ( | Index | idx | ) |
Get the Y voxel size of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the Y voxel size of a given data set.
| i | Index of the leaf in the data manager |
| double voxelSizeZ | ( | Index | idx | ) |
Get the Z voxel size of a given data set.
| idx | Index of data (see VQ.index()) |
|
inline |
Get the Z voxel size of a given data set.
| i | Index of the leaf in the data manager |