Click or drag to resize
SoOpenCLArithmetic Class

Arithmetic functions for OpenCL buffers.

Inheritance Hierarchy

Namespace: OIV.Inventor.OpenCL.Algorithms
Assembly: OIV.Inventor.OpenCL (in OIV.Inventor.OpenCL.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoOpenCLArithmetic : SoArithmetic

The SoOpenCLArithmetic type exposes the following members.

Constructors
  NameDescription
Public methodSoOpenCLArithmetic

Constructor.

Top
Methods
  NameDescription
Public methodAdd(SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType)

Add two buffers into a third one.

(Inherited from SoArithmetic.)
Public methodAdd(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType)

Add two buffers into a third one.

(Inherited from SoArithmetic.)
Public methodAdd(SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType)

Add two buffers into a third one.

Public methodComputeMinMax(SoBufferObject, SbDataType, Double, Double)

Compute min max of all values contained in a buffer.

(Inherited from SoArithmetic.)
Public methodComputeMinMax(SoBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double)

Compute min max of values contained in the specified range of the buffer.

(Inherited from SoArithmetic.)
Public methodComputeMinMax(SoCpuBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double)

Compute min max of values contained in the specified range of the buffer.

(Inherited from SoArithmetic.)
Public methodComputeMinMaxWithUndefinedValue(SoBufferObject, SbDataType, Double, Double, Double)

Compute min max of all values contained in a buffer that are not equal to the specified undefined value.

(Inherited from SoArithmetic.)
Public methodComputeMinMaxWithUndefinedValue(SoBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double, Double)

Compute min max of values contained in the specified range of the buffer that are not equal to the specified undefined value.

(Inherited from SoArithmetic.)
Public methodComputeMinMaxWithUndefinedValue(SoCpuBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double, Double)

Compute min max of values contained in the specified range of the buffer that are not equal to the specified undefined value.

(Inherited from SoArithmetic.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMadd(SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single)

C = A * scale + B Note: C can be a reference to A or B Limitation: typeA and typeB must be the same as typeC.

(Inherited from SoArithmetic.)
Public methodMadd(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

C = A * scale + B Fast version for Cpu buffers.

(Inherited from SoArithmetic.)
Public methodMadd(SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, Single)

C = A * scale + B OpenCL input version.

Public methodMult(SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType)

Multiply two buffers into a third one.

(Inherited from SoArithmetic.)
Public methodMult(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType)

Multiply two buffers into a third one.

(Inherited from SoArithmetic.)
Public methodMult(SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType)

Multiply two buffers into a third one.

Public methodScale(SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single)

B = A * scaleFactor Note: B can be a reference to A Limitation: typeA must be the same as typeC.

(Inherited from SoArithmetic.)
Public methodScale(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

B = A * scaleFactor Fast version for Cpu buffers.

(Inherited from SoArithmetic.)
Public methodScale(SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, Single)

B = A * scaleFactor OpenCL input version.

Public methodShift(SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single)

B = A + shiftFactor Note: B can be a reference to A Limitation: typeA must be the same as typeC.

(Inherited from SoArithmetic.)
Public methodShift(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

B = A + shiftFactor Fast version for Cpu buffers.

(Inherited from SoArithmetic.)
Public methodShift(SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, Single)

B = A + shiftFactor OpenCL input version.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The Arithmetic module provides basic Add, Multiply, etc functions that operate on buffers.

<font color="#0000FF">NOTE:</font> The classes in this module do not exist in Open Inventor 10.0 and later.

Examples:

See Also