Fovia's Java Client/Server API
Public Attributes | Static Public Attributes | List of all members
com.fovia.hdrcsrv.FIND_PATH_PARAMS Class Reference

Public Attributes

boolean adaptiveLowerLimit = true
 
boolean adaptiveUpperLimit = false
 
double completionDistance = 3.0
 
int enabledTracers
 
double lowerLimitOffset = 14646.8
 
double lowerLimitScale = -0.1476014760147601
 
double lowerLimitStatic
 
int maxSteps = 200
 
boolean noNormalize = false
 
double pushOutLowerLimitAmount = 0.0
 
double pushOutUpperLimitAmount = 160.0
 
boolean shouldPushOutLowerLimit = false
 
boolean shouldPushOutUpperLimit = true
 
double stepScaleFactor = 20.0
 
double upperLimitOffset = 0.0
 
double upperLimitScale
 
double upperLimitStatic = 24384.0
 

Static Public Attributes

static final int FIND_PATH_TRACER_FINISH_AWAY_FROM_START = 8
 
static final int FIND_PATH_TRACER_FINISH_TOWARD_START = 2
 
static final int FIND_PATH_TRACER_START_AWAY_FROM_FINISH = 4
 
static final int FIND_PATH_TRACER_START_TOWARD_FINISH = 1
 

Detailed Description

Specifies the options for hdrcIVolumeSegmentation::findPath(). If this structure is not specified to the function, the values set by the default constructor are used.

Member Data Documentation

boolean com.fovia.hdrcsrv.FIND_PATH_PARAMS.adaptiveLowerLimit = true

If true, the lower threshold for what defines the corridor wall is adaptively created based upon the scalar value at the current trace point. If false, LowerLimitStatic will be used as the threshold at all times.

boolean com.fovia.hdrcsrv.FIND_PATH_PARAMS.adaptiveUpperLimit = false

If true, the upper threshold for what defines the corridor wall is adaptively created based upon the scalar value at the current trace point. If false, UpperLimitStatic will be used as the threshold at all times.

double com.fovia.hdrcsrv.FIND_PATH_PARAMS.completionDistance = 3.0

The maximum distance between the current location and the finish to consider a completed path.

int com.fovia.hdrcsrv.FIND_PATH_PARAMS.enabledTracers

Specifies which tracers are enabled. Depending upon the type of path finding we're doing, we may or may not need all four of the default tracers enabled. Each tracer takes up 25% of the total compute time, so removing just one is a significant performance boost, if possible.

final int com.fovia.hdrcsrv.FIND_PATH_PARAMS.FIND_PATH_TRACER_FINISH_AWAY_FROM_START = 8
static

The tracer that starts at the finish point pointing away from the finish point.

final int com.fovia.hdrcsrv.FIND_PATH_PARAMS.FIND_PATH_TRACER_FINISH_TOWARD_START = 2
static

The tracer that starts at the finish point pointing toward the start point.

final int com.fovia.hdrcsrv.FIND_PATH_PARAMS.FIND_PATH_TRACER_START_AWAY_FROM_FINISH = 4
static

The tracer that starts at the start point pointing away from the finish point.

final int com.fovia.hdrcsrv.FIND_PATH_PARAMS.FIND_PATH_TRACER_START_TOWARD_FINISH = 1
static

The tracer that starts at the start point pointing toward the finish point.

double com.fovia.hdrcsrv.FIND_PATH_PARAMS.lowerLimitOffset = 14646.8
See also
LowerLimitScale for details.
double com.fovia.hdrcsrv.FIND_PATH_PARAMS.lowerLimitScale = -0.1476014760147601

If AdaptiveLowerLimit is true, the lower limit is calculated adaptively by the following formula:

double tracePointValue;
LowerLimitValue = tracePointValue + ((tracePointValue-LowerLimitOffset)*LowerLimitScale);
double com.fovia.hdrcsrv.FIND_PATH_PARAMS.lowerLimitStatic

If AdaptiveLowerLimit is false, this value is always used as the lower threshold for what defines the corridor wall.

int com.fovia.hdrcsrv.FIND_PATH_PARAMS.maxSteps = 200

The number of steps for any given tracer to go before giving up.

boolean com.fovia.hdrcsrv.FIND_PATH_PARAMS.noNormalize = false

The state of the RENDER_PARAMS::Flags RF_DONT_NORMALIZE bit. See hdrcDefines::RF_DONT_NORMALIZE for how this changes expected values for scalar values.

double com.fovia.hdrcsrv.FIND_PATH_PARAMS.pushOutLowerLimitAmount = 0.0
See also
shouldPushOutLowerLimit for proper use.
double com.fovia.hdrcsrv.FIND_PATH_PARAMS.pushOutUpperLimitAmount = 160.0
See also
shouldPushOutUpperLimit for proper use.
boolean com.fovia.hdrcsrv.FIND_PATH_PARAMS.shouldPushOutLowerLimit = false

If true, then if the pixel value at the current tracer location minus pushOutLowerLimitAmount has a value less than the lower limit specified elsewhere in this structure, then that value is used as the lower limit in the thresholding for traversal.

boolean com.fovia.hdrcsrv.FIND_PATH_PARAMS.shouldPushOutUpperLimit = true

If true, then if the pixel value at the current tracer location plus pushOutUpperLimitAmount has a value greater than the upper limit specified elsewhere in this structure, then that value is used as the upper limit in the thresholding for traversal.

double com.fovia.hdrcsrv.FIND_PATH_PARAMS.stepScaleFactor = 20.0

The speed of path stepping is variable based upon the size of the corridor. This is a scaling factor applied to that automatically determined step size.

double com.fovia.hdrcsrv.FIND_PATH_PARAMS.upperLimitOffset = 0.0
See also
UpperLimitScale for details.
double com.fovia.hdrcsrv.FIND_PATH_PARAMS.upperLimitScale

If AdaptiveUpperLimit is true, the upper limit is calculated adaptively by the following formula:

double tracePointValue;
UpperLimitValue = tracePointValue + ((tracePointValue-UpperLimitOffset)*UpperLimitScale);
double com.fovia.hdrcsrv.FIND_PATH_PARAMS.upperLimitStatic = 24384.0

If AdaptiveUpperLimit is false, this value is always used as the lower threshold for what defines the corridor wall.