Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoDataMeasure.h
Go to the documentation of this file.
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : David Beilloin (Sep 2013)
22**=======================================================================*/
23#ifndef _SO_DATA_MEASURE_H_
24#define _SO_DATA_MEASURE_H_
25
26#include <ImageViz/SoImageViz.h>
28class SoDEPRECATED SoDataMeasure : public SoFieldContainer
41{
43public:
44
73
82 // Integer 32-bit
84 // Float 32-bit
86 // String
88 // Integer 64-bit
90 // Unsigned Integer 64-bit
92 // Float 64-bit
94 };
95
100 virtual const SbString& getMeasureName() const = 0;
101
105 virtual UnitDimension getUnitDimension() const = 0;
106
110 virtual ResultFormat getFormat() const = 0;
111
112private:
115
117 virtual ~SoDataMeasure();
118};
119
120#endif /* _SO_DATA_MEASURE_H_ */
#define SO_FIELDCONTAINER_ABSTRACT_HEADER(className)
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Abstract base class fo...
UnitDimension
"Unit dimension" is used to categorize the resulting unit of a measure.
@ INTENSITY
Output unit is the same as the input data value unit.
@ NOUNIT
for measure without units (count for ex.)
@ PERIMETER
Output unit is the same as the input length value unit.
@ DEGREES
Output is an angle in degrees (not radians).
@ VOLUME
Output unit is the cube as the input data length unit.
@ AREA
Output unit is the square as the input data length unit.
@ SQUAREINTENSITY
Output unit is the square of the input data value unit.
virtual UnitDimension getUnitDimension() const =0
Returns the "unit dimension" of the result data.
virtual ResultFormat getFormat() const =0
Returns the "result format" of the result data.
ResultFormat
The "result format" is the type of the output of a measure computation.
virtual const SbString & getMeasureName() const =0
Returns the name of this measure.
Abstract base class for objects that contain fields.