Click or drag to resize
SbImageDataAccessor Class

Class used to retrieve data from an OIV.ImageViz.Nodes.Images.SoImageDataAdapter.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.ImageVizSbImageDataAccessor

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public class SbImageDataAccessor : SoNetBase

The SbImageDataAccessor type exposes the following members.

Methods
  NameDescription
Public methodCopyRegion(SbImageDataAccessorRegion)

Returns an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter corresponding to the requested region.

Public methodCopyRegion(SbImageDataAccessorRegion, SbChannelList)

Returns an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter corresponding to the requested region.

Public methodStatic memberCreateFullRegion

Helper to create a OIV.ImageViz.SbImageDataAccessor.SubVolumeRegion corresponding to the whole region of the given image.

Public methodStatic memberCreateSliceRegion

Helper to create a OIV.ImageViz.SbImageDataAccessor.SubVolumeRegion corresponding to one slice of the given image.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetColumn(IListDouble, Int32)
Calls GetColumn(values, x, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodGetColumn(SoCpuBufferObject, Int32)
Calls GetColumn(values, x, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodGetColumn(IListDouble, Int32, Int32)
Calls GetColumn(values, x, z, System.Int32(0), System.Int32(0)).
Public methodGetColumn(SoCpuBufferObject, Int32, Int32)
Calls GetColumn(values, x, z, System.Int32(0), System.Int32(0)).
Public methodGetColumn(IListDouble, Int32, Int32, Int32)
Calls GetColumn(values, x, z, t, System.Int32(0)).
Public methodGetColumn(SoCpuBufferObject, Int32, Int32, Int32)
Calls GetColumn(values, x, z, t, System.Int32(0)).
Public methodGetColumn(IListDouble, Int32, Int32, Int32, Int32)

Alternate method to OIV.ImageViz.SbImageDataAccessor.GetColumn(OIV.Inventor.Devices.SoCpuBufferObject, System.Int32, System.Int32, System.Int32, System.Int32).

Public methodGetColumn(SoCpuBufferObject, Int32, Int32, Int32, Int32)

Get values of the full column at specified coordinates.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetImageAdapter

Returns the OIV.ImageViz.Nodes.Images.SoImageDataAdapter associated with this DataAccessor.

Public methodGetRow(IListDouble, Int32)
Calls GetRow(values, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodGetRow(SoCpuBufferObject, Int32)
Calls GetRow(values, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodGetRow(IListDouble, Int32, Int32)
Calls GetRow(values, y, z, System.Int32(0), System.Int32(0)).
Public methodGetRow(SoCpuBufferObject, Int32, Int32)
Calls GetRow(values, y, z, System.Int32(0), System.Int32(0)).
Public methodGetRow(IListDouble, Int32, Int32, Int32)
Calls GetRow(values, y, z, t, System.Int32(0)).
Public methodGetRow(SoCpuBufferObject, Int32, Int32, Int32)
Calls GetRow(values, y, z, t, System.Int32(0)).
Public methodGetRow(IListDouble, Int32, Int32, Int32, Int32)

Alternate method to OIV.ImageViz.SbImageDataAccessor.GetRow(OIV.Inventor.Devices.SoCpuBufferObject, System.Int32, System.Int32, System.Int32, System.Int32).

Public methodGetRow(SoCpuBufferObject, Int32, Int32, Int32, Int32)

Get values of the full row at specified coordinates.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVoxel(SbVec4i32)

Returns voxel at specified position.

Public methodGetVoxel(Int32, Int32)
Calls GetVoxel(x, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodGetVoxel(Int32, Int32, Int32)
Calls GetVoxel(x, y, z, System.Int32(0), System.Int32(0)).
Public methodGetVoxel(Int32, Int32, Int32, Int32)
Calls GetVoxel(x, y, z, t, System.Int32(0)).
Public methodGetVoxel(Int32, Int32, Int32, Int32, Int32)

Returns value of voxel at specified position.

Public methodSetColumn(IListDouble, Int32)
Calls SetColumn(values, x, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodSetColumn(SoCpuBufferObject, Int32)
Calls SetColumn(values, x, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodSetColumn(IListDouble, Int32, Int32)
Calls SetColumn(values, x, z, System.Int32(0), System.Int32(0)).
Public methodSetColumn(SoCpuBufferObject, Int32, Int32)
Calls SetColumn(values, x, z, System.Int32(0), System.Int32(0)).
Public methodSetColumn(IListDouble, Int32, Int32, Int32)
Calls SetColumn(values, x, z, t, System.Int32(0)).
Public methodSetColumn(SoCpuBufferObject, Int32, Int32, Int32)
Calls SetColumn(values, x, z, t, System.Int32(0)).
Public methodSetColumn(IListDouble, Int32, Int32, Int32, Int32)

Alternate method to OIV.ImageViz.SbImageDataAccessor.SetColumn(OIV.Inventor.Devices.SoCpuBufferObject, System.Int32, System.Int32, System.Int32, System.Int32).

Public methodSetColumn(SoCpuBufferObject, Int32, Int32, Int32, Int32)

Set values to a column at specified coordinates.

Public methodSetRow(IListDouble, Int32)
Calls SetRow(values, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodSetRow(SoCpuBufferObject, Int32)
Calls SetRow(values, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodSetRow(IListDouble, Int32, Int32)
Calls SetRow(values, y, z, System.Int32(0), System.Int32(0)).
Public methodSetRow(SoCpuBufferObject, Int32, Int32)
Calls SetRow(values, y, z, System.Int32(0), System.Int32(0)).
Public methodSetRow(IListDouble, Int32, Int32, Int32)
Calls SetRow(values, y, z, t, System.Int32(0)).
Public methodSetRow(SoCpuBufferObject, Int32, Int32, Int32)
Calls SetRow(values, y, z, t, System.Int32(0)).
Public methodSetRow(IListDouble, Int32, Int32, Int32, Int32)

Alternate method to OIV.ImageViz.SbImageDataAccessor.SetRow(OIV.Inventor.Devices.SoCpuBufferObject, System.Int32, System.Int32, System.Int32, System.Int32).

Public methodSetRow(SoCpuBufferObject, Int32, Int32, Int32, Int32)

Set values to a row at specified coordinates.

Public methodSetVoxel(Double, Int32, Int32)
Calls SetVoxel(value, x, y, System.Int32(0), System.Int32(0), System.Int32(0)).
Public methodSetVoxel(Double, Int32, Int32, Int32)
Calls SetVoxel(value, x, y, z, System.Int32(0), System.Int32(0)).
Public methodSetVoxel(Double, Int32, Int32, Int32, Int32)
Calls SetVoxel(value, x, y, z, t, System.Int32(0)).
Public methodSetVoxel(Double, Int32, Int32, Int32, Int32, Int32)

Set the value of voxel at specified coordinates.

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

Class used to retrieve data from an OIV.ImageViz.Nodes.Images.SoImageDataAdapter.

To create an OIV.ImageViz.SbImageDataAccessor, call the getDataAccessor() method on the SoImageDataAdaptor.

To get an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter containing the data from a region, call OIV.ImageViz.SbImageDataAccessor.CopyRegion(OIV.ImageViz.SbImageDataAccessor.Region, OIV.ImageViz.SbChannelList) with an instance of a class implementing the OIV.ImageViz.SbImageDataAccessor.Region interface. You can use the predefined OIV.ImageViz.SbImageDataAccessor.Region class OIV.ImageViz.SbImageDataAccessor.SubVolumeRegion and the helper methods, e.g. OIV.ImageViz.SbImageDataAccessor.CreateSliceRegion(OIV.ImageViz.Nodes.Images.SoImageDataAdapter, System.UInt32), for convenience. Note that the returned data are stored in CPU memory. This class does not aim to support out of core access. Make sure you have enough free memory when requesting data.

See Also