Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoDataMeasureCustom.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_CUSTOM_H_
24#define _SO_DATA_MEASURE_CUSTOM_H_
25
26#include <ImageViz/SoImageViz.h>
28
30class SoDEPRECATED SoDataMeasureCustom : public SoDataMeasure
195{
197public:
200
203
206
208 virtual const SbString& getMeasureName() const
209 { return measureName.getValue(); }
210
213
215 virtual ResultFormat getFormat() const;
216
217private:
219 virtual ~SoDataMeasureCustom();
220};
221
222#endif /* _SO_DATA_MEASURE_CUSTOM_H_ */
#define SO_FIELDCONTAINER_HEADER(className)
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> class to define a cust...
virtual UnitDimension getUnitDimension() const
Returns the "unit dimension" of the result data. Default is NOUNIT
SoSFString formula
Formula describing the custom measure.
virtual ResultFormat getFormat() const
Returns the "result format" of the result data. Default is FLOAT
SoDataMeasureCustom()
Default constructor.
virtual const SbString & getMeasureName() const
Returns the name of this measure.
SoSFString measureName
Measure name that can be used in custom measure combination formula.
<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.
ResultFormat
The "result format" is the type of the output of a measure computation.
Field containing a string.
Definition SoSFString.h:117
const SbString & getValue() const
Returns this field's value.
Definition SoSFString.h:119