Click or drag to resize
SoVRDicomDataGetPosition Method

Returns the 3D position of the center of the image.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool GetPosition(
	out SbVec3f position
)

Parameters

position
Type: OIV.InventorSbVec3f

Return Value

Type: Boolean

True if file contains position

Remarks

This position represents the "origin" of the image in a 3D graphics sense and be used with a transform node, for example, OIV.Inventor.Nodes.SoTranslation. It is computed from the DICOM Image Position Patient attribute, but is not the same as the Image Position Patient (which is the position of the center of the first voxel). If this element is not available, position will be set to (0, 0, 0).

See Also