Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoMorphoLut2D.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 : Martial Papillon (Oct 2014)
22**=======================================================================*/
23#ifndef _SO_MORPHO_LUT_2D_H_
24#define _SO_MORPHO_LUT_2D_H_
25
26#include <ImageViz/SoImageViz.h>
29class SoDEPRECATED SoMorphoLut2D : public SoFieldContainer
48{
50public:
51
53 {
57 INSERT_OR
58 };
59
62
101 void insertKernel(SbKernel2i32 kernel2d, InsertMode insertMode, unsigned int kernelRotation);
102
106 size_t getNumKernels() const;
107
112 SbKernel2i32 getKernel(int indexKernel) const;
113
114private:
116 virtual ~SoMorphoLut2D();
117
123 SoMFKernel2i32 kernels;
124};
125
126#endif /* _SO_MORPHO_LUT_2D_H_ */
#define SO_FIELDCONTAINER_HEADER(className)
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Integer 2D-Kernel for ...
Abstract base class for objects that contain fields.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Multiple-value field c...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Class that represents ...
void insertKernel(SbKernel2i32 kernel2d, InsertMode insertMode, unsigned int kernelRotation)
Inserts a kernel into the LUT.
size_t getNumKernels() const
Return the number of kernels registered in the LUT.
SoMorphoLut2D()
Default constructor.
SbKernel2i32 getKernel(int indexKernel) const
Returns the specified kernel.
@ INSERT_NEW
Reset the LUT (clear all kernels) before insertion.