Fovia's .NET Client/Server API
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
com.fovia.hdrc.hdrcServerContext Class Reference
Inheritance diagram for com.fovia.hdrc.hdrcServerContext:
com.fovia.hdrcsrv.hdrcsrvsdConstants com.fovia.hdrcsrv.hdrcDefines

Classes

class  ServerBusyIOException
 
class  ThreadTime
 

Public Member Functions

void beginMultiplexing ()
 
void beginServerCall ()
 
int cancelJob (long jobID) throws IOException
 
hdrcFreehandCutAdaptor createFreehandCutAdaptor () throws IOException
 
hdrcInteractiveSegAdaptor createInteractiveSegAdaptor () throws IOException
 
hdrcOctreeContext createOctree (long VolumeDataId) throws IOException
 
hdrcOctreeContext createOctree (long VolumeDataId, int smoothType) throws IOException
 
hdrcOctreeContext createOctree (long VolumeDataId, boolean bSaveMemory, int smoothType) throws IOException
 
hdrcPolygonUtilContext createPolygonUtil () throws IOException
 
hdrcRenderEngineContext createRenderEngine (int Type) throws IOException
 
hdrcTextureMapContext createTextureMap () throws IOException
 
hdrcVertexCallListContext createVertexCallList () throws IOException
 
hdrcIVolumeSegmentation createVolumeSegmentation () throws IOException
 
hdrcVolumeShadowContext createVolumeShadowContext () throws IOException
 
void disconnect () throws IOException
 
void endMultiplexing ()
 
void endServerCall ()
 
hdrcOctreeContext finishJobCreateOctree (long job) throws IOException
 
hdrcVolumeDataContext finishJobCustomLoadDataset (long job) throws IOException
 
hdrcVolumeDataContext finishJobLoadDicomDirectory (long job) throws IOException
 
hdrcILiteDICOMFile[] finishJobLoadDICOMFromFileList (long job, String paths[]) throws IOException
 
hdrcVolumeDataContext finishJobLoadSeriesFromDICOMList (long job) throws IOException
 
hdrcILiteDICOMFile[] finishJobScanDICOMDirectory (long job) throws IOException
 
hdrcVolumeDataContext finishLoadRawFiles (long job) throws IOException
 
native long getClientVersion ()
 
hdrcJobInfo getJobInfo (long jobID) throws IOException
 
long getNID ()
 
hdrcDataHolderContext getObjectDataHolder (int id) throws IOException
 
long getServerVersion ()
 
 hdrcServerContext (String host, int port) throws UnknownHostException, IOException, ServerBusyIOException
 
 hdrcServerContext (String host, int port, int timeout) throws UnknownHostException, IOException, ServerBusyIOException
 
hdrcVolumeDataContext loadCustomDataset (int type, String path) throws IOException
 
hdrcVolumeDataContext loadDicomDirectory (String path) throws IOException
 
hdrcVolumeDataContext loadDicomDirUTF8 (int type, byte[] path) throws IOException
 
hdrcILiteDICOMFile[] loadDICOMFromFileList (String paths[]) throws IOException
 
int loadPreset (String path, RENDER_PARAMS rp) throws IOException
 
hdrcVolumeDataContext loadRawData (String path) throws IOException
 
hdrcVolumeDataContext loadRawFiles (RAW_DATASET_DESCRIPTION rdd) throws IOException
 
hdrcVolumeDataContext loadSeriesFromDICOMList (hdrcILiteDICOMFile files[], String seriesUID) throws IOException
 
hdrcVolumeDataContext loadVolumeData (String path) throws IOException
 
int savePreset (String path, RENDER_PARAMS rp) throws IOException
 
hdrcILiteDICOMFile[] scanDICOMDirectory (String path) throws IOException
 
long startJobCreateOctree (long VolumeDataId, boolean bSaveMemory, int smoothType) throws IOException
 
long startJobLoadCustomDataset (int loadtype, String path) throws IOException
 
long startJobLoadDicomDirectory (String path) throws IOException
 
long startJobLoadDICOMFromFileList (String paths[]) throws IOException
 
long startJobLoadRawData (String path) throws IOException
 
long startJobLoadRawFiles (RAW_DATASET_DESCRIPTION rdd) throws IOException
 
long startJobLoadSeriesFromDICOMList (hdrcILiteDICOMFile files[], String seriesUID) throws IOException
 
long startJobScanDICOMDirectory (String path) throws IOException
 
int updateVertexCallLists (hdrcVertexCallListContext callLists[]) throws IOException
 

Static Public Member Functions

static native int setLoggingEnabled (boolean bEnabled, int logLevel, String loggingRoot)
 

Public Attributes

Object m_opMutex = new Object()
 

Protected Member Functions

native void beginMultiplexing (long id)
 
native void beginServerCall (long id)
 
native int cancelJob (long id, long jobID) throws IOException
 
native int connect (long id, String host, int port, int timeout) throws UnknownHostException, IOException
 
void connect (String host, int port, int timeout) throws UnknownHostException, IOException
 
native long createFreehandCutAdaptor (long id) throws IOException
 
native long createInteractiveSegAdaptor (long id) throws IOException
 
native long createNativeObject ()
 
native long createOctreeEx2 (long id, long VolumeDataId, boolean bSaveMemory, int smoothType) throws IOException
 
native long createPolygonUtil (long id) throws IOException
 
native long createRenderEngine (long id, int Type) throws IOException
 
native long createTextureMap (long id) throws IOException
 
native long createVertexCallList (long id) throws IOException
 
native long createVolumeSegmentation (long id) throws IOException
 
native long createVolumeShadowContext (long nid) throws IOException
 
native void destroyNativeObject (long m_id)
 
native void disconnect (long id) throws IOException
 
native void endMultiplexing (long id)
 
native void endServerCall (long id)
 
native long finishJobCreateOctree (long id, long job) throws IOException
 
native long finishJobCustomLoadDataset (long id, long job) throws IOException
 
native long finishJobLoadDICOMFromFileList (long id, long job, int numPaths, long idFiles[]) throws IOException
 
native long finishJobLoadRawFiles (long id, long job) throws IOException
 
native long finishJobLoadSeriesFromDICOMList (long id, long job) throws IOException
 
native long finishJobScanDICOMDirectory (long id, long job, SCAN_DICOM_DIR_DATA data) throws IOException
 
native long getJobInfo (long id, long jobID, hdrcJobInfo jobInfo) throws IOException
 
native long getObjectDataHolder (long id, int objId) throws IOException
 
native long getServerVersion (long nid)
 
native long getStreamID (long m_id)
 
native long loadCustomDataset (long id, int type, String path) throws IOException
 
native long loadDicomDirUTF8 (long id, int type, byte[] path) throws IOException
 
native long loadDICOMFromFileList (long id, String paths[], SCAN_DICOM_DIR_DATA data) throws IOException
 
native int loadPreset (long id, String path, RENDER_PARAMS rp) throws IOException
 
native long loadRawFiles (long id, RAW_DATASET_DESCRIPTION rdd) throws IOException
 
native long loadSeriesFromDICOMList (long id, long fileIDs[], String seriesUID) throws IOException
 
native int savePreset (long id, String path, RENDER_PARAMS rp) throws IOException
 
native long scanDICOMDirectory (long id, String path, SCAN_DICOM_DIR_DATA data) throws IOException
 
native long startJobCreateOctree (long id, long VolumeDataId, boolean bSaveMemory, int smoothType) throws IOException
 
native long startJobLoadCustomDataset (long id, int loadtype, String path) throws IOException
 
native long startJobLoadDICOMFromFileList (long id, String paths[]) throws IOException
 
native long startJobLoadRawFiles (long id, RAW_DATASET_DESCRIPTION rdd) throws IOException
 
native long startJobLoadSeriesFromDICOMList (long id, long fileIDs[], String seriesUID) throws IOException
 
native long startJobScanDICOMDirectory (long id, String path) throws IOException
 
native int updateVertexCallLists (long nid, long callLists[])
 

Protected Attributes

long m_nid = 0
 

Additional Inherited Members

- Static Public Attributes inherited from com.fovia.hdrcsrv.hdrcDefines
static final int CID_APPLY_AS_COLORIZATION_MAP = 66
 
static final int CID_APPLY_VOLUMETRIC_SHADOW_MAP = 72
 
static final int CID_AUTONAVIGATE = 29
 
static final int CID_CHECK_CHANNEL = 23
 
static final int CID_CREATE_IVOLUMESEGMENTATION = 26
 
static final int CID_CREATE_POLYGONUTIL = 60
 
static final int CID_CREATE_RENDER_ENGINE = 2
 
static final int CID_CREATE_VERTEX_CALL_LIST = 53
 
static final int CID_CREATE_VOLUME_OCTREE = 4
 
static final int CID_CREATE_VOLUME_SHADOW = 74
 
static final int CID_FAST_SWAP = 44
 
static final int CID_FIND_PATH = 52
 
static final int CID_FINISH_JOB = 16
 
static final int CID_GET_COLORIZATION = 58
 
static final int CID_GET_CURVED_REFORMAT = 43
 
static final int CID_GET_DATA_HOLDER = 20
 
static final int CID_GET_HISTOGRAM = 28
 
static final int CID_GET_JOB_INFO = 15
 
static final int CID_GET_RENDER_ENGINE_TF_COUNT = 65
 
static final int CID_GET_RENDER_PARAMS = 6
 
static final int CID_GET_SEGMENTATION = 30
 
static final int CID_GET_TRANSFER_FUNCTION = 57
 
static final int CID_GET_VISIBILITY_INFO = 39
 
static final int CID_GET_VOLUME_DATA_PARAMS = 17
 
static final int CID_GETDICOMTAGS = 35
 
static final int CID_IS_RENDERING_FINISHED = 27
 
static final int CID_IVOLUMESEGMENTATION_CALL = 25
 
static final int CID_LOAD_DICOM_FILE_LIST = 33
 
static final int CID_LOAD_PRESET = 9
 
static final int CID_LOAD_RAW_FILES = 62
 
static final int CID_LOAD_SERIES_FROM_DICOM_LIST = 34
 
static final int CID_LOAD_VOLUME_DATA = 1
 
static final int CID_OUTPUTDICOMIMAGES = 37
 
static final int CID_POLYGONUTIL_CALL = 61
 
static final int CID_PROJECT_POINT = 13
 
static final int CID_PROJECT_VOLUMETRIC_SHADOW = 45
 
static final int CID_RELEASE_ALL_SESSION_OBJECT = 55
 
static final int CID_RELEASE_SESSION_OBJECT = 19
 
static final int CID_RENDER = 7
 
static final int CID_RENDER_SHADOW_LIGHT = 73
 
static final int CID_RETRIEVE_DATA = 22
 
static final int CID_SAVE_PRESET = 18
 
static final int CID_SCAN_DICOM_DIRECTORY = 32
 
static final int CID_SET_CLIENT_VERSION = 64
 
static final int CID_SET_COLORIZATION = 59
 
static final int CID_SET_COLORIZATION_COLORS = 51
 
static final int CID_SET_COLORIZATION_ENABLED = 49
 
static final int CID_SET_COLORIZATION_INDEX = 50
 
static final int CID_SET_CURVED_MPR_PATH = 42
 
static final int CID_SET_FAST_POLYGONS_ENABLED = 67
 
static final int CID_SET_FRAMES_PER_PHASE = 48
 
static final int CID_SET_PHASE = 47
 
static final int CID_SET_RENDER_PARAMS = 5
 
static final int CID_SET_SEG_BOUNDARIES = 70
 
static final int CID_SET_SEGMENTATION = 31
 
static final int CID_SET_TRANSFER_FUNCTION = 56
 
static final int CID_SET_VIEW_MODE = 24
 
static final int CID_SET_VOLUME_DATA = 3
 
static final int CID_SET_VOLUME_DATA_4D = 46
 
static final int CID_SETDICOMTAGS = 36
 
static final int CID_SETRP_AND_RENDER = 8
 
static final int CID_SETRP_RENDER_AND_SEND_PREV = 41
 
static final int CID_SHOOT_RAY = 12
 
static final int CID_SHOOT_RAY_FAST = 38
 
static final int CID_SHOOT_RAY_GET_WALL = 69
 
static final int CID_START_JOB = 14
 
static final int CID_STORE_DATA = 21
 
static final int CID_TESTFUNCTION = 63
 
static final int CID_UPDATE_OCTREE = 68
 
static final int CID_UPDATE_VERTEX_CALL_LISTS = 54
 
static final int CID_VOLUME_SHADOW_CALL = 71
 
static final int CID_WAIT_PREV_RENDER = 40
 
static final int CM_DILATION = 5
 
static final int CM_EROSION = 4
 
static final int CM_MIN_MAX = 0
 
static final int CM_MIN_MAX_BONE = 3
 
static final int CM_MIN_MAX_SMART = 1
 
static final int CM_MIN_MAX_SMART_EXPAND = 2
 
static final int COLOR_MODEL_GRAYSCALE12 = COLOR_MODEL_GRAYSCALE8+1
 
static final int COLOR_MODEL_GRAYSCALE8 = COLOR_MODEL_NONE+1
 
static final int COLOR_MODEL_NONE = 0
 
static final int COLOR_MODEL_RGB = COLOR_MODEL_GRAYSCALE12+1
 
static final int COMPRESSION_TYPE_JPEG = COMPRESSION_TYPE_ZIP+1
 
static final int COMPRESSION_TYPE_JPEG2000 = COMPRESSION_TYPE_STRETCH+1
 
static final int COMPRESSION_TYPE_JPEG_RGB = COMPRESSION_TYPE_PNG+1
 
static final int COMPRESSION_TYPE_NONE = 0
 
static final int COMPRESSION_TYPE_PNG = COMPRESSION_TYPE_RLE+1
 
static final int COMPRESSION_TYPE_RLE = COMPRESSION_TYPE_JPEG2000+1
 
static final int COMPRESSION_TYPE_STRETCH = COMPRESSION_TYPE_JPEG+1
 
static final int COMPRESSION_TYPE_ZIP = COMPRESSION_TYPE_NONE+1
 
static final int CP_FRAGMENT_FORM_MASK = 0x0000C000
 
static final int CP_FRAGMENT_FORM_SQUARE = 0x00004000
 
static final int CP_FRAGMENT_FORM_STRIPE = 0x00008000
 
static final int CP_FRAGMENT_ID_MASK = 0x000000FF
 
static final int CP_FRAGMENT_ID_SHIFT = 0
 
static final int CP_FRAGMENT_NONE = 0x0
 
static final int CP_FRAGMENT_PACKING_FRAGMENT_ONLY = 0x00001000
 
static final int CP_FRAGMENT_PACKING_MASK = 0x0000F000
 
static final int CP_FRAGMENT_PACKING_SHIFT = 11
 
static final int CP_FRAGMENT_PACKING_TYPE_MASK = 0x00003000
 
static final int CP_FRAGMENT_PACKING_WHOLE_IMAGE = 0x00000000
 
static final int CP_FRAGMENT_SQUARE_SIZE = 256
 
static final int CP_FRAGMENT_STRIPE_SIZE = 128
 
static final int CP_FRAGMENT_VALID = 0x70000000
 
static final int CULL_MODE_BACK = 1
 
static final int CULL_MODE_BACK_INV = 2
 
static final int CULL_MODE_NONE = 0
 
static final int CURVED_MPR_TYPE_X_IS_CURVED = CURVED_MPR_TYPE_X_IS_CURVED_TRILINEAR
 
static final int CURVED_MPR_TYPE_X_IS_CURVED_TRICUBIC = CURVED_MPR_TYPE_Y_IS_CURVED_TRILINEAR+1
 
static final int CURVED_MPR_TYPE_X_IS_CURVED_TRILINEAR = 0
 
static final int CURVED_MPR_TYPE_Y_IS_CURVED = CURVED_MPR_TYPE_Y_IS_CURVED_TRILINEAR
 
static final int CURVED_MPR_TYPE_Y_IS_CURVED_TRICUBIC = CURVED_MPR_TYPE_X_IS_CURVED_TRICUBIC+1
 
static final int CURVED_MPR_TYPE_Y_IS_CURVED_TRILINEAR = CURVED_MPR_TYPE_X_IS_CURVED_TRILINEAR+1
 
static final int CUT_PLANE_MODE_MAX_DISTANCE = CUT_PLANE_MODE_STANDARD+1
 
static final int CUT_PLANE_MODE_MIN_DISTANCE = CUT_PLANE_MODE_MAX_DISTANCE+1
 
static final int CUT_PLANE_MODE_STANDARD = 0
 
static final int CUT_PLANE_STATUS_DISABLED = 0
 
static final int CUT_PLANE_STATUS_ENABLED = CUT_PLANE_STATUS_DISABLED+1
 
static final int CUT_PLANE_TYPE_NEGATIVE = CUT_PLANE_TYPE_POSITIVE+1
 
static final int CUT_PLANE_TYPE_POSITIVE = 0
 
static final int DEFAULT_RENDER_IMAGE_HEIGHT = 512
 
static final int DEFAULT_RENDER_IMAGE_WIDTH = 512
 
static final int DO_SLICE = 0
 
static final int DT_BIG_ENDIAN = 2
 
static final int DT_MONOCHROME_1 = 16
 
static final int DT_REVERSE_BIT_ORDER = 4
 
static final int DT_SIGNED = 1
 
static final int DT_UPPER_BITS_DIRTY = 8
 
static final int E_FAIL = 0x80004005
 
static final int E_INVALIDARG = 0x80070057
 
static final int E_NOINTERFACE = 0x80004002
 
static final int E_NOTIMPL = 0x80004001
 
static final int E_OUTOFMEMORY = 0x8007000E
 
static final int E_PENDING = 0x8000000A
 
static final int E_POINTER = 0x80004003
 
static final int E_UNEXPECTED = 0x8000FFFF
 
static final int EROSION_DILATION_CLASSIC = 255
 
static final int FHC_COMPLETE_VOLUME = 3
 
static final int FHC_FIRST_LAYER = 2
 
static final int FHC_SURFACE_ONLY = 1
 
static final int FHC_WHOLE_VOLUME = 0
 
static final int FPS_NO_CAP = 100000
 
static final int IMAGE_TYPE_LUMINANCE12 = (2<<8)|2
 
static final int IMAGE_TYPE_LUMINANCE16 = (3<<8)|2
 
static final int IMAGE_TYPE_LUMINANCE8 = (1<<8)|1
 
static final int IMAGE_TYPE_NONE = 0
 
static final int IMAGE_TYPE_RGB = (4<<8)|3
 
static final int IMAGE_TYPE_RGBA = (5<<8)|4
 
static final int IMAGE_TYPE_RGBX = (6<<8)|4
 
static final int LDO_DCM_UTF8 = 1002
 
static final int LDO_DICOM_DIRECTORY = 1
 
static final int LDO_DICOM_FILE_SET =3
 
static final int LDO_FILE_SET = 4
 
static final int LDO_MEMORY_BLOCK = 2
 
static final int LDO_MEMORY_MAP_SET = 5
 
static final int LDO_RAW_DATASET_PATH = 0
 
static final int LDO_SEGY_DATASET_PATH =6
 
static final int LIGHT_MODEL_BEAM = 0
 
static final int LIGHT_MODEL_HEADLIGHT = LIGHT_MODEL_BEAM+1
 
static final int LMM_ATTACHED_TO_CAMERA = 0
 
static final int LMM_ATTACHED_TO_DATASET = 1
 
static final int MAX_ALTERNATE_TRANSFER_FUNCTIONS = 7
 
static final int MAX_CT_VALUE = 1024*4-1024
 
static final int MAX_CUTPLANES = 16
 
static final int MAX_DATASET_BIT_DEPTH = 16
 
static final int MAX_DIMENSION_X = 4096
 
static final int MAX_DIMENSION_Y = 4096
 
static final int MAX_DIMENSION_Z = 4096
 
static final int MAX_OPACITY_FUNCTION_VALUE = 1024*4 - 1
 
static final int MAX_RENDER_IMAGE_HEIGHT = 8192
 
static final int MAX_RENDER_IMAGE_WIDTH = 8192
 
static final int MAX_RENDER_RANGE_POINTS = 50
 
static final int MAX_RENDER_RANGES_PARAMS = 8
 
static final float MAX_RENDER_ZOOM = 700.0f
 
static final double MAX_THIN_SLAB = 4096
 
static final int MESH_UPDATE_ALL = 63
 
static final int MESH_UPDATE_COLORS = 4
 
static final int MESH_UPDATE_INDICES = 16
 
static final int MESH_UPDATE_NORMALS = 2
 
static final int MESH_UPDATE_SHADING = 8
 
static final int MESH_UPDATE_TEX_COORDS = 32
 
static final int MESH_UPDATE_VERTICES = 1
 
static final int MIN_CT_VALUE = 0 -1024
 
static final int MIN_OPACITY_FUNCTION_VALUE = 0
 
static final int MIN_RENDER_IMAGE_HEIGHT = 64
 
static final int MIN_RENDER_IMAGE_WIDTH = 64
 
static final float MIN_RENDER_ZOOM = 0.125f
 
static final double MIN_THIN_SLAB = 0
 
static final int PET_MARCHING_CUBES = 0
 
static final int PPM_CALL_LISTS = (1<<0)
 
static final int PPM_NONE = 0
 
static final int RENDER_ENGINE_ID_MIP = 3
 
static final int RENDER_ENGINE_ID_MPR = 0
 
static final int RENDER_ENGINE_ID_PAR = 1
 
static final int RENDER_ENGINE_ID_PER = 2
 
static final int RENDER_IMAGE_HEIGHT_STEP = 16
 
static final int RENDER_IMAGE_WIDTH_STEP = 16
 
static final int RENDER_QUALITY_BEST = RENDER_QUALITY_BETTER+1
 
static final int RENDER_QUALITY_BETTER = RENDER_QUALITY_DRAFT+1
 
static final int RENDER_QUALITY_DRAFT = RENDER_QUALITY_RAW+1
 
static final int RENDER_QUALITY_NONE = 0
 
static final int RENDER_QUALITY_PRINT = 0x7fffffff
 
static final int RENDER_QUALITY_RAW = RENDER_QUALITY_NONE+1
 
static final int RENDER_RANGE_STATUS_DISABLED = RENDER_RANGE_STATUS_ENABLED+1
 
static final int RENDER_RANGE_STATUS_ENABLED = 0
 
static final int RENDER_RANGE_TYPE_AUTO_COLOR = RENDER_RANGE_TYPE_CATMUL+1
 
static final int RENDER_RANGE_TYPE_BSPLINE = RENDER_RANGE_TYPE_LINES_END_COLOR+1
 
static final int RENDER_RANGE_TYPE_CATMUL = RENDER_RANGE_TYPE_BSPLINE+1
 
static final int RENDER_RANGE_TYPE_LINES = RENDER_RANGE_TYPE_NONE+1
 
static final int RENDER_RANGE_TYPE_LINES_END_COLOR = RENDER_RANGE_TYPE_LINES+1
 
static final int RENDER_RANGE_TYPE_NONE = 0
 
static final int RENDER_STAGE_AUTO_IMPROVE = RENDER_STAGE_CURRENT+1
 
static final int RENDER_STAGE_CURRENT = RENDER_STAGE_FINAL+1
 
static final int RENDER_STAGE_FINAL = RENDER_STAGE_PROGR5+1
 
static final int RENDER_STAGE_NONE = 0
 
static final int RENDER_STAGE_PROGR0 = RENDER_STAGE_NONE+1
 
static final int RENDER_STAGE_PROGR1 = RENDER_STAGE_PROGR0+1
 
static final int RENDER_STAGE_PROGR2 = RENDER_STAGE_PROGR1+1
 
static final int RENDER_STAGE_PROGR3 = RENDER_STAGE_PROGR2+1
 
static final int RENDER_STAGE_PROGR4 = RENDER_STAGE_PROGR3+1
 
static final int RENDER_STAGE_PROGR5 = RENDER_STAGE_PROGR4+1
 
static final int RF_ALL = 0x7FFFFFFF
 
static final int RF_ALLOW_IMAGE_SMOOTH = (1<<2)
 
static final int RF_ALLOW_RENDER_CACHE = (1<<1)
 
static final int RF_CUT_PLANES_AFFECT_POLYGONS =(1 << 13)
 
static final int RF_DEFAULT = RF_ALLOW_IMAGE_SMOOTH|RF_USE_GRADIENTS|RF_USE_SLAB_MIP
 
static final int RF_DONT_NORMALIZE_TF = (1<<7)
 
static final int RF_FRONT_CLIPPING_PLANE_ENABLED = (1<<8)
 
static final int RF_LONG_TRIANGLE_FIX =(1 << 14)
 
static final int RF_MASK_DEFAULT = RF_ALLOW_IMAGE_SMOOTH|RF_USE_GRADIENTS|RF_USE_SLAB_MPR|RF_USE_SLAB_PAR|RF_USE_SLAB_MIP|RF_POLYGON_LINES_IN_SCREEN_SPACE
 
static final int RF_NONE = (0)
 
static final int RF_POLYGON_CROSS_SECTIONS =(1 << 12)
 
static final int RF_POLYGON_LINES_IN_SCREEN_SPACE =(1 << 10)
 
static final int RF_THICK_MODES_USE_TRANSFER_FUNCTION =(1 << 9)
 
static final int RF_THIN_MODES_OUTPUT_RGB =(1 << 15)
 
static final int RF_USE_GRADIENTS = (1<<3)
 
static final int RF_USE_SLAB_MIP = (1<<6)
 
static final int RF_USE_SLAB_MPR = (1<<4)
 
static final int RF_USE_SLAB_PAR = (1<<5)
 
static final int RF_VERTEX_COLOR_MAP =(1 << 11)
 
static final int RPM_ALL = 0x7FFFFFFF
 
static final int RPM_AMBIENCE = (1 <<30)
 
static final int RPM_BACK_COLOR = (1<<17)
 
static final int RPM_BRIGHTNESS = (1<<18)
 
static final int RPM_COLOR_MODEL = (1<<7)
 
static final int RPM_CROP_BOX = (1<<16)
 
static final int RPM_CUT_PLANES = (1<<23)
 
static final int RPM_DEFAULT = RPM_ALL
 
static final int RPM_DESIRED_FPS = (1<<10)
 
static final int RPM_FRONT_SLAB_POLYGON_TRANSPARENCY = (1 <<29)
 
static final int RPM_GRAD_INSEN_SLAB = (1<<15)
 
static final int RPM_LIGHT_MODEL = (1<<9)
 
static final int RPM_LIGHT_PARAMS = (1<<27)
 
static final int RPM_MIN_QUALITY_BIAS = (1<<28)
 
static final int RPM_NONE = (0)
 
static final int RPM_NUM_RENDERING_THREADS = (1<<25)
 
static final int RPM_PHONG_PARAMETERS = RPM_AMBIENCE | RPM_BRIGHTNESS | RPM_SHININESS | RPM_REFLECTION
 
static final int RPM_QUALITY = (1<<8)
 
static final int RPM_RAYCASTING_PRECISION = (1<<21)
 
static final int RPM_REAR_SLAB_POLYGON_TRANSPARENCY = (1 <<31)
 
static final int RPM_REFLECTION = (1<<20)
 
static final int RPM_RENDER_IMAGE_SIZE = (1<<24)
 
static final int RPM_RENDER_RANGE_MIN_MAX = (1<<11)
 
static final int RPM_RENDER_RANGES = (1<<12)
 
static final int RPM_RENDER_SAMPLES = (1<<22)
 
static final int RPM_RENDER_TYPE = (1<<0)
 
static final int RPM_SHININESS = (1<<19)
 
static final int RPM_SLAB_THICKNESS = (1<<14)
 
static final int RPM_STEREO_MODE = (1<<26)
 
static final int RPM_TRANSFORM = RPM_TRANSFORM_RSS|RPM_TRANSFORM_OFFSET|RPM_TRANSFORM_PC
 
static final int RPM_TRANSFORM_OFFSET = RPM_TRANSFORM_XPOS|RPM_TRANSFORM_YPOS|RPM_TRANSFORM_ZPOS
 
static final int RPM_TRANSFORM_PC = (1<<5)
 
static final int RPM_TRANSFORM_RSS = (1<<4)
 
static final int RPM_TRANSFORM_XPOS = (1<<1)
 
static final int RPM_TRANSFORM_YPOS = (1<<2)
 
static final int RPM_TRANSFORM_ZPOS = (1<<3)
 
static final int RPM_VIEW_ANGLE = (1<<13)
 
static final int RPM_ZOOM = (1<<6)
 
static final int RT_AUTO_FADED_MIP = (1<<18)
 
static final int RT_AUTO_MINIP = (1<<19)
 
static final int RT_AUTO_MIP = (1<<17)
 
static final int RT_BRUTE_FORCE_AVE = RT_THIN_AVE
 
static final int RT_BRUTE_FORCE_FMIP = RT_THIN_FMIP
 
static final int RT_BRUTE_FORCE_MINIP = RT_THIN_MINIP
 
static final int RT_BRUTE_FORCE_MIP = RT_THIN_MIP
 
static final int RT_MIP = RT_THICK_MIP
 
static final int RT_MPR_AXIAL = (1<<3)
 
static final int RT_MPR_CORONAL = (1<<5)
 
static final int RT_MPR_CURVED = (1<<13)
 
static final int RT_MPR_OBLIQUE = (1<<6)
 
static final int RT_MPR_SAGITTAL = (1<<4)
 
static final int RT_MPR_XY = (1<<0)
 
static final int RT_MPR_XZ = (1<<1)
 
static final int RT_MPR_YZ = (1<<2)
 
static final int RT_NONE = 0
 
static final int RT_PARALLEL = (1<<7)
 
static final int RT_PERSPECTIVE = (1<<8)
 
static final int RT_RESERVED16 = (1<<16)
 
static final int RT_THICK_FADED_MIP = (1<<10)
 
static final int RT_THICK_MINIP = (1<<20)
 
static final int RT_THICK_MINIP_PERSPECTIVE = (1<<22)
 
static final int RT_THICK_MIP = (1<<9)
 
static final int RT_THICK_MIP_PERSPECTIVE = (1<<21)
 
static final int RT_THIN_AVE = (1<<14)
 
static final int RT_THIN_FMIP = (1<<12)
 
static final int RT_THIN_MINIP = (1<<15)
 
static final int RT_THIN_MIP = (1<<11)
 
static final int RT_XRAY = RT_THICK_FADED_MIP
 
static final int S_FALSE = 1
 
static final int S_OK = 0
 
static final int SEG_GRAN_1X1X1 = 0
 
static final int SEG_GRAN_2X2X2 = 1
 
static final int SEGMENTATION_TYPE_ADDITIVE = 0
 
static final int SEGMENTATION_TYPE_SUBTRACTIVE = 1
 
static final int SK_CUSTOM = 4
 
static final int SK_MIN_MAX = 0
 
static final int SK_MIN_MAX_BONE = 3
 
static final int SK_MIN_MAX_GRADIENT = 1
 
static final int SK_MIN_MAX_GRADIENT_EXPAND = 2
 
static final int SMOOTH3D_NONE = 0
 
static final int SMOOTH3D_TRICUBIC = 2
 
static final int SMOOTH3D_TRILINEAR = 1
 
static final int SPT_LAPLACIAN = 1
 
static final int SPT_NONE = 0
 
static final int ST_ADDITIVE = 0
 
static final int ST_SUBTRACTIVE = 1
 
static final int STEREO_MODE_LEFT_EYE = 1
 
static final int STEREO_MODE_OFF = 0
 
static final int STEREO_MODE_RIGHT_EYE = 2
 
static final int THICK_TF_MIP_OPACITY = 500
 
static final int TO_NONE = 0
 
static final int TO_SHOW_COMMAND_ARGUMENTS = (1 << 2)
 
static final int TO_SHOW_COMMAND_DEBUG1 = (1 << 4)
 
static final int TO_SHOW_COMMAND_DEBUG2 = (1 << 5)
 
static final int TO_SHOW_COMMAND_DEBUG3 = (1 << 6)
 
static final int TO_SHOW_COMMAND_RESULTS = (1 << 3)
 
static final int TO_SHOW_COMMAND_TIME = (1 << 1)
 
static final int TO_SHOW_COMMANDS = (1 << 0)
 
static final double TRANSFER_FUNCTION_LOG_CORRECTION = 0.4
 
static final int UPDATE_MODE_CLEAR = 0
 
static final int UPDATE_MODE_CLEAR_BY_MASK = 10
 
static final int UPDATE_MODE_CLEAR_MULTI_TF = UPDATE_MODE_SET_TF_2+1
 
static final int UPDATE_MODE_CLEAR_NODES_ONLY = UPDATE_MODE_INVERT_MULTI_TF+1
 
static final int UPDATE_MODE_INVERT = UPDATE_MODE_NEGATIVE+1
 
static final int UPDATE_MODE_INVERT_MULTI_TF = UPDATE_MODE_CLEAR_MULTI_TF+1
 
static final int UPDATE_MODE_NEGATIVE = UPDATE_MODE_POSITIVE+1
 
static final int UPDATE_MODE_POSITIVE = UPDATE_MODE_CLEAR+1
 
static final int UPDATE_MODE_REBUILD = UPDATE_MODE_INVERT+1
 
static final int UPDATE_MODE_SET_TF_1 = UPDATE_MODE_REBUILD+1
 
static final int UPDATE_MODE_SET_TF_2 = UPDATE_MODE_SET_TF_1+1
 
static final int VCL_OPTIMIZE_DO_NOT_REMOVE = 0xFFFFFFFF
 
static final int VCL_TYPE_LINES = 1
 
static final int VCL_TYPE_TRIANGLES = 0
 
static final int VCLF_CUT_PLANES_AFFECT_POLYGONS =(1 << 0)
 
static final int VCLF_INVERT_MESH_GRADIENTS =(1 << 2)
 
static final int VCLF_NONE =(0 )
 
static final int VCLF_PER_CALL_LIST_INTERSECTION_LINE_PARAMS =(1 << 1)
 
static final int VLT_DIRECTIONAL = 0
 
static final int VLT_FRUSTRUM = 1
 
static final int VM_VEWMPR = 0
 
static final int VM_VIEW3D = 1
 

Detailed Description

Represents a connection to an hdrcsrvd server. This object should be the starting point for creation of all other server-side data objects in your application.

Constructor & Destructor Documentation

com.fovia.hdrc.hdrcServerContext.hdrcServerContext ( String  host,
int  port 
) throws UnknownHostException, IOException, ServerBusyIOException

Creates a connection to a server. The appropriate exception is thrown if there is an issue doing so.

Parameters
hostThe network address of the host computer.
portThe port in which the host is listening. This number will be communicated when the server first starts up and is 6778 by default.
Exceptions
UnknownHostException
ServerBusyIOException
IOException
com.fovia.hdrc.hdrcServerContext.hdrcServerContext ( String  host,
int  port,
int  timeout 
) throws UnknownHostException, IOException, ServerBusyIOException

Creates a connection to a server. The appropriate exception is thrown if there is an issue doing so.

Parameters
hostThe network address of the host computer.
portThe port in which the host is listening. This number will be communicated when the server first starts up and is 6778 by default.
timeoutThe amount of time to wait before the connection attempt aborts.
Exceptions
UnknownHostException
ServerBusyIOException
IOException

Member Function Documentation

int com.fovia.hdrc.hdrcServerContext.cancelJob ( long  jobID) throws IOException

Placeholder for cancelJob()

hdrcFreehandCutAdaptor com.fovia.hdrc.hdrcServerContext.createFreehandCutAdaptor ( ) throws IOException

Creates a #hdrcInteractiveSegAdaptor object

Returns
hdrcInteractiveSegAdaptor - Returns null if the call fails.
Exceptions
IOException
hdrcInteractiveSegAdaptor com.fovia.hdrc.hdrcServerContext.createInteractiveSegAdaptor ( ) throws IOException

Creates a #hdrcInteractiveSegAdaptor object

Returns
hdrcInteractiveSegAdaptor - Returns null if the call fails.
Exceptions
IOException
hdrcOctreeContext com.fovia.hdrc.hdrcServerContext.createOctree ( long  VolumeDataId) throws IOException

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.

Parameters
VolumeDataIdint
Returns
hdrcOctreeContext - Returns null if the call fails.
Exceptions
IOException

References com.fovia.hdrcsrv.hdrcDefines.SMOOTH3D_TRILINEAR.

Referenced by com.fovia.hdrc.hdrcServerContext.createOctree().

hdrcOctreeContext com.fovia.hdrc.hdrcServerContext.createOctree ( long  VolumeDataId,
int  smoothType 
) throws IOException

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.

Parameters
VolumeDataIdint
smoothTypeint
Returns
hdrcOctreeContext
Exceptions
IOException

References com.fovia.hdrc.hdrcServerContext.createOctree().

hdrcOctreeContext com.fovia.hdrc.hdrcServerContext.createOctree ( long  VolumeDataId,
boolean  bSaveMemory,
int  smoothType 
) throws IOException

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.

Parameters
VolumeDataIdint
bSaveMemoryboolean
smoothTypeint
Returns
hdrcOctreeContext
Exceptions
IOException
hdrcPolygonUtilContext com.fovia.hdrc.hdrcServerContext.createPolygonUtil ( ) throws IOException

Creates an hdrcIVolumeSegmentation object. Don't forget to call setVolumeData() on the object once it's been created.

Returns
hdrcIVolumeSegmentation - Returns null if the call fails.
Exceptions
IOException
hdrcRenderEngineContext com.fovia.hdrc.hdrcServerContext.createRenderEngine ( int  Type) throws IOException

Creates a new hdrcRenderEngineContext of the speficied type. See RENDER_ENGINE_ID_* in hdrcDefines for a list of valid types.

Parameters
Typeint
Returns
hdrcRenderEngineContext - Returns null if the call fails.
Exceptions
IOException
hdrcTextureMapContext com.fovia.hdrc.hdrcServerContext.createTextureMap ( ) throws IOException

Creates a hdrcTextureMapContext object

Returns
hdrcTextureMapContext - Returns null if the call fails.
Exceptions
IOException
hdrcVertexCallListContext com.fovia.hdrc.hdrcServerContext.createVertexCallList ( ) throws IOException

Placeholder for createVertexCAllList()

hdrcIVolumeSegmentation com.fovia.hdrc.hdrcServerContext.createVolumeSegmentation ( ) throws IOException

Creates an hdrcIVolumeSegmentation object. Don't forget to call setVolumeData() on the object once it's been created.

Returns
hdrcIVolumeSegmentation - Returns null if the call fails.
Exceptions
IOException
void com.fovia.hdrc.hdrcServerContext.disconnect ( ) throws IOException

Disconnects from the server.

Exceptions
IOException
void com.fovia.hdrc.hdrcServerContext.endServerCall ( )

Used internally for thread synchronization. No need to call this.

hdrcOctreeContext com.fovia.hdrc.hdrcServerContext.finishJobCreateOctree ( long  job) throws IOException

Blocks until the octree creation job is finnished.

Parameters
job
Returns
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.finishJobCustomLoadDataset ( long  job) throws IOException

Waits for an asynchronous load operation to finish.

Parameters
jobThe job ID.
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.finishJobLoadDicomDirectory ( long  job) throws IOException

Waits for an asynchronous DICOM load operation to finish.

Parameters
jobint
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException
hdrcILiteDICOMFile [] com.fovia.hdrc.hdrcServerContext.finishJobLoadDICOMFromFileList ( long  job,
String  paths[] 
) throws IOException

Blocks until the DICOM files have finished loading. If a file failed to load, its position in the array will be null.

Parameters
jobThe job ID.
pathsThe paths to the files. This should be the same array passed into the start function.
Returns
hdrcILiteDICOMFile[] - The file objects allocated on the server.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.finishJobLoadSeriesFromDICOMList ( long  job) throws IOException

Blocks until the series is finished loading into memory.

Parameters
jobThe Job ID
Returns
hdrcVolumeDataContext - The object representing the loaded series. This will be null upon failure.
Exceptions
IOException
hdrcILiteDICOMFile [] com.fovia.hdrc.hdrcServerContext.finishJobScanDICOMDirectory ( long  job) throws IOException

Blocks until the DICOM directory scan completes.

Parameters
jobThe job ID.
Returns
hdrcILiteDICOMFile[] - An array of all the DICOM files found on the server. This can potentially be 0 in length (none found).
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.finishLoadRawFiles ( long  job) throws IOException

Waits for an asynchronous load operation to finish.

Parameters
jobThe job ID.
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException
native long com.fovia.hdrc.hdrcServerContext.getClientVersion ( )

Returns the version of the client SDK this object in created from.

hdrcJobInfo com.fovia.hdrc.hdrcServerContext.getJobInfo ( long  jobID) throws IOException

Returns information about the status of a current asynchronous operation. If progress is 100, the job has completed.

Parameters
jobIDint - The ID value of the job to request info on. This is generated by an asynchronous startJob*() function.
Returns
hdrcJobInfo - A reference to a hdrcJobInfo structure. Returns null if the call fails.
Exceptions
IOException
hdrcDataHolderContext com.fovia.hdrc.hdrcServerContext.getObjectDataHolder ( int  id) throws IOException

Returns a hdrcDataHolderContext for the given object id. This interface is not currently functional.

Parameters
idObject id for the object exposing the DataHolderContext interface.
Returns
hdrcDataHolderContext - Returns null if the call fails.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.getServerVersion ( )

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().

hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadCustomDataset ( int  type,
String  path 
) throws IOException

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.

Parameters
typeType of data to load. This is generally the integer ID value set with IHdrcServer::SetDatasetLoadFunc().
pathPath of the data. This string is formatted based upon what type of data we're loading.
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadDicomDirectory ( String  path) throws IOException

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().

Parameters
pathString
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException
hdrcILiteDICOMFile [] com.fovia.hdrc.hdrcServerContext.loadDICOMFromFileList ( String  paths[]) throws IOException

Loads up DICOM file objects from a list of paths to the file objects.

Parameters
pathsThe paths to the file objects.
Returns
hdrcILiteDICOMFile[] - Array of DICOM file objects. If a file object failed to load, it will be null.
Exceptions
IOException
int com.fovia.hdrc.hdrcServerContext.loadPreset ( String  path,
RENDER_PARAMS  rp 
) throws IOException

Loads an XML preset file stored on the server into the specified RENDER_PARAMS structure.

Parameters
pathPath to the XML file.
rpRENDER_PARAMS
Returns
int - 0 if successful.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadRawData ( String  path) throws IOException

Performs a synchronous load of a RAW file.

Parameters
pathString
Returns
hdrcVolumeDataContext - Returns null if the call fails.
Exceptions
IOException

Referenced by com.fovia.hdrc.hdrcServerContext.loadVolumeData().

hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadRawFiles ( RAW_DATASET_DESCRIPTION  rdd) throws IOException

Loads up multi-file RAW dataset defined by RAW_DATASET_DESCRIPTION.

Parameters
rddDefinition of the dataset to load.
Returns
id - Array of DICOM file objects. If a file object failed to load, it will be null.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadSeriesFromDICOMList ( hdrcILiteDICOMFile  files[],
String  seriesUID 
) throws IOException

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.

Parameters
filesFiles to scan.
seriesUIDUID of the series to load. You can qeury this by getting the DCM_SeriesInstanceUID from a file in the series.
Returns
hdrcVolumeDataContext - Will be null if loading fails.
Exceptions
IOException
hdrcVolumeDataContext com.fovia.hdrc.hdrcServerContext.loadVolumeData ( String  path) throws IOException

Provided for legacy support.

Parameters
pathString
Returns
hdrcVolumeDataContext
Exceptions
IOException

References com.fovia.hdrc.hdrcServerContext.loadRawData().

int com.fovia.hdrc.hdrcServerContext.savePreset ( String  path,
RENDER_PARAMS  rp 
) throws IOException

Saves the current RENDER_PARAMS into an XML file on the server.

Parameters
pathPath to the location the file should be stored.
rpRENDER_PARAMS
Returns
int - 0 if successful.
Exceptions
IOException
hdrcILiteDICOMFile [] com.fovia.hdrc.hdrcServerContext.scanDICOMDirectory ( String  path) throws IOException

Scans a directory for DICOM files. This is a recursive scan, so subfolders will be searched as well.

Parameters
pathPath to the directory on the server
Returns
hdrcILiteDICOMFile[] - DICOM file objects representing all of the valid DICOM files found.
Exceptions
IOException
static native int com.fovia.hdrc.hdrcServerContext.setLoggingEnabled ( boolean  bEnabled,
int  logLevel,
String  loggingRoot 
)
static

Enables client side event logging.

Parameters
bEnabledIf true, logging is enabled, if false, logging is disabled.
logLevelAn intger value corrosponding to a bitmask enabling different logging features. Logging bitflags are shown below.

TO_SHOW_COMMANDS (1 << 0) - Logs commands sent to server. TO_SHOW_COMMAND_TIME (1 << 1) - Logs time taken by to execute each command. TO_SHOW_COMMAND_ARGUMENTS (1 << 2) - Logs command arguments. TO_SHOW_COMMAND_RESULTS (1 << 3) - Logs command results. TO_SHOW_COMMAND_DEBUG1 (1 << 4) - Logs basic debug info. TO_SHOW_COMMAND_DEBUG2 (1 << 5) - Logs in depth debug info. TO_SHOW_COMMAND_DEBUG3 (1 << 6) - Logs most verbose debug info.

Parameters
loggingRootA text string that will be prepended to the log file name.
long com.fovia.hdrc.hdrcServerContext.startJobCreateOctree ( long  VolumeDataId,
boolean  bSaveMemory,
int  smoothType 
) throws IOException

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.

Parameters
VolumeDataId
bSaveMemory
smoothType
Returns
int - Less than 0 indicates failure.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobLoadCustomDataset ( int  loadtype,
String  path 
) throws IOException

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.

Parameters
loadtypeType of data to load. This is generally the integer ID value set with IHdrcServer::SetDatasetLoadFunc(). 1001 is the ini-based shared memory load.
pathPath to the data. Format depends upon loadtype.
Returns
int - The job id of the load operation.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobLoadDicomDirectory ( String  path) throws IOException

Starts an asynchronous load of a DICOM directory. See startJobLoadCustomDataset(int,String) for more information on this process.

Parameters
pathPath to the DICOM directory to load.
Returns
int - Returns the job ID of the load operation.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobLoadDICOMFromFileList ( String  paths[]) throws IOException

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.

Parameters
pathsLocation on the server of each of the files to load.
Returns
int - Less than 0 indicates failure
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobLoadRawData ( String  path) throws IOException

Starts an asynchronous load of a RAW file. See startJobLoadCustomDataset(int,String) for more information on this process.

Parameters
pathPath to the RAW file to load.
Returns
int - Returns the job ID of the load operation.
Exceptions
IOException

References com.fovia.hdrcsrv.hdrcDefines.LDO_RAW_DATASET_PATH, and com.fovia.hdrcsrv.hdrcDefines.LDO_SEGY_DATASET_PATH.

long com.fovia.hdrc.hdrcServerContext.startJobLoadRawFiles ( RAW_DATASET_DESCRIPTION  rdd) throws IOException

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.

Parameters
rddDefinition of the dataset to load.
Returns
int - The job id of the load operation.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobLoadSeriesFromDICOMList ( hdrcILiteDICOMFile  files[],
String  seriesUID 
) throws IOException

Begins loading a DICOM series into memory for volume rendering. 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.

Parameters
filesThe files that contain the series. Note that this can contain a sub-sequence of the series.
seriesUIDUID of the series to load. You can qeury this by getting the DCM_SeriesInstanceUID from a file in the series.
Returns
int - Less than 0 indicates failure.
Exceptions
IOException
long com.fovia.hdrc.hdrcServerContext.startJobScanDICOMDirectory ( String  path) throws IOException

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.

Parameters
pathLocation of the DICOM directory on the server.
Returns
int - Less than 0 indicates failure.
Exceptions
IOException
int com.fovia.hdrc.hdrcServerContext.updateVertexCallLists ( hdrcVertexCallListContext  callLists[]) throws IOException

Member Data Documentation

Object com.fovia.hdrc.hdrcServerContext.m_opMutex = new Object()

Object used internally to synchronize network operations.