SoView2DExtensionSampler¶
-
InventorModule¶ genre View2DExtendedauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll SoView2Ddefinition SoView2DShader.def inherits from SoView2DExtensionkeywords GLSL
Purpose¶
The SoView2DExtensionSampler module allows for rendering SoView2D extensions to a texture.
This texture can be given a name and can be rendered/accessed by a SoView2DShaderOverlay.
A typical use case would be to render a SoView2DScene to a texture using this module
and to write a custom SoView2DShaderFunction which modifies the rendering depending
on the content of the texture.
Parameter Fields¶
Field Index¶
alt: Enum |
createNewModeRequest: Trigger |
needsValidVoxel: Bool |
Blend Mode: Enum |
cursorShape: Enum |
Overlay Name: String |
button1: Enum |
Drawing On: Bool |
Render On Slab: Bool |
button2: Enum |
editingOn: Bool |
selectionTolerance: Float |
button3: Enum |
Filter Mode: Enum |
setEventHandled: Bool |
clipToSlice: Bool |
fixZOn: Bool |
shift: Enum |
color: Color |
ignoreHandledEvents: Bool |
wantsAllEvents: Bool |
control: Enum |
interactionProviderID: String |
wantsKeyEvents: Bool |
createNewMode: Bool |
maskValid: Bool |
wantsMouseWheelEvents: Bool |
Visible Fields¶
Render On Slab¶
-
name:renderOnSlab, type:Bool, default:TRUE¶ If checked, the rendering on slab is enabled.
Overlay Name¶
-
name:overlayName, type:String, default:texture¶ Sets the overlay name for usage in
SoView2DShaderOverlay.
Filter Mode¶
-
name:filterMode, type:Enum, default:FILTER_LINEAR_POSTCLASS¶ Defines the filter mode.
Values:
| Title | Name |
|---|---|
| Nearest | FILTER_NEAREST |
| Linear Postclass | FILTER_LINEAR_POSTCLASS |
Blend Mode¶
-
name:blendMode, type:Enum, default:BLEND_PREMULTIPLIED_BLEND¶ Defines the blend mode.
Values:
| Title | Name |
|---|---|
| Replace | BLEND_REPLACE |
| Add | BLEND_ADD |
| Screen | BLEND_SCREEN |
| Blend | BLEND_BLEND |
| Premultiplied Blend | BLEND_PREMULTIPLIED_BLEND |
| Maximum | BLEND_MAXIMUM |
| Minimum | BLEND_MINIMUM |
| Reverse Subtract | BLEND_REVERSE_SUBTRACT |
| Subtract | BLEND_SUBTRACT |