SoCropImageProcessing engine extract a rectangular region from an image.
More...
#include <ImageViz/Engines/ImageManipulation/ImageEditing/SoCropImageProcessing.h>
Public Member Functions | |
| SoCropImageProcessing () | |
Public Attributes | |
| SoSFEnum | computeMode |
| SoSFImageDataAdapter | inImage |
| SoSFVec3i32 | areaOrigin |
| SoSFVec3i32 | areaSize |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
SoCropImageProcessing engine extract a rectangular region from an image.
The SoCropImageProcessing engine copies a given rectangle from the current image
and creates the output image
from this selected region.
SoCopyImageProcessing, SoPasteImageProcessing.
| computeMode | MODE_AUTO |
| inImage | NULL |
| areaOrigin | 0 0 0 |
| areaSize | 100 100 100 |
| SoCropImageProcessing::SoCropImageProcessing | ( | ) |
Constructor.
The origin of area.
Default value is SbVec3i32(0,0,0).
The size of area.
Default value is SbVec3i32(100,100,100).
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input 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.