Summary
The IServerContext (C++) and hdrcServerContext (Java/.NET) establishes the connection to a server application using the IP address and port number of the rendering system, all communication between the client and server is through this object. The IP address can be anything that is reachable on the network, or localhost if running the client and server on the same system. The default port is 6778, although any available port can used. It is through this context that volumetric data can be loaded into the server, and how the data is manipulated. The subset of the methods are described below.
Methods
IServerContext::CancelJob()
C++ |
||||||||
Cancels the specified job. Currently, only IVolumeSegmentationContext::FindPath() supports this operation.
|
com.fovia.hdrc.hdrcServerContext.cancelJob()
Java/.NET |
||||||
Placeholder for cancelJob() |
IServerContext::Connect()
C++ instantiates the IServerContext class through the ILibrary interface by specifying the rendering systems IP address and port ID. Additional details are provided in Connecting to the Server.
C++ |
||||||||||||||||||||||||||||||||||
Creates a connection to a server with no timeout.
|
||||||||||||||||||||||||||||||||||
Creates a connection to a server with a timeout.
|
com.fovia.hdrc.hdrcServerContext() constructor
Java instantiates hdrcServerContext is initialized by specifying the rendering systems IP address and port ID. Additional details on initialize of the hdrcServerContext is provided in Connecting to the Server
Java/.NET |
||||||||||||||||||||||
Creates a connection to a server. The appropriate exception is thrown if there is an issue doing so.
|
Doxygen link to hdrcServerContext (String host, int port, int timeout) missing
IServerContext::CreateOctree()
C++ |
||||||||||||||||||||
Creates an IOctreeContext object from an IVolumeDataContext. Once this call completes, the octree will be initialized and ready to be passed to a render engine. |
||||||||||||||||||||
Creates an IOctreeContext object from an IVolumeDataContext. Once this call completes, the octree will be initialized and ready to be passed to a render engine. |
||||||||||||||||||||
Creates an IOctreeContext object from an IVolumeDataContext. Once this call completes, the octree will be initialized and ready to be passed to a render engine. bSaveMemory is deprecated and not necessary. It can be safely ignored. |
||||||||||||||||||||
Creates an IOctreeContext object from an IVolumeDataContext. Once this call completes, the octree will be initialized and ready to be passed to a render engine. This overload of this function is deprecated. |
com.fovia.hdrc.hdrcServerContext.createOctree()
Java/.NET |
||||||||||||||||||||||||
Creates an hdrcOctreeContext object. VolumeDataId must be a valid id procured from an initialized hdrcVolumeDataContext. Once this call completes, the octree will be initialized and ready to be passed to a render engine.
References com.fovia.hdrcsrv.hdrcDefines.SMOOTH3D_TRILINEAR. Referenced by com.fovia.hdrc.hdrcServerContext.createOctree(). |
||||||||||||||||||||||||
Same as the basic createOctree call, except you can specify the type of smoothing to be applied to the volume. See SMOOTH3D_* in hdrcDefines for possible values.
References com.fovia.hdrc.hdrcServerContext.createOctree(). |
||||||||||||||||||||||||
A legacy octree creation overload. This one allows you to specify if we should run in memory saving mode or not, but the octree is now always in memory saving mode.
|
IServerContext::CreatePolygonUtil()
C++ |
||||||||
Placeholder for CreatePolygonUtil() |
com.fovia.hdrc.hdrcServerContext.createPolygonUtil()
Java/.NET |
|||||||
Creates an hdrcIVolumeSegmentation object. Don't forget to call setVolumeData() on the object once it's been created.
|
IServerContext::CreateRenderEngine()
C++ |
||||||||||||||
Creates a new IRenderEngineContext of the speficied type. |
com.fovia.hdrc.hdrcServerContext.createRenderEngine()
Java/.NET |
||||||||||
Creates a new hdrcRenderEngineContext of the speficied type. See RENDER_ENGINE_ID_* in hdrcDefines for a list of valid types.
|
IServerContext::CreateTextureMap()
C++ |
||||||||||
Creates an ITextureMapContext pointer and returns it into the variable at the address pTextureMapContext.
|
com.fovia.hdrc.hdrcServerContext.createTextureMap()
Java/.NET |
#MERGE Merge/hdvr_java_xx.html |
NO DOXYGEN LINK
IServerContext::CreateVertexCallList()
C++ |
||||||||||
Creates an IVertexCallListContext pointer and returns it into the variable at the address pVertexCallListContext.
|
com.fovia.hdrc.hdrcServerContext.createVertexCallList()
Java/.NET |
|||||
Placeholder for createVertexCAllList() |
IServerContext::CreateVolumeSegmentation()
C++ |
||||||||
Creates an IVolumeSegmentation object. Don't forget to call IVolumeSegmentation::SetVolumeData() once it's been created. |
com.fovia.hdrc.hdrcServerContext.CreateVolumeSegmentation()
Java/.NET |
|||||||
Creates an hdrcIVolumeSegmentation object. Don't forget to call setVolumeData() on the object once it's been created.
|
IServerContext::DecRef()
C++ |
|||||||
Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated. Implements IRoot. |
IServerContext::Disconnect()
C++ |
||||||||||||||||||
Sets the volume data for this engine. Either parameter may be null. This is important because MPR engines do not require an Octree
|
com.fovia.hdrc.hdrcServerContext..disconnect()
Java/.NET |
||||||||||||||||||
Sets the volume data for this engine. Either parameter may be null. This is important because MPR engines do not require an Octree
|
IServerContext::FinishJobCreateOctree()
C++ |
||||||||||||||||
Waits for an asynchronous octree creation operation to finish.
|
com.fovia.hdrc.hdrcServerContext.FinishJobCreateOctree()
Java/.NET |
||||||||||
Blocks until the octree creation job is finnished.
|
IServerContext::FinishJobCustomLoadDataset()
C++ |
||||||||||||||||
Waits for an asynchronous load operation to finish.
|
com.fovia.hdrc.hdrcServerContext.finishJobCustomLoadDataset()
Java/.NET |
||||||||||
Waits for an asynchronous load operation to finish.
|
IServerContext::FinishJobLoadDicomDirectory()
C++ |
||||||||||||||||
Waits for an asynchronous load operation to finish.
|
com.fovia.hdrc.hdrcServerContext.FinishJobLoadDicomDirectory()
Java/.NET |
||||||||||
Waits for an asynchronous DICOM load operation to finish.
|
IServerContext::FinishJobLoadDICOMFromFileList()
C++ |
||||||||||||||||||||||||||||
Waits for an asynchronous load operation to finish.
|
com.fovia.hdrc.hdrcServerContext.FinishJobLoadDICOMFromFileList()
Java/.NET |
||||||||||||||||||
Blocks until the DICOM files have finished loading. If a file failed to load, its position in the array will be null.
|
IServerContext::FinishJobLoadRawFiles()
C++ |
||||||||||||||||
Waits for an asynchronous load operation to finish.
|
com.fovia.hdrc.hdrcServerContext.finishLoadRawFiles()
Java/.NET |
||||||||||
Waits for an asynchronous load operation to finish.
|
IServerContext::FinishJobLoadSeriesFromDICOMList()
C++ |
||||||||||||||||
Waits for an asynchronous load operation to finish.
|
com.fovia.hdrc.hdrcServerContext.FinishJobLoadSeriesFromDICOMList()
Java/.NET |
||||||||||
Blocks until the series is finished loading into memory.
|
IServerContext::FinishJobScanDICOMDirectory()
C++ |
||||||||||||||||||||||||||||||||||
Waits for an asynchronous scan operation to finish.
|
com.fovia.hdrc.hdrcServerContext.FinishJobScanDICOMDirectory()
Java/.NET |
||||||||||
Blocks until the DICOM directory scan completes.
|
IServerContext::GetJobInfo()
C++ |
||||||||||||
Returns information about the status of a current asynchronous operation. If progress is 100, the job has completed. Errors can also be returned in the jobInfo structure. |
com.fovia.hdrc.hdrcServerContext.getJobInfo()
Java/.NET |
||||||||||
Returns information about the status of a current asynchronous operation. If progress is 100, the job has completed.
|
IServerContext::GetServerVersion()
com.fovia.hdrc.hdrcServerContext.GetServerVersion()
Java/.NET |
|||||
Returns the version of the server SDK the currently connected server is running. Note that this implies an active connection to a server is in place. If you are not connected to a server, this will return 0. References com.fovia.hdrc.hdrcServerContext.getServerVersion(). Referenced by com.fovia.hdrc.hdrcServerContext.getServerVersion(). |
IServerContext::IncRef()
C++ |
|||||||
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. |
IServerContext::LoadCustomDataset()
C++ |
||||||||||||||||||||||||
Performs a synchronous load of data of the specified type. Use LoadRawData() for loading .raw files and LoadDicomDirectory() for loading DICOM directories. Type 1001 is to load via the Fovia .ini file shared memory function.
|
com.fovia.hdrc.hdrcServerContext.loadCustomDataset()
Java/.NET |
||||||||||||||||||
Performs a synchronous load of data of the specified type. Use loadRawData(String) for loading .raw files and loadDicomDirectory(String) for loading DICOM directories. Type 1001 is to load via the Fovia .ini file based shared memory function.
|
IServerContext::LoadDicomDirectory
C++ |
||||||||||||||
Performs a synchronous load of a DICOM directory. The folder is expected to contain exactly one DICOM series. The folder should not contain any non-DICOM files such as text based index files, etc. If your folder structure is more complicated than that, use ScanDICOMDirectory() and LoadSeriesFromDICOMList(). |
com.fovia.hdrc.hdrcServerContext.loadDicomDirectory()
Java/.NET |
||||||||||
Performs a synchronous load of a DICOM directory. The folder is expected to contain exactly one DICOM series. The folder should not contain any non-DICOM files such as text based index files, etc. If your folder structure is more complicated than that, use scanDICOMDirectory() and loadSeriesFromDICOMList().
|
IServerContext::LoadDICOMFromFileList()
C++ |
||||||||||||||||||||||||||||||
Loads up DICOM file objects from a list of paths to the file objects.
|
com.fovia.hdrc.hdrcServerContext.LoadDICOMFromFileList()
Java/.NET |
||||||||||
Loads up DICOM file objects from a list of paths to the file objects.
|
IServerContext::LoadPresets()
C++ |
||||||||||||||||||
Loads an XML preset file stored on the server into the specified RENDER_PARAMS structu.
|
com.fovia.hdrc.hdrcServerContext.loadPreset()
Java/.NET |
||||||||||||||||||
Loads an XML preset file stored on the server into the specified RENDER_PARAMS structure.
|
IServerContext::LoadRawData()
C++ |
||||||||||||||
Performs a synchronous load of a RAW file. |
com.fovia.hdrc.hdrcServerContext.loadRawData()
Java/.NET |
#MERGE Merge/hdvr_java_xx.html |
IServerContext::LoadRawFiles()
C++ |
||||||||||||||||||
Performs a synchronous load of a RAW dataset that may have multiple files.
|
com.fovia.hdrc.hdrcServerContext.LoadRawFiles()
Java/.NET |
||||||||||
Loads up multi-file RAW dataset defined by RAW_DATASET_DESCRIPTION.
|
IServerContext::LoadSeriesFromDICOMList()
C++ |
||||||||||||||||||||||||||||
Loads a series from a list of DICOM files loaded into memory. Only files with the seriesUID will be loaded for inclusion in the data set. NOTE: This releases the ILiteDICOMFiles from memory on the server. You may no longer use any of the objects passed in after calling this function.
|
com.fovia.hdrc.hdrcServerContext.LoadSeriesFromDICOMList()
Java/.NET |
||||||||||||||||||
Loads a series from a list of DICOM files loaded into memory. Only files with the seriesUID will be loaded for inclusion in the data set. NOTE: This releases the hdrcILiteDICOMFiles from memory on the server. You may no longer use any of the objects passed in after calling this function.
|
IServerContext::SavePreset()
C++ |
||||||||||||||||||
Saves the current RENDER_PARAMS into an XML file on the server.
|
com.fovia.hdrc.hdrcServerContext.SavePreset()
Java/.NET |
||||||||||||||||||
Saves the current RENDER_PARAMS into an XML file on the server.
|
com.fovia.hdrc.ScanDICOMDirectory()
Java/.NET |
||||||||||
Scans a directory for DICOM files. This is a recursive scan, so subfolders will be searched as well.
|
IServerContext::StartJobCreateOctree()
C++ |
||||||||||||||||||||
Start an octree creation job. Use the job ID returned by this function and GetJobInfo() to query the status of the operation. See CreateOctree() for parameter definitions. This overload of this function is deprecated. |
com.fovia.hdrc.hdrcServerContext.StartJobCreateOctree()
Java/.NET |
||||||||||||||||||||||||
Start an octree creation job. Use the job ID returned by this function and getJobInfo(int) to query the status of the operation. See createOctree() for parameter definitions.
|
IServerContext::StartJobLoadCustomDataset()
C++ |
||||||||||||||||
Begins an asynchronous load of a dataset. LoadCustomDataset() for more information about loading custom datasets. Use the job ID returned by this function and GetJobInfo() to query the status of the load operation. |
com.fovia.hdrc.hdrcServerContext.startJobLoadCustomDataset()
Java/.NET |
||||||||||||||||||
Begins an asynchronous load of a dataset. See loadCustomDataset(int,String) for more information about loading custom datasets. Use the job ID returned by this function and getJobInfo(int) to query the status of the load operation.
|
IServerContext::StartJobLoadDicomDirectory()
C++ |
||||||||||||||||
Starts an asynchronous load of a DICOM directory. The folder is expected to contain exactly one DICOM series. If your folder structure is more complicated than that, use ScanDICOMDirectory() and LoadSeriesFromDICOMList(). See StartJobLoadCustomDataset() for more information on this process.
|
com.fovia.hdrc.hdrcServerContext.StartJobLoadDicomDirectory()
Java/.NET |
||||||||||
Starts an asynchronous load of a DICOM directory. See startJobLoadCustomDataset(int,String) for more information on this process.
|
IServerContext::StartJobLoadDICOMFromFileList()
C++ |
||||||||||||||||||||||
Begins Loading a list of DICOM files from a specified list of paths. Use the job ID returned by this function and GetJobInfo() to query the status of the load operation.
|
com.fovia.hdrc.hdrcServerContext.StartJobLoadDICOMFromFileList()
Java/.NET |
||||||||||
Begins Loading a list of DICOM files from a specified list of paths. Use the job ID returned by this function and getJobInfo(int) to query the status of the load operation.
|
IServerContext::StartJobLoadRawData()
C++ |
||||||||||||||||
Starts an asynchronous load of a RAW file. See StartJobLoadCustomDataset() for more information on this process.
|
com.fovia.hdrc.hdrcServerContext.StartJobLoadRawData()
Java/.NET |
||||||||||
Starts an asynchronous load of a RAW file. See startJobLoadCustomDataset(int,String) for more information on this process.
References com.fovia.hdrcsrv.hdrcDefines.LDO_RAW_DATASET_PATH, and com.fovia.hdrcsrv.hdrcDefines.LDO_SEGY_DATASET_PATH. |
IServerContext::StartJobLoadRawFiles()
C++ |
||||||||||||
Begins an asynchronous load of a RAW dataset that may have multiple files. Use the job ID returned by this function and GetJobInfo() to query the status of the load operation. |
com.fovia.hdrc.hdrcServerContext.startJobLoadRawFiles()
Java/.NET |
||||||||||
Begins an asynchronous load of a multi-file RAW dataset. See loadRawFiles(RAW_DATASET_DESCRIPTION) for more information about loading raw datasets. Use the job ID returned by this function and getJobInfo(int) to query the status of the load operation.
|
IServerContext::StartJobLoadSeriesFromDICOMList()
C++ |
||||||||||||||||||||||||||||
Begins loading a DICOM series into memory for volume rendering. NOTE: This releases the ILiteDICOMFiles from memory on the server. You may no longer use any of the objects passed in after calling this function. Use the job ID returned by this function and GetJobInfo() to query the status of the load operation.
|
com.fovia.hdrc.hdrcServerContext.StartJobLoadSeriesFromDICOMList()
Java/.NET |
||||||||||
Begins Loading a list of DICOM files from a specified list of paths. Use the job ID returned by this function and getJobInfo(int) to query the status of the load operation.
|
IServerContext::StartJobScanDICOMDirectory()
C++ |
||||||||||||||||
Begins an asynchronous recursive scan of a directory for DICOM files. Use the job ID returned by this function and GetJobInfo() to query the status of the load operation.
|
com.fovia.hdrc.hdrcServerContext.StartJobScanDICOMDirectory()
Java/.NET |
||||||||||
Begins an asynchronous recursive scan of a directory for DICOM files. Use the job ID returned by this function and getJobInfo(int) to query the status of the load operation.
|
IServerContext::UpdateVertexCallLists()
C++ |
||||||||||||||||||||
Updates the server state of the specified vertex call lists. Note that you normally should not have to call this function explicitly as the state is automatically updated as you set it in the appropriate SetRenderParams() calls.
|
||||||||||||||||||||
Placeholder for UpdateVertexCallListsEx() |
com.fovia.hdrc.hdrcServerContext.UpdateVertexCallLists()
Java/.NET |
||||||
Placeholder for updateVertexCallLists() References com.fovia.hdrcsrv.hdrcDefines.E_INVALIDARG. |
Complete details of member variables and class names are available in the source level documentation available from these links to Doxygen.
C++ |
|
Java / .NET |