Image Processing output class to convert SoImageAnalysisResult to result details. More...
#include <ImageViz/Engines/SoImageVizEngineAnalysisOutput.h>
Public Member Functions | |
SoImageVizEngineAnalysisOutput () | |
virtual | ~SoImageVizEngineAnalysisOutput () |
AnalysisResultType | getDetail (size_t index=0) const |
size_t | getNumDetails () const |
This class is similar to SoImageVizEngineOutput but provide a methods to get back the detailed values of an image analysis as an object that contains a member for each specific value.
Detailed object are retrieved using the getDetail() method.
SoImageVizEngineAnalysisOutput< AnalysisResultType >::SoImageVizEngineAnalysisOutput | ( | ) | [inline] |
Constructor.
virtual SoImageVizEngineAnalysisOutput< AnalysisResultType >::~SoImageVizEngineAnalysisOutput | ( | ) | [inline, virtual] |
Destructor.
AnalysisResultType SoImageVizEngineAnalysisOutput< AnalysisResultType >::getDetail | ( | size_t | index = 0 |
) | const [inline] |
Return index-th detail of the given image analysis output.
In general there is as many detail than there is slices in the analyzed image (or one detail with 3D input image). But some image analysis engine's output can generate multiple detail per slices (or per volume in 3D).
The requested index must be in the range 0..getNumDetails() if not an invalid range exception is thrown.
size_t SoImageVizEngineAnalysisOutput< AnalysisResultType >::getNumDetails | ( | ) | const [inline] |
Returns the number of details available in the image analysis output.