SoVolumeDataEditSubVolume Method (SbBox3i32, SoBufferObject) |
Replaces the contents of a subvolume with the given data.
Namespace: OIV.VolumeViz.NodesAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public override int EditSubVolume(
SbBox3i32 subVolume,
SoBufferObject userData
)
Public Overrides Function EditSubVolume (
subVolume As SbBox3i32,
userData As SoBufferObject
) As Integer
public:
virtual int EditSubVolume(
SbBox3i32 subVolume,
SoBufferObject^ userData
) override
abstract EditSubVolume :
subVolume : SbBox3i32 *
userData : SoBufferObject -> int
override EditSubVolume :
subVolume : SbBox3i32 *
userData : SoBufferObject -> int
Parameters
- subVolume
- Type: OIV.InventorSbBox3i32
- userData
- Type: OIV.Inventor.DevicesSoBufferObject
Return Value
Type:
Int32Remarks
The buffer size (in bytes) must match the subvolume size (in bytes) exactly. The subvolume is specified in voxel/cell coordinates. Call OIV.VolumeViz.Nodes.SoVolumeData.StartEditing(System.Int32@) before calling this method. Returns 0 if successful.
Caution |
---|
The modification may be postponed until the tiles are really needed. Therefore the contents of the userData buffer must not be modified until after saveEditing() is called. |
See Also