Class SoCropImageProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imagemanipulation.imageediting.SoCropImageProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoCropImageProcessing extends SoImageVizEngine
SoCropImageProcessing
engine extract a rectangular region from an image. TheSoCropImageProcessing
engine copies a given rectangle from the current image and creates the output image from this selected region.
File format/default:SoCopyImageProcessing
, SoPasteImageProcessing.CropImageProcessing {
computeMode MODE_AUTO inImage NULL areaOrigin 0 0 0 areaSize 100 100 100
Library references: cut cut3d
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFVec3i32
areaOrigin
The origin of area.SoSFVec3i32
areaSize
The size of area.SoSFEnum<SoImageVizEngine.ComputeModes>
computeMode
Select the compute Mode (2D or 3D or AUTO) .SoSFImageDataAdapter
inImage
The input image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCropImageProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
inImage
public final SoSFImageDataAdapter inImage
The input image. Default value is NULL. Supported types include: grayscale binary label image.
-
areaOrigin
public final SoSFVec3i32 areaOrigin
The origin of area. Default value isSbVec3i32(0,0,0)
.
-
areaSize
public final SoSFVec3i32 areaSize
The size of area. Default value isSbVec3i32(100,100,100)
.
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-