SoDataMeasureUnitDimensions Enumeration |
"Unit dimension" is used to categorize the resulting unit of a measure.
Namespace: OIV.ImageViz.Nodes.Measures
Member name | Value | Description | |
---|---|---|---|
SQUAREINTENSITY | 0 | Output unit is the square of the input data value unit. | |
INTENSITY | 1 | Output unit is the same as the input data value unit. | |
VOLUME | 2 | Output unit is the cube as the input data length unit. | |
AREA | 3 | Output unit is the square as the input data length unit. | |
PERIMETER | 4 | Output unit is the same as the input length value unit. | |
NOUNIT | 5 | for measure without units (count for ex.) | |
DEGREES | 6 | Output is an angle in degrees (not radians). | |
PIXELS | 7 | Output is a pixel position or length (independent from the input length value unit). |
This is not the exact resulting unit, which depends on the input data unit. ex: an area computation on a data in mm will result in a measure in mm² ; the unit dimension is the relation between the intput and output units, in this example the square of the length unit, ie "Area". If the input data length unit is cm, the result will be cm², the unit dimension is the same and only depends on the measure algorithm, not on data.