genre | CSOProcessor |
author | Olaf Konrad |
package | MeVisLab/Standard |
dll | SoCSO |
definition | SoCSO.def |
see also | SoView2DCSOEditor, CSOModifyProcessor |
keywords | scale, translate, rotate, interactive |
The module CSOTransformationProcessor translates, scales or rotates a selected CSO interactively.
Translating, scaling and rotating can be enabled individually for each CSOTransformationProcessor. In the viewer, handles are shown for each type of interaction.
For translating, a single square is positioned into the middle of the CSO's bounding box, for scaling, four triangles are positioned at the middle of the bounding box's borders and for rotating, four squares are positioned at the edges of the bounding box.
Those handles are only shown if the according transformation is enabled.
The handles can be clicked and dragged; all other, inactive handles will be hidden as long as the interaction is not finished.
addCSOToGroupMode: Enum | Isotropic scaling: Bool | seedPointSize: Float |
addCSOToGroupWithId: Integer | pathPointAlpha: Float | seedPointStyle: Enum |
addCSOToGroupWithLabel: String | pathPointColor: Color | Show handles only for selected CSO: Bool |
apply: Trigger | pathPointStyle: Enum | Translate (enableTranslate): Bool |
autoApply: Bool | pathPointWidth: Float | Translate (translateHandleColor): Color |
done: Trigger | Rotate (enableRotate): Bool | Translate Handle Alpha: Float |
emptyGroupBeforeGeneration: Bool | Rotate (rotateHandleColor): Color | updateMode: Enum |
Handle Scale: Float | Rotate Handle Alpha: Float | Use Auto Leveling: Bool |
Icon File: String | Scale (enableScale): Bool | Use CSO color: Bool |
id: Integer | Scale (scaleHandleColor): Color | Use Icon File: Bool |
Influence Margin: Float | Scale Handle Alpha: Float | Use undo/redo: Bool |
Internal Icon File: String | seedPointAlpha: Float | voxelWriteMode: Enum |
Is Processing: Bool | seedPointColor: Color | voxelWriteValue: Float |
Shows whether the module is processing which is when the user interacts.
If checked, the CSO can either be stretched or scaled.
If Isotropic scaling is checked, the module will scale the CSO isotropically from the center; it does not matter which of the four handles was clicked.
Otherwise, the module will stretch the CSO depending on the clicked handler; the side opposite to the clicked handler will remain fixed.
If checked, the CSO can be rotated.
If checked, the module can be translated.
Sets the scale factor for the displayed handler size.
Sets the scale factor for the handlers' bounding boxes that are used for hit testing.
If checked, the transformed CSO is being auto-leveled after finishing the transformation.
If checked, the handles are colored as the CSO they are for.
The alpha values can still be adjusted if the CSO color is used.
Note that the selection color of the CSO may differ from the actual CSO's color.
Sets the color of the scale handles.
Sets the color of the rotation handles.
Sets the color of the translate handle.
Sets the alpha value for the scale handles.
Sets the alpha value for the rotate handles.
Sets the alpha value for the translate handle.
If checked, the handles are only shown for the currently selected CSO(s).
Otherwise, the handlers are shown for all visible CSOs.
If checked, all transformations can be undone/redone by using the internal Undo/Redo manager.
The stack size of the undo/redo manager can be adjusted with the CSOManager.
If checked, the scaling is isotropically from the CSO's center. Otherwise, a stretching is performed.
If checked, the module uses an icon file for displaying the handle icons.
The icon file needs to have a resolution of 256 x 64. It contains four icons for the
The icon file needs to be in .tif format and can be LZW compressed. The background needs to be transparent and the icons themselves white. Black outlines or shadows are possible.