SoBitShiftProcessing Class Reference
[Logical Operations]

ImageViz SoBitShiftProcessing engine More...

#include <ImageViz/Engines/ArithmeticAndLogic/LogicalOperations/SoBitShiftProcessing.h>

Inheritance diagram for SoBitShiftProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ShiftDirection {
  LEFT = 0,
  RIGHT = 1
}

Public Member Functions

 SoBitShiftProcessing ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFInt32 bitNumber
SoSFEnum shiftDirection
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoBitShiftProcessing engine

The SoBitShiftProcessing engine shifts an image by a given number of bits.

The SoBitShiftProcessing module shifts an image by a given number of bits. Each pixel/voxel of an image is shifted as shown in the example of the Figure below.

SoBitShiftProcessing_image01.png

Shifting a short value by 2 bits

To summarize:

SEE ALSO

SoLogicalValueProcessing, SoLogicalImageProcessing.

FILE FORMAT/DEFAULT


Library references: shift


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 

Constructor & Destructor Documentation

SoBitShiftProcessing::SoBitShiftProcessing (  ) 

Constructor.


Member Data Documentation

The number of bits to shift.

Default value is 1.

The input image.

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

The output image.

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

Select the shifting direction.

Use enum ShiftDirection. Default is LEFT


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/