CSOVoxelCrop¶
-
MLModule
¶ genre CSOModificator
author Jan Hendrik Moltz
package FMEstable/ReleaseMeVis
dll MLCSOMiscModules
definition MLCSOMiscModules.def see also CSOWorldCrop
keywords crop
,clamp
,restrict
,bounding
,box
Purpose¶
Removes points outside a box in voxel coordinates from a CSO.
Usage¶
Connect a CSOList and provide start and end voxel coordinates of the box. This is a CSOModificator, so you can choose to work on the input CSOList or to create a new list at the output.
Details¶
For cropping, the CSOs are flattened to path points. Each path point is checked for being inside the given box. Path points outside the box are discarded. Path points inside the box may form one or more CSOs that replace the original CSO. If desired, one closed CSO may be created instead of several disconnected ones.
Input Fields¶
inCSOList¶
-
name:
inCSOList
, type:
MLBase
¶ The input CSOList, containing CSOs to be cropped. If
Work directly on input CSOList
, this list is directly manipulated.
Output Fields¶
Parameter Fields¶
Field Index¶
addCSOToGroupMode : Enum |
Enable Undo/Redo : Bool |
seedPointAlpha : Float |
addCSOToGroupWithId : Integer |
id : Integer |
seedPointColor : Color |
addCSOToGroupWithLabel : String |
isProcessing : Bool |
seedPointSize : Float |
autoApply : Bool |
listenToFinishingNotifications : Bool |
seedPointStyle : Enum |
Box end : Vector3 |
listenToSelectionNotifications : Bool |
Should close CSOs : Bool |
Box start : Vector3 |
Mode : Enum |
Update : Trigger |
changeSettingsForModifiedCSOs : Bool |
pathPointAlpha : Float |
voxelWriteMode : Enum |
csoIdList : String |
pathPointColor : Color |
voxelWriteValue : Float |
done : Trigger |
pathPointStyle : Enum |
Work directly on input CSOList : Bool |
emptyGroupBeforeGeneration : Bool |
pathPointWidth : Float |
Visible Fields¶
Mode¶
-
name:
updateMode
, type:
Enum
, default:
AutoClear
¶ The way the module reacts to input changes.
Values:
Title | Name |
---|---|
Off | Off |
Auto Update | AutoUpdate |
Auto Clear | AutoClear |
Work directly on input CSOList¶
-
name:
workDirectlyOnInputList
, type:
Bool
, default:
TRUE
¶ If true, the
inCSOList
is manipulated rather than creating a newoutCSOList
.
Enable Undo/Redo¶
Box start¶
-
name:
inBoxStart
, type:
Vector3
, default:
0 0 0
¶ The first corner of the box in voxel coordinates (inclusive).