|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
common:TrapColoring
Standard:Standard_TrapColoringDistance
class
class Standard_TrapColoringDistance(common.ulb:TrapColoring) {
public:
float func Result(TrapMode ptrapmode)
if @scaleByThreshold
return ptrapmode.GetDistance(0) / ptrapmode.GetThreshold()
else
return ptrapmode.GetDistance(0)
endif
endfunc
default:
title = "Distance"
rating = recommended
bool param @scaleByThreshold
caption = "Scale by Threshold"
default = false
hint = "If checked, coloring will be automatically scaled to match the \
trap threshold. The Orbit Traps coloring algorithm in Standard.ucl \
uses this for the First and Last trap modes, and it is always \
enabled for the Direct Orbit Traps coloring algorithm."
endparam
}
| Constructor Summary | |
|---|---|
Standard_TrapColoringDistance()
|
|
| Method Summary | |
|---|---|
float |
Result(TrapMode ptrapmode)
get a final result |
| Methods inherited from class common:Generic |
|---|
GetParent |
| Methods inherited from class Object |
|---|
|
| Constructor Detail |
|---|
public Standard_TrapColoringDistance()
| Method Detail |
|---|
public float Result(TrapMode ptrapmode)
TrapColoring
Result in class TrapColoring
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||