SoRotateProcessing3d Class Reference
[GeometricTransforms]

ImageViz SoRotateProcessing3d image filter More...

#include <ImageViz/Engines/GeometryAndMatching/GeometricTransforms/SoRotateProcessing3d.h>

Inheritance diagram for SoRotateProcessing3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  PrecisionMode {
  NEARBY_PIXEL = 0,
  INTERPOLATION = 1
}

Public Member Functions

 SoRotateProcessing3d ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFFloat rotationAngleX
SoSFFloat rotationAngleY
SoSFFloat rotationAngleZ
SoSFEnum precisionMode
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoRotateProcessing3d image filter

The SoRotateProcessing3d filter performs a rotation of an image by a 3D user-defined angle $(\theta_x,\theta_y,\theta_z)$ in Euler angles notation. The new coordinates $(x',y',z')$ can be expressed as a function of the old coordinates $(x,y,z)$:

\[\begin{bmatrix}x'\\y'\\z'\end{bmatrix} = R_x(\theta_x)\cdot R_y(\theta_y)\cdot R_z(\theta_z)\cdot\begin{bmatrix}x\\y\\z\end{bmatrix}\]

where:

\[R_x(\theta)=\begin{bmatrix} 1 & 0 & 0 \\ 0 & \cos\theta & -\sin\theta \\ 0 & \sin\theta & \cos\theta \end{bmatrix} R_y(\theta)=\begin{bmatrix} \cos\theta & 0 & \sin\theta \\ 0 & 1 & 0 \\ -\sin\theta & 0 & \cos\theta \end{bmatrix} R_z(\theta)=\begin{bmatrix} \cos\theta & -\sin\theta & 0 \\ \sin\theta & \cos\theta & 0 \\ 0 & 0 & 1 \end{bmatrix}\]

FILE FORMAT/DEFAULT


Library references: rotate3d


Member Enumeration Documentation

Method used to calculate the intensity of each result pixel.

Enumerator:
NEARBY_PIXEL 

Take the grey level of the nearest pixel.

INTERPOLATION 

Take the bilinear interpolation from the four nearest pixels.


Constructor & Destructor Documentation

SoRotateProcessing3d::SoRotateProcessing3d (  ) 

Constructor.


Member Data Documentation

The input grayscale image.

Default value is NULL. Supported types include: grayscale binary label image.

The output image.

Default value is NULL. Supported types include: grayscale binary label color image.

Select the interpolation mode.

Use enum PrecisionMode. Default is NEARBY_PIXEL

The angle of rotation in degrees (not radians) for the OX axis.

Default value is 90.0f.

The angle of rotation in degrees (not radians) for the OY axis.

Default value is 0.0f.

The angle of rotation in degrees (not radians) for the OZ axis.

Default value is 0.0f.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/