Create an octree for the dataset. The octree create function requires a volume ID and optionally smoothing parameter and callback
identifier for volume data to create octree
optionally specify the smoothing value of the type Fovia.SmoothParameter. The supported smoothing for octree values are Fovia.SmoothParameter.none, Fovia.SmoothParameter.trilinear and Fovia.SmoothParameter.tricubic
This is an asynchronous method that returns a Promise as follows:
Promise .then(octreeContext : OctreeContext ) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , octreeContext : OctreeContext )
Create a Rendering Engine using the specified volume ID
volmume ID used to create the render engine
octree ID used to create the render engine (may be null)
renderType for this engine
optional callback invokved when images are generated
This is an asynchronous method that returns a Promise as follows:
Promise .then(renderEngineContext : RenderEngineContext ) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , renderEngineContext : RenderEngineContext )
Retrieve a list of presets from the remote server.
This is an asynchronous method that returns a Promise as follows:
Promise .then(listOfPresets : Array .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , listOfPresets: Array )
Load a dataset using the custom data loader. The custom data loader requires an identifier and parameter list.
identifier indicates the method of the custom loader
parameter list for the specific method
This is an asynchronous method that returns a Promise as follows:
Promise .then(volumeDataInfo : VolumeDataContext ) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , volumeDataInfo : VolumeDataContext )
Load the specific DICOM dataset based on the supplied path. This directory should include a single dataset.
This is an asynchronous method that returns a Promise as follows:
Promise .then(volumeDataInfo : VolumeDataContext ) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , volumeDataInfo : VolumeDataContext )
Specifies the JPEG quality setting used by the server for creation of all images. This is a global setting for the HDVR rendering server.
JPEG interative quality, 20 - lowest quality, 100 - best quality
JPEG final quality, 20 - lowest quality, 100 - best quality
This is a synchronous method and returns ReturnCode.ok on success.
Specifies the default rendering quality setting used by the server. This is a combination of the Quality setting the desired FPS This is a global setting for the HDVR rendering server.
controls the rendering quality
specifies a hint to the engine for desired frames per second. Specify zero (0) to render at fastest possible framerate
This is a synchronous method and returns ReturnCode.ok on success.
Specifies the default session timeout used by the server for this application (or user session).
default timeout in seconds, must be 0 (no timeout) or greater
This is a synchronous method and returns ReturnCode.ok on success.
Generated using TypeDoc
ServerContext is a static class will initialize the HDVR rendering server, load data, and access server resources.