public class SoTranslateProcessing extends SoImageVizEngine
SoTranslateProcessing
engine.
The SoTranslateProcessing
engine re-assigns the position of the image on the grid according to user-defined vectors. During a translation, there are usually two phenomena: part of the image is out of the window, while another part has no values, as illustrated in Figure 1. The output image is a discrete space of finite dimension where the new coordinates x, y and z may be outside the image.
NOTE: In 2D mode, z component is neglected.
File format/default:
TranslateProcessing {
computeMode | MODE_AUTO |
inImage | NULL |
translationVector | 100 100 100 |
backgroundMode | FIXED_BACKGROUND |
backgroundValue | 0.0f |
Library references: translate translate3d
Modifier and Type | Class and Description |
---|---|
static class |
SoTranslateProcessing.BackgroundModes
There are two possible modes in a
SoTranslateProcessing filter: |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoTranslateProcessing.BackgroundModes> |
backgroundMode
The translation mode.
|
SoSFFloat |
backgroundValue
Background value.
|
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.
|
SoSFVec3i32 |
translationVector
The translation vector.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoTranslateProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFVec3i32 translationVector
SbVec3i32(100,100,100)
.public final SoSFEnum<SoTranslateProcessing.BackgroundModes> backgroundMode
public final SoSFFloat backgroundValue
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com