 SoRotateProcessing3d image filter  
More...
  SoRotateProcessing3d image filter  
More...
#include <ImageViz/Engines/GeometryAndMatching/GeometricTransforms/SoRotateProcessing3d.h>
 
  
 | 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 | 
 SoRotateProcessing3d image filter
  SoRotateProcessing3d image filter 
The SoRotateProcessing3d filter performs a rotation of an image by a 3D user-defined angle  in Euler angles notation. The new coordinates
 in Euler angles notation. The new coordinates  can be expressed as a function of the old coordinates
 can be expressed as a function of the old coordinates  :
: 
![\[\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}\]](form_155.png) 
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}\]](form_156.png) 
| inImage | NULL | 
| rotationAngleX | 90.0f | 
| rotationAngleY | 0.0f | 
| rotationAngleZ | 0.0f | 
| precisionMode | NEARBY_PIXEL | 
| SoRotateProcessing3d::SoRotateProcessing3d | ( | ) | 
Constructor.
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.