SoView2DVoxelView¶
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¶
Input Fields¶
inputLut¶
- name: inputLut, type: LUTFunction(MLBase)¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 that 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 rendered.
Corner dots¶
- name: drawCornerDots, type: Bool, default: FALSE¶
If checked, the the four corner pixels of each voxel are rendered.
Commas¶
- name: useCommas, type: Bool, default: TRUE¶
If checked, commas between components of non scalar voxels are rendered.
Outlines¶
- name: outLineVoxels, type: Bool, default: FALSE¶
If checked, a box is rendered 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.