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) .
|
static int |
FIXED_BACKGROUND
Deprecated.
|
SoSFImageDataAdapter |
inImage
The input image.
|
static int |
LOOPED_BACKGROUND
Deprecated.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
SoSFVec3i32 |
translationVector
The translation vector.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int FIXED_BACKGROUND
SoTranslateProcessing.BackgroundModes.FIXED_BACKGROUND
instead.@Deprecated public static final int LOOPED_BACKGROUND
SoTranslateProcessing.BackgroundModes.LOOPED_BACKGROUND
instead.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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com