Class OCTSlicePlane (mod)
Module to draw and interact with 2D Slices through the OCT-Volume
Inheritance
OCTSlicePlane (mod)
  Namespace: Visualization
Assembly: OCTVis.dll
Syntax
module OCTSlicePlane
  Fields
val arbPlaneNormal
Declaration
val arbPlaneNormal: ModRef<V3d>
  Field Value
| Type | Description | 
|---|---|
| Aardvark.Base.Incremental.ModRef<Aardvark.Base.V3d> | 
val arbPlaneOpacity
Declaration
val arbPlaneOpacity: ModRef<float>
  Field Value
| Type | Description | 
|---|---|
| Aardvark.Base.Incremental.ModRef<float> | 
val arbPlaneSize
Declaration
val arbPlaneSize: ModRef<float>
  Field Value
| Type | Description | 
|---|---|
| Aardvark.Base.Incremental.ModRef<float> | 
val arbPlaneTexSg
Sg to draw the current 2D slice onto a quad
Declaration
val arbPlaneTexSg: ISg
  Field Value
| Type | Description | 
|---|---|
| Aardvark.SceneGraph.ISg | 
val arbPlaneTrans
Declaration
val arbPlaneTrans: ModRef<V3d>
  Field Value
| Type | Description | 
|---|---|
| Aardvark.Base.Incremental.ModRef<Aardvark.Base.V3d> | 
val sizes
size of the 2D slice texture
Declaration
val sizes: ModRef<V2i>
  Field Value
| Type | Description | 
|---|---|
| Aardvark.Base.Incremental.ModRef<Aardvark.Base.V2i> | 
Methods
val arbitraryPlaneSg: IRenderWindow -> IMod<V4d> -> ISg
Draw the current arbitrary plane in the 3D scene to indicate its orientation and position
Declaration
val arbitraryPlaneSg: win:IRenderWindow -> sliceColor:IMod<V4d> -> ISg
  Parameters
| Type | Name | Description | 
|---|---|---|
| Aardvark.Application.IRenderWindow | win | the main rendering window  | 
      
| Aardvark.Base.Incremental.IMod<Aardvark.Base.V4d> | sliceColor | color of the current slice plane  | 
      
Returns
| Type | Description | 
|---|---|
| Aardvark.SceneGraph.ISg | 
val arbitraryPlaneTexture: IRenderWindow -> IRuntime -> IFramebufferSignature -> Map<Symbol,IOutputMod<ITexture>>
Render a 2D slice on an arbitrary plane through the 3D Volume to a 2D texture
Declaration
val arbitraryPlaneTexture: win:IRenderWindow -> runtime:IRuntime -> signature:IFramebufferSignature -> Map<Symbol,IOutputMod<ITexture>>
  Parameters
| Type | Name | Description | 
|---|---|---|
| Aardvark.Application.IRenderWindow | win | the main rendering window  | 
      
| Aardvark.Base.IRuntime | runtime | the main runtime of the application  | 
      
| Aardvark.Base.IFramebufferSignature | signature | the framebuffer signature for rendering the current 2D slice (needed to store result in BackendTexture)  | 
      
Returns
| Type | Description | 
|---|---|
| Map<Aardvark.Base.Symbol,Aardvark.Base.Rendering.IOutputMod<Aardvark.Base.ITexture>> | 
val keyCallbacks: IRuntime -> IRenderWindow -> unit
setup keyboard Interaction for the current 2D slice plane
Declaration
val keyCallbacks: runtime:IRuntime -> win:IRenderWindow -> unit
  Parameters
| Type | Name | Description | 
|---|---|---|
| Aardvark.Base.IRuntime | runtime | |
| Aardvark.Application.IRenderWindow | win | the main rendering window  |