Summary
The details of the volume dataset loaded in the server is available through VOLUME_DATA_PARAMS and returned by the VolumeDataContext object. This includes the volume including organization, offset, dimensions, orientation, and slice spacing.
What is "organization" used for?
Is there any time you should NOT attempt to use a cached copy? Why isn't this always done?
Initialization and Usage
Some optional common language about this class
In C++,
Provide example in C++ for using this class.
// us the hdrcServerContext to load a dataset to create the hdrcVolumeDataContext
hdrcServerContext hdrcServer = new hdrcServerContext("192.168.1.4", "6778");
hdrcVolumeDataContext hdrcVolume = hdrcServer.loadDicomDirectory("datasetDirectory");
// obtain the VOLUME_DATA_PARAMS; true indicates that it should attempt to use the locally cached
// copy before requesting it from the server
VOLUME_DATA_PARAMS vdp = hdrcVolume.getVolumeDataParams(true);
...........
// once the dataset is no longer in use by the application, be sure to release the resources.
hdrcVolume.releaseSessionResources();
Doxygen Links
Complete details of member variables and class names are available in the source level documentation available from these links to Doxygen.
C++ |
|
Java / .NET |