SoView2DVoxelView

InventorModule
genre View2D
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def
see also SoView2D
inherits from SoView2DExtension
keywords extension, image, coordinate, value, pixel, examine, detailed, inspector

Purpose

The module SoView2DVoxelView shows the values of each visible voxel as a number / tuple of numbers instead of as a gray value or a color.

This depends on the image’s data type.

Windows

Default Panel

../../../Modules/Inventor/SoView2D/mhelp/Images/Screenshots/SoView2DVoxelView._default.png

Input Fields

inputLut

name: inputLut, type: LUTFunction(MLBase)

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

alt: Enum cursorShape: Enum Num Row Components: Integer
button1: Enum Default Alpha: Float On: Bool
button2: Enum Default Fit String: String Outlines: Bool
button3: Enum editingOn: Bool renderOnSlab: Bool
Center dots: Bool fixZOn: Bool selectionTolerance: Float
clipToSlice: Bool Font Size: Float setEventHandled: Bool
Color: Color ignoreHandledEvents: Bool shift: Enum
Commas: Bool interactionProviderID: String Use LUT: Bool
control: Enum maskValid: Bool Values: Bool
Corner dots: Bool needsValidVoxel: Bool wantsAllEvents: Bool
createNewMode: Bool Num Coordinate Components: Integer wantsKeyEvents: Bool
createNewModeRequest: Trigger Num Precision Digits: Integer wantsMouseWheelEvents: Bool

Visible Fields

On

name: drawingOn, type: Bool, default: TRUE

If checked, the module renders the voxel values as an overlay.

see also SoView2DExtension.drawingOn

Color

name: color, type: Color, default: 1 1 1

Sets the color of the rendering if no LUT is used.

see also SoView2DExtension.color

Values

name: drawVoxelValues, type: Bool, default: TRUE

If checked, voxel values are rendered as numbers.

Default Fit String

name: defaultFitString, type: String, default: 123

Sets a string which must fit into a voxel to show any text in it.

Center dots

name: drawCenterDots, type: Bool, default: FALSE

If checked, the center pixel of each voxel is drawn.

Corner dots

name: drawCornerDots, type: Bool, default: FALSE

If checked, the the four corner pixels of each voxel are drawn.

Commas

name: useCommas, type: Bool, default: TRUE

If checked, commas between components of non scalar voxels are drawn.

Outlines

name: outLineVoxels, type: Bool, default: FALSE

If checked, a box is drawn around voxel.

Use LUT

name: useLut, type: Bool, default: TRUE

If checked, a connected LUT is used for coloring.

Default Alpha

name: defaultAlpha, type: Float, default: 0.5, minimum: 0, maximum: 1

Sets the transparency value of all drawings if no LUT is used.

Num Coordinate Components

name: numCoordinateComponents, type: Integer, default: 0, minimum: 0, maximum: 6

Sets the number of shown 6D position components.

Num Row Components

name: numRowComponents, type: Integer, default: 0, minimum: 0, maximum: 256

Sets the number of voxel components per row.

Num Precision Digits

name: numPrecisionDigits, type: Integer, default: 1, minimum: -1

Sets the number of decimal places on floating point types.

Font Size

name: fontSize, type: Float, default: 10, minimum: 6, maximum: 250

Sets the text size.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

editingOn

name: editingOn, type: Bool, default: TRUE

see SoView2DExtension.editingOn

maskValid

name: maskValid, type: Bool, persistent: no

fixZOn

name: fixZOn, type: Bool, default: TRUE

selectionTolerance

name: selectionTolerance, type: Float, default: 4

needsValidVoxel

name: needsValidVoxel, type: Bool, default: TRUE

see SoView2DExtension.needsValidVoxel

button1

name: button1, type: Enum, default: IGNORED

see SoView2DExtension.button1

button2

name: button2, type: Enum, default: IGNORED

see SoView2DExtension.button2

button3

name: button3, type: Enum, default: IGNORED

see SoView2DExtension.button3

shift

name: shift, type: Enum, default: IGNORED

see SoView2DExtension.shift

control

name: control, type: Enum, default: IGNORED

see SoView2DExtension.control

alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: FALSE

setEventHandled

name: setEventHandled, type: Bool, default: FALSE

see SoView2DExtension.setEventHandled

ignoreHandledEvents

name: ignoreHandledEvents, type: Bool, default: FALSE

see SoView2DExtension.ignoreHandledEvents

createNewMode

name: createNewMode, type: Bool, default: FALSE

see SoView2DExtension.createNewMode

createNewModeRequest

name: createNewModeRequest, type: Trigger

see SoView2DExtension.createNewModeRequest

renderOnSlab

name: renderOnSlab, type: Bool, default: FALSE

clipToSlice

name: clipToSlice, type: Bool, default: FALSE

cursorShape

name: cursorShape, type: Enum, default: UNDEFINED_CURSOR

see SoView2DExtension.cursorShape