Click or drag to resize
SoImageDataAdapterextent Property

The OIV.ImageViz.Nodes.Images.SoImageDataAdapter.extent and OIV.ImageViz.Nodes.Images.SoImageDataAdapter.orientation fields define the position, size and orientation of the image in 3D (typicallly the physical space).

Namespace: OIV.ImageViz.Nodes.Images
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoSFBox3f extent { get; }

Property Value

Type: SoSFBox3f
Remarks

The extent field defines an axis aligned box in 3D. It has a 'min' corner, which is the image origin, and a 'max' corner. The orientation field defines a rotation around the image origin.

If the image is loaded from a file format that specifies a physical extent and/or orientation (for example DICOM), then these fields are initialized with the information specifies in the image file. If no extent is specified, then the extent field is set to (0, 0, 0, sizeX, sizeY, sizeZ). If no rotation is specified, then the orientation field is set to identity. The application can set either or both of these fields as needed.

The voxel size is the extent divided by the image dimensions (see OIV.ImageViz.Nodes.Images.SoImageDataAdapter.GetSize()).

See Also