Class SoTranslateProcessing

  • All Implemented Interfaces:
    SafeDisposable

    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. Figure 1: Translation of an image A translation is denoted by a vector . A pixel M of coordinates is translated to the new coordinates in the output image as: or using matrix notation:

    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