SoArithmetic Class |
Arithmetic functions for buffers.
Namespace: OIV.Inventor.Algorithms
The SoArithmetic type exposes the following members.
Name | Description | |
---|---|---|
SoArithmetic | Constructor. |
Name | Description | |
---|---|---|
Add(SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType) | Add two buffers into a third one. | |
Add(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType) | Add two buffers into a third one. | |
ComputeMinMax(SoBufferObject, SbDataType, Double, Double) | Compute min max of all values contained in a buffer. | |
ComputeMinMax(SoBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double) | Compute min max of values contained in the specified range of the buffer. | |
ComputeMinMax(SoCpuBufferObject, SbDataType, SbVec3i32, SbBox3i32, Double, Double) | Compute min max of values contained in the specified range of the buffer. | |
ComputeMinMaxWithUndefinedValue(SoBufferObject, SbDataType, Double, Double, Double) | Compute min max of all values contained in a buffer that are not equal to the specified undefined value. | |
ComputeMinMaxWithUndefinedValue(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. | |
ComputeMinMaxWithUndefinedValue(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. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Madd(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. | |
Madd(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single) | C = A * scale + B Fast version for Cpu buffers. | |
Mult(SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType) | Multiply two buffers into a third one. | |
Mult(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType) | Multiply two buffers into a third one. | |
Scale(SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single) | B = A * scaleFactor Note: B can be a reference to A Limitation: typeA must be the same as typeC. | |
Scale(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single) | B = A * scaleFactor Fast version for Cpu buffers. | |
Shift(SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single) | B = A + shiftFactor Note: B can be a reference to A Limitation: typeA must be the same as typeC. | |
Shift(SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single) | B = A + shiftFactor Fast version for Cpu buffers. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The Arithmetic module provides basic Add, Multiply, etc functions that operate on buffers.
Examples: