SoView2DShaderDevicePosition¶
-
InventorModule
¶ genre View2DExtended
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition SoView2DShader.def inherits from SoView2DExtension
keywords GLSL
Purpose¶
The SoView2DShaderDevicePosition
module projects the given world position to the device coordinates of the current SoView2D that is rendered.
This is useful to get actual screen pixel coordinates for a given coordinate.
The coordinate is provided as “vec2” uniform.
Parameter Fields¶
Field Index¶
alt : Enum |
cursorShape : Enum |
renderOnSlab : Bool |
button1 : Enum |
drawingOn : Bool |
selectionTolerance : Float |
button2 : Enum |
editingOn : Bool |
setEventHandled : Bool |
button3 : Enum |
fixZOn : Bool |
shift : Enum |
clipToSlice : Bool |
ignoreHandledEvents : Bool |
wantsAllEvents : Bool |
color : Color |
interactionProviderID : String |
wantsKeyEvents : Bool |
control : Enum |
maskValid : Bool |
wantsMouseWheelEvents : Bool |
createNewMode : Bool |
Name : String |
World Position : Vector3 |
createNewModeRequest : Trigger |
needsValidVoxel : Bool |