Click or drag to resize
SoArithmetic Class

Arithmetic functions for buffers.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.AlgorithmsSoArithmetic

Namespace: OIV.Inventor.Algorithms
Assembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoArithmetic : SoNetBase

The SoArithmetic type exposes the following members.

Constructors
  NameDescription
Public methodSoArithmetic

Constructor.

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

Add two buffers into a third one.

Public methodAdd(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType)

Add two buffers into a third one.

Public methodComputeMinMax(SoBufferObject, SbDataType, Double, Double)

Compute min max of all values contained in a buffer.

Public methodComputeMinMax(SoBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double)

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

Public methodComputeMinMax(SoCpuBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double)

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

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.

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.

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.

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.

Public methodMadd(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

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

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

Multiply two buffers into a third one.

Public methodMult(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, 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.

Public methodScale(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

B = A * scaleFactor Fast version for Cpu buffers.

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.

Public methodShift(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single)

B = A + shiftFactor Fast version for Cpu buffers.

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.

Examples:

See Also