Fovia C++ In-Process API
|
Public Member Functions | |
virtual signed int | AskInterface (const BGUID *piid, IRoot **ppr)=0 |
virtual signed int | DecRef ()=0 |
virtual signed int | IncRef ()=0 |
virtual signed int | IsLibraryLoaded (signed int *loadStatus)=0 |
virtual signed int | LoadDICOMFromFileList (ILiteDICOMFile **files, signed int numFiles, const char **PathName)=0 |
virtual signed int | LoadSeriesFromDICOMFiles (IVolumeData *vd, ILiteDICOMFile **files, signed int numFiles, const char *seriesUID)=0 |
virtual signed int | ReadFromDICOMDirectory (IVolumeData *vd, const char *PathName)=0 |
virtual signed int | ReadFromDICOMMemMap (IVolumeData *vd, const char *PathName)=0 |
virtual signed int | ReadFromRawFile (IVolumeData *vd, const char *PathName, const signed int Dimensions[3], const signed int DataType, const signed int SliceOffset, const signed int FileOffset)=0 |
virtual signed int | ReadFromRawFileEx (IVolumeData *vd, RAW_DATASET_DESCRIPTION *rawDatasetDescription)=0 |
virtual signed int | ReadFromSEGYFile (IVolumeData *vd, const char *FileName)=0 |
virtual signed int | SaveToRawFile (IVolumeData *vd, const char *PathName, const signed int SliceOffset, const signed int SliceNum)=0 |
virtual signed int | ScanDICOMDirectory (ILiteDICOMFile ***files, signed int *numFiles, const char *PathName)=0 |
virtual signed int | SetTaskProgress (struct ITaskProgress *piTaskProgress, signed long long taskID)=0 |
![]() | |
template<class T > | |
signed int | AskInterface (T **pp) |
The IVolumeUtil interface contains utilities for loading data sets from disk.
|
pure virtual |
Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated.
Implements IRoot.
|
pure virtual |
Increases the reference count on this object by 1. You do not need to call this after an object is first created. It is 1 by default.
Implements IRoot.
|
pure virtual |
Returns if DICOM loader is ready to load files. As of now this checks whether the DICOM data dictionary is loaded. The function will be expanded to make sure DICOM loader is correctly initialized. This function should be called before any function to load DICOM dataset is called
loadStatus | is a bool and provides the status if library was correctly loaded. |
|
pure virtual |
Given a list of paths to files, this function will load the files into the provided array of ILiteDICOMFile pointers.
files | Array to populate with the new ILiteDICOMFile interface pointers. |
numFiles | Number of files to load. |
PathName | Array of strings describing the paths to the files to load. |
|
pure virtual |
Loads the series specified by UID from the files represented by the list files. It is not required that the list be in the correct order and images that aren't in the series may exist in the list.
vd | IVolumeData that will be initialized with the series specified. |
files | List of ILiteDICOMFile pointers that contains the entire series requested. |
numFiles | Number of ILiteDICOMFile objects in files list. |
seriesUID | UID for the series to load. |
|
pure virtual |
Reads a data set from a DICOM directory. Currently only supports directories containing a single DICOM series.
vd | IVolumeData object to receive the information about the loaded volume. |
PathName | String containing the path to the directory containing DICOM files. |
|
pure virtual |
Reads a data set from a DICOM memory mapped files. Currently only supports a single DICOM series.
vd | IVolumeData object to receive the information about the loaded volume. |
PathName | UTF8 encoded String containing the path to the folder containing the DICOM dataset, should have a trailing backslash. |
|
pure virtual |
Reads volume data from a RAW file into memory. A RAW file is a single file containing the following format:
vd | IVolumeData object to receive the information about the loaded volume. |
PathName | String containing the path of the raw file. |
Dimensions | Reserved for future support of non 512x512xX data sets. |
DataType | Reserved for future support of non 12-bit data. |
SliceOffset | Unused. Ignore. |
FileOffset | Unused. Ignore. |
|
pure virtual |
Reads volume data from multiple RAW files into memory. A RAW file is a single file containing the following format:
vd | IVolumeData object to receive the information about the loaded volume. |
rawDatasetDescription | RAW_DATASET_DESCRIPTION object that defines the RAW dataset. See RAW_DATASET_DESCRIPTION for more information. |
|
pure virtual |
ReadFromSEGYFile reads SEGY files and returns IVolumeData object;
vd | IVolumeData object to receive the information about the loaded volume. |
FileName | is full path along with the file name to be loaded. |
|
pure virtual |
Not yet implemented.
|
pure virtual |
Scans a directory for DICOM files then allocates an array of ILiteDICOMFile objects describing all of the valid DICOM files found.
files | The address of the pointer that will recieve the array of ILiteDICOMFile objects. |
numFiles | The address of a h_int32 to recieve the number of objects allocated. |
PathName | The path to the directory we're to scan. |
|
pure virtual |
Registers an ITaskProgress to receive information about the progress of a Read/Write operation. This can be used to update your GUI regarding the state of the load.
piTaskProgress | Object to receive events. |
taskID | ID which will be associated with this task. |