Fovia's .NET Client/Server API
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.fovia.hdrcsrv.RENDER_PARAMS Class Reference
Inheritance diagram for com.fovia.hdrcsrv.RENDER_PARAMS:
Cloneable qdxml.DocHandler com.fovia.hdrcsrv.hdrcDefines com.fovia.hdrcsrv.clientConfig

Public Member Functions

void adjustZoomForNewSize (int oldWidth, int oldHeight, int newWidth, int newHeight)
 
Object clone () throws CloneNotSupportedException
 
void combineWith (RENDER_PARAMS src)
 
boolean differsWith (RENDER_PARAMS src)
 
void endDocument () throws Exception
 
void endElement (String tag) throws Exception
 
int getBackColor ()
 
int getBrightness ()
 
int getCbSize ()
 
int getColorModel ()
 
CROP_BOX_PARAMS getCropBox ()
 
CUT_PLANE_PARAMS[] getCutPlanes ()
 
int getCutPlanesMode ()
 
int getDesiredFPS ()
 
int getDifferingFlags (RENDER_PARAMS src)
 
int getDifferingParams (RENDER_PARAMS src)
 
int getFlags ()
 
int getFlagsMask ()
 
int getGradInsenSlab ()
 
int getLightModel ()
 
int getMask ()
 
int getQuality ()
 
int getRaycastingPrecision ()
 
int getReflection ()
 
SIZE getRenderImageSize ()
 
int getRenderRangeMax ()
 
int getRenderRangeMin ()
 
RENDER_RANGE_PARAMS[] getRenderRanges ()
 
int getRenderSamples ()
 
int getRenderType ()
 
int getReserved ()
 
int getShininess ()
 
float getSlabThickness ()
 
MATRIX44D getTransform ()
 
float getViewAngle ()
 
float getZoom ()
 
boolean loadFromXML (String path)
 
boolean loadFromXML (InputStream is)
 
RENDER_PARAMS ourClone ()
 
void read (hdrcSerializer ser) throws IOException
 
void read (hdrcSerializer ser, int version) throws IOException
 
boolean rearCutEnabled ()
 
 RENDER_PARAMS ()
 
void roundUpImageSize ()
 
boolean saveToXML (String path)
 
boolean saveToXML (OutputStream os)
 
void setBackColor (int BackColor)
 
void setBrightness (int Brightness)
 
void setCbSize (int cbSize)
 
void setColorModel (int ColorModel)
 
void setCropBox (CROP_BOX_PARAMS CropBox)
 
void setCutPlanes (CUT_PLANE_PARAMS CutPlanes[])
 
void setCutPlanesMode (int CutPlanesMode)
 
void setDefaults ()
 
void setDesiredFPS (int DesiredFPS)
 
void setFlags (int Flags)
 
void setFlagsMask (int FlagsMask)
 
void setGradInsenSlab (int GradInsenSlab)
 
void setLightModel (int LightModel)
 
void setMask (int Mask)
 
void setQuality (int Quality)
 
void setRaycastingPrecision (int RaycastingPrecision)
 
void setReflection (int Reflection)
 
void setRenderImageSize (SIZE RenderImageSize)
 
void setRenderRangeMax (int RenderRangeMax)
 
void setRenderRangeMin (int RenderRangeMin)
 
void setRenderRanges (RENDER_RANGE_PARAMS RenderRanges[])
 
void setRenderSamples (int RenderSamples)
 
void setRenderType (int RenderType)
 
void setReserved (int Reserved)
 
void setShininess (int Shininess)
 
void setSlabThickness (float SlabThickness)
 
void setTransform (MATRIX44D Transform)
 
void setViewAngle (float ViewAngle)
 
void setZoom (float Zoom)
 
void startDocument () throws Exception
 
void startElement (String tag, Hashtable< String, String > h) throws Exception
 
void text (String str) throws Exception
 
String toString ()
 
void write (hdrcSerializer ser) throws IOException
 

Static Public Member Functions

static int HDRC_RGB (int r, int g, int b)
 
static int HDRC_RGBA (int r, int g, int b, int a)
 
static boolean isRenderTypePerspective (int renderType)
 

Public Attributes

int Ambience
 
short AutoNav = 0
 
double AutoNavSpeed
 
int BackColor
 
int Brightness
 
int cbSize
 
int ColorModel
 
CROP_BOX_PARAMS CropBox = new CROP_BOX_PARAMS()
 
CUT_PLANE_PARAMS CutPlanes [] = new CUT_PLANE_PARAMS[MAX_CUTPLANES]
 
int CutPlanesMode
 
int DesiredFPS
 
int Flags
 
int FlagsMask
 
int FrontSlabPolygonTransparency
 
int GradInsenSlab
 
int LightModel
 
LIGHT_DEFINITION LightParams = new LIGHT_DEFINITION()
 
int Mask
 
int MinQualityBias
 
int NumRenderingThreads
 
int Quality
 
int RaycastingPrecision
 
int RearSlabPolygonTransparency
 
int Reflection
 
SIZE RenderImageSize = new SIZE()
 
int RenderRangeMax
 
int RenderRangeMin
 
RENDER_RANGE_PARAMS[] RenderRanges = new RENDER_RANGE_PARAMS[8]
 
int RenderSamples
 
int RenderType
 
int Reserved
 
int Shininess
 
float SlabThickness
 
int StereoMode
 
double StereoSeparation
 
MATRIX44D Transform = new MATRIX44D()
 
float ViewAngle
 
float Zoom
 

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
 
- Static Public Attributes inherited from com.fovia.hdrcsrv.clientConfig
static final boolean NO_NORMALIZE = false
 

Detailed Description

Specifies rendering parameters to a rendering engine.

RENDER_PARAMS::Mask allows you to set/get a part of the rendering parameters. It will be generally a bit faster to update the changing part of rendering parameters instead of setting all of them. For instance, when only orientation is changed the RENDER_PARAMS::Mask should be set to RPM_TRANSFORM.

Similarly, RENDER_PARAMS::FlagsMask specifies which of the flags are valid in this object. For example. A FlagsMask of RF_DONT_NORMALIZE_TF and Flags of 0 means that RF_DONT_NORMALIZE_TF is valid in this object and it is being set to false. If Flags were set to RF_NO_NORMALIZE as well, it would be set to true.

As a rule of thumb, zero(s) are considered the default value, but the following fields
must be initialized on first call:
  @li #RenderType -- the rendering type
  @li #Transform -- must have meaningful values (i.e. at least identity matrix)
  @li #RenderRanges -- must be filled for parallel/perspective rendering
  @li #RenderRangeMin-- must be filled for mpr/mip/ave rendering
  @li #RenderRangeMax -- must be filled for mpr/mip/ave rendering

Constructor & Destructor Documentation

com.fovia.hdrcsrv.RENDER_PARAMS.RENDER_PARAMS ( )

Member Function Documentation

Object com.fovia.hdrcsrv.RENDER_PARAMS.clone ( ) throws CloneNotSupportedException

Do not use this clone(). Instead, use the ourClone() function to create a copy of a RENDER_PARAMS.

Returns
Object
Exceptions
CloneNotSupportedException

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.ourClone().

void com.fovia.hdrcsrv.RENDER_PARAMS.combineWith ( RENDER_PARAMS  src)

Combines src with this structure. The Flags member is taken into account.

Parameters
srcRENDER_PARAMS

References com.fovia.hdrcsrv.RENDER_PARAMS.Ambience, com.fovia.hdrcsrv.RENDER_PARAMS.BackColor, com.fovia.hdrcsrv.RENDER_PARAMS.Brightness, com.fovia.hdrcsrv.RENDER_PARAMS.ColorModel, com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanes, com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanesMode, com.fovia.hdrcsrv.RENDER_PARAMS.DesiredFPS, com.fovia.hdrcsrv.LIGHT_DEFINITION.dir, com.fovia.hdrcsrv.RENDER_PARAMS.Flags, com.fovia.hdrcsrv.RENDER_PARAMS.FlagsMask, com.fovia.hdrcsrv.RENDER_PARAMS.FrontSlabPolygonTransparency, com.fovia.hdrcsrv.RENDER_PARAMS.GradInsenSlab, com.fovia.hdrcsrv.RENDER_PARAMS.LightModel, com.fovia.hdrcsrv.RENDER_PARAMS.LightParams, com.fovia.hdrcsrv.RENDER_PARAMS.Mask, com.fovia.hdrcsrv.RENDER_PARAMS.MinQualityBias, com.fovia.hdrcsrv.RENDER_PARAMS.NumRenderingThreads, com.fovia.hdrcsrv.RENDER_PARAMS.Quality, com.fovia.hdrcsrv.RENDER_PARAMS.RaycastingPrecision, com.fovia.hdrcsrv.RENDER_PARAMS.RearSlabPolygonTransparency, com.fovia.hdrcsrv.RENDER_PARAMS.Reflection, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMax, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMin, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRanges, com.fovia.hdrcsrv.RENDER_PARAMS.RenderSamples, com.fovia.hdrcsrv.RENDER_PARAMS.RenderType, com.fovia.hdrcsrv.hdrcDefines.RPM_AMBIENCE, com.fovia.hdrcsrv.hdrcDefines.RPM_BACK_COLOR, com.fovia.hdrcsrv.hdrcDefines.RPM_BRIGHTNESS, com.fovia.hdrcsrv.hdrcDefines.RPM_COLOR_MODEL, com.fovia.hdrcsrv.hdrcDefines.RPM_CROP_BOX, com.fovia.hdrcsrv.hdrcDefines.RPM_CUT_PLANES, com.fovia.hdrcsrv.hdrcDefines.RPM_DESIRED_FPS, com.fovia.hdrcsrv.hdrcDefines.RPM_FRONT_SLAB_POLYGON_TRANSPARENCY, com.fovia.hdrcsrv.hdrcDefines.RPM_GRAD_INSEN_SLAB, com.fovia.hdrcsrv.hdrcDefines.RPM_LIGHT_MODEL, com.fovia.hdrcsrv.hdrcDefines.RPM_LIGHT_PARAMS, com.fovia.hdrcsrv.hdrcDefines.RPM_MIN_QUALITY_BIAS, com.fovia.hdrcsrv.hdrcDefines.RPM_NUM_RENDERING_THREADS, com.fovia.hdrcsrv.hdrcDefines.RPM_QUALITY, com.fovia.hdrcsrv.hdrcDefines.RPM_RAYCASTING_PRECISION, com.fovia.hdrcsrv.hdrcDefines.RPM_REAR_SLAB_POLYGON_TRANSPARENCY, com.fovia.hdrcsrv.hdrcDefines.RPM_REFLECTION, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_IMAGE_SIZE, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_RANGE_MIN_MAX, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_RANGES, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_SAMPLES, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_TYPE, com.fovia.hdrcsrv.hdrcDefines.RPM_SHININESS, com.fovia.hdrcsrv.hdrcDefines.RPM_SLAB_THICKNESS, com.fovia.hdrcsrv.hdrcDefines.RPM_STEREO_MODE, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_RSS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_XPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_YPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_ZPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_VIEW_ANGLE, com.fovia.hdrcsrv.hdrcDefines.RPM_ZOOM, com.fovia.hdrcsrv.RENDER_PARAMS.Shininess, com.fovia.hdrcsrv.RENDER_PARAMS.SlabThickness, com.fovia.hdrcsrv.RENDER_PARAMS.StereoMode, com.fovia.hdrcsrv.RENDER_PARAMS.StereoSeparation, com.fovia.hdrcsrv.RENDER_PARAMS.Transform, com.fovia.hdrcsrv.RENDER_PARAMS.ViewAngle, and com.fovia.hdrcsrv.RENDER_PARAMS.Zoom.

boolean com.fovia.hdrcsrv.RENDER_PARAMS.differsWith ( RENDER_PARAMS  src)

Returns true if src is in any way different than this object.

Parameters
srcThe object to compare this object to.

References com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingFlags(), and com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

void com.fovia.hdrcsrv.RENDER_PARAMS.endDocument ( ) throws Exception

For XML parser. Do not call directly.

Exceptions
Exception

Implements qdxml.DocHandler.

void com.fovia.hdrcsrv.RENDER_PARAMS.endElement ( String  tag) throws Exception
int com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingFlags ( RENDER_PARAMS  src)

Returns the Mask of the differing flags with rp.

Parameters
srcRENDER_PARAMS to compare with.
Returns
A mask with the bits representing the differing flags set to 1. All other bits are 0.

References com.fovia.hdrcsrv.RENDER_PARAMS.Flags, and com.fovia.hdrcsrv.RENDER_PARAMS.FlagsMask.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.differsWith().

int com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams ( RENDER_PARAMS  src)

Returns the Mask of the differing parameters with rp.

Parameters
srcRENDER_PARAMS to compare with.
Returns
A mask with the bits representing the differing flags set to 1. All other bits are 0.

References com.fovia.hdrcsrv.PLANEEQF.a, com.fovia.hdrcsrv.RENDER_PARAMS.Ambience, com.fovia.hdrcsrv.RENDER_RANGE_PARAMS.aPnt, com.fovia.hdrcsrv.LIGHT_DEFINITION.attachment, com.fovia.hdrcsrv.PLANEEQF.b, com.fovia.hdrcsrv.RENDER_PARAMS.BackColor, com.fovia.hdrcsrv.RENDER_PARAMS.Brightness, com.fovia.hdrcsrv.PLANEEQF.c, com.fovia.hdrcsrv.COLORED_POINT.c, com.fovia.hdrcsrv.COLORED_POINT.c2, com.fovia.hdrcsrv.RENDER_PARAMS.ColorModel, com.fovia.hdrcsrv.RENDER_PARAMS.CropBox, com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanes, com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanesMode, com.fovia.hdrcsrv.SIZE.cx, com.fovia.hdrcsrv.SIZE.cy, com.fovia.hdrcsrv.PLANEEQF.d, com.fovia.hdrcsrv.RENDER_PARAMS.DesiredFPS, com.fovia.hdrcsrv.LIGHT_DEFINITION.dir, com.fovia.hdrcsrv.RENDER_PARAMS.FrontSlabPolygonTransparency, com.fovia.hdrcsrv.RENDER_PARAMS.GradInsenSlab, com.fovia.hdrcsrv.RENDER_RANGE_PARAMS.iPnt, com.fovia.hdrcsrv.COLORED_POINT.lighting1, com.fovia.hdrcsrv.COLORED_POINT.lighting2, com.fovia.hdrcsrv.RENDER_PARAMS.LightModel, com.fovia.hdrcsrv.RENDER_PARAMS.LightParams, com.fovia.hdrcsrv.RENDER_PARAMS.Mask, com.fovia.hdrcsrv.RANGE_PARAMS.Max, com.fovia.hdrcsrv.RANGE_PARAMS.Min, com.fovia.hdrcsrv.RENDER_PARAMS.MinQualityBias, com.fovia.hdrcsrv.RENDER_PARAMS.NumRenderingThreads, com.fovia.hdrcsrv.CUT_PLANE_PARAMS.Plane, com.fovia.hdrcsrv.RENDER_PARAMS.Quality, com.fovia.hdrcsrv.RENDER_PARAMS.RaycastingPrecision, com.fovia.hdrcsrv.RENDER_PARAMS.RearSlabPolygonTransparency, com.fovia.hdrcsrv.RENDER_PARAMS.Reflection, com.fovia.hdrcsrv.RENDER_PARAMS.RenderImageSize, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMax, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMin, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRanges, com.fovia.hdrcsrv.RENDER_PARAMS.RenderSamples, com.fovia.hdrcsrv.RENDER_PARAMS.RenderType, com.fovia.hdrcsrv.hdrcDefines.RPM_AMBIENCE, com.fovia.hdrcsrv.hdrcDefines.RPM_BACK_COLOR, com.fovia.hdrcsrv.hdrcDefines.RPM_BRIGHTNESS, com.fovia.hdrcsrv.hdrcDefines.RPM_COLOR_MODEL, com.fovia.hdrcsrv.hdrcDefines.RPM_CROP_BOX, com.fovia.hdrcsrv.hdrcDefines.RPM_CUT_PLANES, com.fovia.hdrcsrv.hdrcDefines.RPM_DESIRED_FPS, com.fovia.hdrcsrv.hdrcDefines.RPM_FRONT_SLAB_POLYGON_TRANSPARENCY, com.fovia.hdrcsrv.hdrcDefines.RPM_GRAD_INSEN_SLAB, com.fovia.hdrcsrv.hdrcDefines.RPM_LIGHT_MODEL, com.fovia.hdrcsrv.hdrcDefines.RPM_LIGHT_PARAMS, com.fovia.hdrcsrv.hdrcDefines.RPM_MIN_QUALITY_BIAS, com.fovia.hdrcsrv.hdrcDefines.RPM_NUM_RENDERING_THREADS, com.fovia.hdrcsrv.hdrcDefines.RPM_QUALITY, com.fovia.hdrcsrv.hdrcDefines.RPM_RAYCASTING_PRECISION, com.fovia.hdrcsrv.hdrcDefines.RPM_REAR_SLAB_POLYGON_TRANSPARENCY, com.fovia.hdrcsrv.hdrcDefines.RPM_REFLECTION, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_IMAGE_SIZE, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_RANGE_MIN_MAX, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_RANGES, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_SAMPLES, com.fovia.hdrcsrv.hdrcDefines.RPM_RENDER_TYPE, com.fovia.hdrcsrv.hdrcDefines.RPM_SHININESS, com.fovia.hdrcsrv.hdrcDefines.RPM_SLAB_THICKNESS, com.fovia.hdrcsrv.hdrcDefines.RPM_STEREO_MODE, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_RSS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_XPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_YPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_TRANSFORM_ZPOS, com.fovia.hdrcsrv.hdrcDefines.RPM_VIEW_ANGLE, com.fovia.hdrcsrv.hdrcDefines.RPM_ZOOM, com.fovia.hdrcsrv.RENDER_PARAMS.Shininess, com.fovia.hdrcsrv.RENDER_PARAMS.SlabThickness, com.fovia.hdrcsrv.RENDER_RANGE_PARAMS.Status, com.fovia.hdrcsrv.CUT_PLANE_PARAMS.Status, com.fovia.hdrcsrv.RENDER_PARAMS.StereoMode, com.fovia.hdrcsrv.RENDER_PARAMS.StereoSeparation, com.fovia.hdrcsrv.RENDER_PARAMS.Transform, com.fovia.hdrcsrv.CUT_PLANE_PARAMS.Type, com.fovia.hdrcsrv.RENDER_RANGE_PARAMS.Type, com.fovia.hdrcsrv.RENDER_PARAMS.ViewAngle, com.fovia.hdrcsrv.VECTOR3D.x, com.fovia.hdrcsrv.COLORED_POINT.x, com.fovia.hdrcsrv.VECTOR3D.y, com.fovia.hdrcsrv.COLORED_POINT.y, com.fovia.hdrcsrv.COLORED_POINT.y2, com.fovia.hdrcsrv.VECTOR3D.z, and com.fovia.hdrcsrv.RENDER_PARAMS.Zoom.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.differsWith().

static boolean com.fovia.hdrcsrv.RENDER_PARAMS.isRenderTypePerspective ( int  renderType)
static

Returns true if the current render type is a perspective projection. Returns false if the current render type is an orthographic (or parallel) projection.

Parameters
renderType
Returns

References com.fovia.hdrcsrv.hdrcDefines.RT_PERSPECTIVE, com.fovia.hdrcsrv.hdrcDefines.RT_THICK_MINIP_PERSPECTIVE, and com.fovia.hdrcsrv.hdrcDefines.RT_THICK_MIP_PERSPECTIVE.

Referenced by com.fovia.hdrc.interact.hdrcPanAdapter.mousePressed().

boolean com.fovia.hdrcsrv.RENDER_PARAMS.loadFromXML ( String  path)

Loads a render engine state from an XML file on the local disk. This function is NOT thread safe.

Parameters
pathPath to the file.
Returns
boolean - If false, throw away the structure. Loading failed.
boolean com.fovia.hdrcsrv.RENDER_PARAMS.loadFromXML ( InputStream  is)

Loads a render engine state from the specified InputStream.

Parameters
isThe stream from which we should load the data
Returns
- If false, throw away the structure. Loading failed.

References com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanes, com.fovia.hdrcsrv.RENDER_PARAMS.Flags, com.fovia.hdrcsrv.RENDER_PARAMS.FlagsMask, com.fovia.hdrcsrv.RENDER_PARAMS.RenderRanges, and com.fovia.hdrcsrv.hdrcDefines.RF_FRONT_CLIPPING_PLANE_ENABLED.

RENDER_PARAMS com.fovia.hdrcsrv.RENDER_PARAMS.ourClone ( )
boolean com.fovia.hdrcsrv.RENDER_PARAMS.rearCutEnabled ( )
boolean com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML ( String  path)

Writes the contents of this RENDER_PARAMS structure to a human readable XML file at the specified path.

Parameters
pathThe path to where the file should be saved.
Returns
boolean com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML ( OutputStream  os)
void com.fovia.hdrcsrv.RENDER_PARAMS.startDocument ( ) throws Exception

For XML parser. Do not call directly.

Exceptions
Exception

Implements qdxml.DocHandler.

void com.fovia.hdrcsrv.RENDER_PARAMS.startElement ( String  tag,
Hashtable< String, String >  h 
) throws Exception

For XML parser. Do not call directly.

Parameters
tagString
hHashtable
Exceptions
Exception

Implements qdxml.DocHandler.

void com.fovia.hdrcsrv.RENDER_PARAMS.text ( String  str) throws Exception

For XML parser. Do not call directly.

Parameters
strString
Exceptions
Exception

Implements qdxml.DocHandler.

String com.fovia.hdrcsrv.RENDER_PARAMS.toString ( )

Member Data Documentation

int com.fovia.hdrcsrv.RENDER_PARAMS.Ambience

Phong ambience coefficient. Only applicable for RT_PARALLEL and RT_PERSPECTIVE rendering modes. Values from [0..255] will map to coefficients of [0..1] in the lighting calculation.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), and com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

short com.fovia.hdrcsrv.RENDER_PARAMS.AutoNav = 0

Only relevant when passing this directly to an hdrcRenderEngineContext. Do not use this when a queue is in place. It will be ignored. 0 = false and 1 = true.

double com.fovia.hdrcsrv.RENDER_PARAMS.AutoNavSpeed

Only relevant when passing this directly to an hdrcRenderEngineContext. Do not use this when a queue is in place. It will be ignored.

int com.fovia.hdrcsrv.RENDER_PARAMS.BackColor

The background color behind the rendered image. Note that in Thin rendering modes the background will always be black since we supply 8-bit grayscale output. Also note that due to implementation details valid values are 0-254 for each component at this time. Therefore, pure white (255,255,255) is not achievable.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.Brightness

Phong brightness coefficient. Only applicable for RT_PARALLEL and RT_PERSPECTIVE rendering modes. Values from [0..255] will map to coefficients of [0..1] in the lighting calculation.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.cbSize

Total size of the structure.

int com.fovia.hdrcsrv.RENDER_PARAMS.ColorModel
CROP_BOX_PARAMS com.fovia.hdrcsrv.RENDER_PARAMS.CropBox = new CROP_BOX_PARAMS()
Deprecated:
This is not currently in use. Use CutPlanes to apply a cropping box.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

CUT_PLANE_PARAMS com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanes[] = new CUT_PLANE_PARAMS[MAX_CUTPLANES]

Currently, you may set each of these 16 cut planes to perform planar segmentation of your volume.

Note: Two additional cutplanes are implicitly provided by the projection plane itself and the slab thickness.

Applies to: RT_PARALLEL and all RT_THICK_* modes.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrcsrv.RENDER_PARAMS.loadFromXML(), com.fovia.hdrcsrv.RENDER_PARAMS.ourClone(), com.fovia.hdrcsrv.RENDER_PARAMS.RENDER_PARAMS(), com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML(), and com.fovia.hdrcsrv.RENDER_PARAMS.toString().

int com.fovia.hdrcsrv.RENDER_PARAMS.CutPlanesMode

This parameter is basically ignored because the only cut plane mode supported is CUT_PLANE_MODE_STANDARD (0).

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.DesiredFPS

Hint for the desired FPS setting from the rendering. 0 is a special value that disables the automatic quality/performance balancing sub-system. You will want a DesiredFPS of 0 if you wish to get a valid frame rate benchmark from the engine.

Otherwise, DesiredFPS will dictate what the minimum acceptable frame rate will be for the engine. After each frame is rendered, the engine will assess the time taken to render. If it appears the frame rate will be lower than acceptable, then the quality of interactive rendering will be reduced to bring the frame rate up. There is a lower threshold on how far the quality will degrade, so it is possible to get a lower frame rate than DesiredFPS is asking for. Similarly, if the machine is so fast that the highest quality level is achieved, then the frame rate may be higher than DesiredFPS.

Note
This parameter applies to interactive renders ONLY. Final renders are always at the top render quality.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.Flags
int com.fovia.hdrcsrv.RENDER_PARAMS.FlagsMask
int com.fovia.hdrcsrv.RENDER_PARAMS.FrontSlabPolygonTransparency

Sets the transparency of polygon objects in front of the projection plane. If 0, objects in front of the projection plane are fully visible. If 255, objects in front of the projection plane are not visible at all. Values in between will be represented by intermediate levels of transparency.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), and com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

int com.fovia.hdrcsrv.RENDER_PARAMS.GradInsenSlab

This is the distance from any cut plane (including the front of the slab) in volume units in which the renderer will not do the lighting calculation. This includes the cut planes defined by the slab created between the projection plane position and said position + SlabThickness. This field is only valid for parallel rendering. Note that you can also affect the lighting calculation by toggling lighting for a COLORED_POINT on the transfer function or setting the render flag RF_USE_GRADIENTS to false. Acceptable values are [0, 4096].

IMPORTANT: The depth is calculated as a distance from the eye location in the view direction. This means that the depth is dependent upon the view direction. Therefore, all cut planes other than the front of the slab will have their lighting depth move based upon your viewing angle in relation to the cut plane. The exception to this is when GradInsenSlab is set to 1. This special case will turn off lighting for the surface of the cut plane and will not have this view direction dependent behavior. As a result, 0,1, and 4096 are the recommended values to use for this field.

See also
RF_USE_GRADIENTS, COLORED_POINT

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.LightModel
Deprecated:
Perspective rendering always uses LIGHT_MODEL_HEADLIGHT and parallel always uses LIGHT_MODEL_BEAM. Setting this field does nothing to affect that.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

LIGHT_DEFINITION com.fovia.hdrcsrv.RENDER_PARAMS.LightParams = new LIGHT_DEFINITION()
int com.fovia.hdrcsrv.RENDER_PARAMS.Mask

Set of flags that specify which members of this structure contain data to be set or which members are being requested. The definitions for RPM_* will have more detailed information on the bit representation of the mask.

Requesting or setting a RENDER_PARAMS structures with no bits turned on in the Mask variable and in the FlagsMask variable is allowed, but completely redundant.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML(), and com.fovia.hdrcsrv.RENDER_PARAMS.toString().

int com.fovia.hdrcsrv.RENDER_PARAMS.MinQualityBias

Sets the minimum quality threshold for the DesiredFPS field. Valid values are [256,768]. 256 is the default and is the highest minimum quality allowed. 768 is the lowest minimum quality allowed.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), and com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

int com.fovia.hdrcsrv.RENDER_PARAMS.NumRenderingThreads

Specifies the average number of threads to use when rendering. Valid values are 4, 16, 64 and 256 as described below:

  • 4 - Optimal for 1 core machines
  • 16 - Optimal for 2 core machines
  • 64 - Optimal for 4 core machines
  • 256 - Optimal for 8 or more core machines

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.Quality

Quality level. This value defines the overall level of quality for the final rendered image. The progressive rendering stage 0 is influenced by the DesiredFPS field, but both progressive and final rendering are affected by quality. RENDER_QUALITY_BETTER is a good level to use if your machine has 8 cores. Less cores might necessitate lower quality settings.

Note
Thin rendering modes do not use this value. They are always at the highest quality level.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.RaycastingPrecision

Higher gradient sensitivity will cause more precise rendering of semi-transparent regions. Note that the differences in output images from this parameter are extremely subtle and will likely not be noticeable to the end user. For that reason, leaving this parameter alone is usually the best practice.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.RearSlabPolygonTransparency

Sets the transparency of polygon objects in back of the clip plane SlabThickness volume units from the projection plane. If 0, objects in this area are fully visible. If 255, objects in this area are not visible at all. Values in between will be represented by intermediate levels of transparency.

Note
Unlike the front slab transparency, this is implemented internally by manually cutting all polygons that cross the projection plane into two polygons and applying the appropriate transparency. As a result, all vertices will be transformed with every movement of the slab and this function is not free. Therefore, it is advised to use this function sparingly if very high polygon counts are to be used.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), and com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams().

int com.fovia.hdrcsrv.RENDER_PARAMS.Reflection

Phong reflection coefficient. Only applicable for RT_PARALLEL and RT_PERSPECTIVE rendering modes. Values from [0..255] will map to coefficients of [0..1] in the lighting calculation.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

SIZE com.fovia.hdrcsrv.RENDER_PARAMS.RenderImageSize = new SIZE()

Size of the rendering image matrix. Renering image size affects the speed and quality of the output image. Large image sizes provide more detail, while smaller image sizes increase rendering speed.

The width and height must be multiples of 16 and the current maximum render image size is 8192x8192.

Referenced by com.fovia.hdrc.utils.hdrc3DHelpers.foviaRefToDICOM(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getPointLocation(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrc.interact.hdrcZoomAdapter.mouseDragged(), and com.fovia.hdrc.interact.hdrcFHCutAdapter.mouseReleased().

int com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMax

Window maximum value. Applicable for Thin and Thick MIP/MPR modes. If RF_DONT_NORMALIZE_TF is set, this is in the range specified by the actual volume data. Otherwise, the minimum scalar value is mapped to 0 and the maximum scalar value is mapped to 65535. All other values are interpolated using these anchor points. Note that values outside of the data range are acceptable.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrc.interact.hdrcWindowLevelAdaptor.mouseDragged(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.RenderRangeMin

Window minimum value. Applicable for Thin and Thick MIP/MPR modes. If RF_DONT_NORMALIZE_TF is set, this is in the range specified by the actual volume data. Otherwise, the minimum scalar value is mapped to 0 and the maximum scalar value is mapped to 65535. All other values are interpolated using these anchor points. Note that values outside of the data range are acceptable.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrc.interact.hdrcWindowLevelAdaptor.mouseDragged(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

RENDER_RANGE_PARAMS [] com.fovia.hdrcsrv.RENDER_PARAMS.RenderRanges = new RENDER_RANGE_PARAMS[8]

These ranges specify the transfer function for parallel and perspective rendering. There can be MAX_RENDER_RANGES_PARAMS of these ranges and they represent a segment of control points that specify color and opacity for that segment. All values outside of a render range are completely invisible. A render range can be quickly turned off by setting its RENDER_RANGE_PARAMS::Status to RENDER_RANGE_STATUS_DISABLED.

This field is not used by rendering modes other than RT_PARALLEL and RT_PERSPECTIVE.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrcsrv.RENDER_PARAMS.loadFromXML(), com.fovia.hdrc.interact.hdrcWindowLevelAdaptor.mouseDragged(), com.fovia.hdrcsrv.RENDER_PARAMS.ourClone(), com.fovia.hdrcsrv.RENDER_PARAMS.RENDER_PARAMS(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.RenderSamples
int com.fovia.hdrcsrv.RENDER_PARAMS.RenderType
int com.fovia.hdrcsrv.RENDER_PARAMS.Reserved

Reserved for future use

int com.fovia.hdrcsrv.RENDER_PARAMS.Shininess

Phong shininess coefficient. Only applicable for RT_PARALLEL and RT_PERSPECTIVE rendering modes. Values from [0..255] will map to coefficients of [0..1] in the lighting calculation.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

float com.fovia.hdrcsrv.RENDER_PARAMS.SlabThickness

When rendering in MIP modes or in RT_PARALLEL with RF_USE_SLAB_PAR defined, this describes the distance from the projection plane in volume units where we should stop our rays from continuing. A slab thickness of 0 is an infinitely think slab and in MIP/MPR rendering the voxels are sampled directly in a thin slice. The maximum recommended value for RT_THIN_* rendering modes is 50. Otherwise, the maximum acceptable value is 4096.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrc.utils.hdrc3DHelpers.distanceToSlabCenter(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

int com.fovia.hdrcsrv.RENDER_PARAMS.StereoMode

Allows you to put the engine into stereo viewing mode. Note that stereo viewing is not supported for thin rendering modes. Also, when stereo is enabled in parallel rendering, you will not be able to cut through the volume with the projection plane (or SlabThickness).

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

double com.fovia.hdrcsrv.RENDER_PARAMS.StereoSeparation

Specify 0.0 for an automatic separation calculated based upon the average depth of the scene. Otherwise, a number in the range (0,1] should be specified.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().

MATRIX44D com.fovia.hdrcsrv.RENDER_PARAMS.Transform = new MATRIX44D()

The transform used for rendering includes X,Y,Z orientation vectors and an offset from the origin. All information is relative to the volume coordinate system specified in VOLUME_DATA_PARAMS::Dimension, VOLUME_DATA_PARAMS::Orientation and VOLUME_DATA_PARAMS::Spacing.

  • X - Defined as the direction from the left of the screen to the right of the screen.
  • Y - Defined as the direction from the top of the screen to the bottom of the screen.
  • Z - Defined as the view direction. In other words, a vector pointing "into" the screen.
  • Offset - The location of the center of the screen in the volume. In perspective rendering, this is the eye location in the volume.

The logical layout of the Transform structure is as follows:

$ \left| \begin{array}{cc} Orientation & Offset \\ 0 & 1 \\ \end{array} \right| = $
$ \left| \begin{array}{cccc} X_{vector} & Y_{vector} & Z_{vector} & Offset \\ 0 & 0 & 0 & 1 \\ \end{array} \right| = $
$ \left| \begin{array}{cccc} m11 & m12 & m13 & \\ m21 & m22 & m23 & Offset \\ m31 & m32 & m33 & \\ 0 & 0 & 0 & 1 \\ \end{array} \right| = $
$ \left| \begin{array}{cccc} m11 & m12 & m13 & m14 \\ m21 & m22 & m23 & m24 \\ m31 & m32 & m33 & m34 \\ m41 & m42 & m43 & m44 \\ \end{array} \right| $
For best results, the vectors of the transform should be normalized and orthogonal to each other.

In all but perspective rendering, the scaling of the rendering is specified separately through the RENDER_PARAMS::Zoom field.
In perspective, the RENDER_PARAMS::ViewAngle field becomes relevant.

The identity matrix will place the camera at the location 0,0,0 viewing axially.

@note It should be noted that OpenGL API uses the inverse form of the above matrix. A
general matrix inverse procedure can be used to interconnect the two APIs. Since
the above matrix is normalized and orthogonal great simplifications can be applied
to the inverse procedure (e.x. When offset vector is zero, the inverse of the matrix
is equal to its transpose).

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrc.utils.hdrc3DHelpers.drawOrientationCube(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), com.fovia.hdrc.interact.hdrcOrbitAdaptor.mouseDragged(), and com.fovia.hdrc.interact.hdrcPanAdapter.mousePressed().

float com.fovia.hdrcsrv.RENDER_PARAMS.ViewAngle
float com.fovia.hdrcsrv.RENDER_PARAMS.Zoom

Zoom is defined as the number of pixels per voxel in the rendered image. For example, if the Zoom is set to 2, that means that every voxel is 2 pixels in size. The voxel size in this definition is the size in volume units specified in VOLUME_DATA_PARAMS::Spacing x field. Note that the RT_PERSPECTIVE rendering mode ignores this value. The maximum acceptable value for Zoom is 700.0.

Referenced by com.fovia.hdrcsrv.RENDER_PARAMS.combineWith(), com.fovia.hdrcsrv.RENDER_PARAMS.endElement(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getPointLocation(), com.fovia.hdrc.utils.interpolation.hdrcInterpolation.interpolate(), and com.fovia.hdrcsrv.RENDER_PARAMS.saveToXML().