SliceScaleBar Fields |
The SliceScaleBar type exposes the following members.
Name | Description | |
---|---|---|
alignment |
Scale bar alignment (default is CENTER).
| |
label |
Label (default is empty string).
| |
length |
Length in normalized screen coordinates (-1 to 1) if not tracking,
else length in 3D world coordinates. Default is 1.
For example, if the application is viewing DICOM data measured in
millimeters (mm), then setting length to 100 displays a 10 cm scale
bar on screen.
| |
numTickIntervals |
Number of tick intervals (default is 0).
If numTickIntervals is 0, no tick marks are drawn.
For example, if the length is set to 100 mm, then set numTickIntervals
to 10 to get a tick mark every 10 mm (1 cm).
| |
orientation |
Scale bar orientation (default is HORIZONTAL).
| |
position |
Position in normalized screen coordinates (-1 to 1). Default is (0,0,0).
| |
trackedCamera |
Tracked camera (default is null).
This should be the camera that is viewing the tracked scene.
It will be used to determine the length of the axis in NDC
based on the specified length in 3D world coordinates.
|