Class OCTVolume (mod)
draws the 3D volume and defines shader pipelines
Inheritance
OCTVolume (mod)
Assembly: OCTVis.dll
Syntax
Fields
val cutPlaneNorm
Declaration
val cutPlaneNorm: ModRef<V3d>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<Aardvark.Base.V3d> |
|
val cutPlanePoint
Declaration
val cutPlanePoint: ModRef<V3d>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<Aardvark.Base.V3d> |
|
val cutVolume
Declaration
val cutVolume: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val drawFluid
Declaration
val drawFluid: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val drawFluidTransparent
Declaration
val drawFluidTransparent: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val drawLayer
Declaration
val drawLayer: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val drawShadows
Declaration
val drawShadows: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val drawSlicePlane
Declaration
val drawSlicePlane: ModRef<bool>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<bool> |
|
val enhTransparency
Declaration
val enhTransparency: ModRef<float>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<float> |
|
val shaderType
Declaration
val shaderType: ModRef<ShaderType>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<ShaderType> |
|
val sizes
sizes of the cube front and cube back textures
Declaration
Field Value
Type |
Description |
Aardvark.Base.Incremental.IMod<Aardvark.Base.V2i> |
|
val thresholdValue
Declaration
val thresholdValue: ModRef<float>
Field Value
Type |
Description |
Aardvark.Base.Incremental.ModRef<float> |
|
Methods
val keyCallbacks: IRenderWindow -> unit
setup key callbacks for 3D volume rendering
Declaration
val keyCallbacks: win:IRenderWindow -> unit
Parameters
Type |
Name |
Description |
Aardvark.Application.IRenderWindow |
win |
|
val octVolumeSg: OCTVolumeConfig -> seq<FShadeEffect> -> ISg
volume rendering scene graph
Declaration
val octVolumeSg: conf:OCTVolumeConfig -> effects:seq<FShadeEffect> -> ISg
Parameters
Type |
Name |
Description |
OCTVolumeConfig |
conf |
volume rendering configuration
|
seq<Aardvark.Base.Rendering.FShadeEffect> |
effects |
shader effects list
|
Returns
Type |
Description |
Aardvark.SceneGraph.ISg |
|
val volShaders: ShaderType -> bool -> bool -> bool -> Effect list
returns a shader pipeline for volume rendering
Declaration
val volShaders: st:ShaderType -> df:bool -> ds:bool -> dp:bool -> Effect list
Parameters
Type |
Name |
Description |
ShaderType |
st |
select the main shader type
|
bool |
df |
draw fluid segmentation on/off
|
bool |
ds |
draw shadows on/off
|
bool |
dp |
draw the current slice plane on/off
|
Returns
Type |
Description |
FShade.Effect list |
|