Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoImageVizEngineAnalysisOutput.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 (Jan 2014)
22**=======================================================================*/
23#ifndef _SO_IMAGEVIZ_ENGINE_ANALYSIS_OUTPUT_H_
24#define _SO_IMAGEVIZ_ENGINE_ANALYSIS_OUTPUT_H_
25
26#include <ImageViz/SoImageViz.h>
27
30
34
48template <typename AnalysisResultType>class SoDEPRECATED SoImageVizEngineAnalysisOutput : public SoImageVizEngineOutput<SoSFImageAnalysisResult,SoImageAnalysisResult*>
50{
51public:
55
59
67 AnalysisResultType getDetail(size_t index=0) const
68 {
69 if ( index > getNumDetails() )
70 throw SbException("out of range");
72 }
73
77 size_t getNumDetails() const
78 {
80 if ( result!=NULL )
81 return (result->getNumDetails());
82 return 0;
83 }
84
85};
86
87#endif
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> class to handle image ...
size_t getNumDetails() const
Returns the number of details available in the image analysis result.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Image Processing outpu...
AnalysisResultType getDetail(size_t index=0) const
Return index-th detail of the given image analysis output.
size_t getNumDetails() const
Returns the number of details available in the image analysis output.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Image Processing outpu...
OutputType getValue() const
Return the cached output value.