Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoLabelAnalysisResult.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_LABEL_ANALYSIS_RESULT_H_
24#define _SO_LABEL_ANALYSIS_RESULT_H_
25
26#include <ImageViz/SoImageViz.h>
28class SoDEPRECATED SoLabelAnalysisResult : public SoAnalysisResult
40{
42public:
45
47 int getNumMeasure() const;
48
52 SbString getMeasureName(int measureIndex) const;
53
58 int getMeasureIndex(const SbString& measureName) const;
59
63 int getNumMeasureComponent(int measureIndex) const;
64
69 size_t getNumLabels() const;
70
74 size_t getNumImageAnalysis() const;
75
79 size_t getNumLabels(int sequenceIndex) const;
80
85
90
94 SbString getValueAsString( int labelIndex, int measureIndex, int measureComponent ) const;
95
99 int64_t getValueAsInteger( int labelIndex, int measureIndex, int measureComponent ) const;
100
104 uint64_t getValueAsUInt( int labelIndex, int measureIndex, int measureComponent ) const;
105
109 double getValueAsDouble( int labelIndex, int measureIndex, int measureComponent ) const;
110
111private:
113 virtual ~SoLabelAnalysisResult();
114};
115
116#endif /* _SO_LABEL_ANALYSIS_RESULT_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> 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.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> class to handle label ...
SoDataMeasure::ResultFormat getMeasureFormat(int measureIndex) const
Returns the measure format of the given resulting measure index.
SoDataMeasure::UnitDimension getMeasureUnitDimension(int measureIndex) const
Returns the measure unit dimension of the given resulting measure index.
SoLabelAnalysisResult()
Constructor.
double getValueAsDouble(int labelIndex, int measureIndex, int measureComponent) const
Returns the result as a floating value for the given measure and measure's component.
size_t getNumLabels() const
Returns the total number of different labels in the label analysis result.
uint64_t getValueAsUInt(int labelIndex, int measureIndex, int measureComponent) const
Returns the result as an unsigned integer value for the given measure and measure's component.
int64_t getValueAsInteger(int labelIndex, int measureIndex, int measureComponent) const
Returns the result as an integer value for the given measure and measure's component.
size_t getNumLabels(int sequenceIndex) const
Returns the number of different labels in the label analysis result for the given image index.
SbString getMeasureName(int measureIndex) const
Returns the ith measure name.
int getNumMeasure() const
Returns the number of measures results.
int getNumMeasureComponent(int measureIndex) const
Returns the number of components values for the given measure index.
size_t getNumImageAnalysis() const
Returns the number of image that where analysed.
int getMeasureIndex(const SbString &measureName) const
Returns the index of the measure named measureName.
SbString getValueAsString(int labelIndex, int measureIndex, int measureComponent) const
Returns the result as a string value for the given measure and measure's component.