MeVisLab Toolbox Reference
SoMLImageProps.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef SO_MLIMAGE_PROPS_H
14 #define SO_MLIMAGE_PROPS_H
15 
16 
18 
19 #include "SoMLSupportSystem.h"
21 #include <Inventor/nodes/SoSubNode.h>
22 #include <SoSFMLImage.h>
23 
24 class SoGLRenderAction;
25 class SoFieldSensor;
26 class SoSensor;
27 
29 class INVENTOR_ML_SUPPORT_API SoMLImageProps : public SoNode
30 {
31  typedef SoNode inherited;
32 
33  SO_NODE_HEADER(SoMLImageProps);
34 
35  public:
36 
39 
42 
43  SoEXTENDER public:
44 
46  void GLRender(SoGLRenderAction *action) override;
47 
48  SoINTERNAL public:
49 
51  static void initClass();
52 
53  protected:
54 
56 
58  ~SoMLImageProps() override;
59 
60  void imageChangedCB(SoField* field);
61 };
62 
63 #endif // _SO_ML_IMAGE_PROPS_
Inventor element storing ML image properties in the OpenInventor state.
Inventor node providing access to ML image properties.
SoMLImageProps()
Constructor.
SoSFMLImage image
Read ML image properties from this field.
void GLRender(SoGLRenderAction *action) override
Do the check.
void imageChangedCB(SoField *field)
SbMLImageProperties _imgProps
static void initClass()
Initialize class with runtime type system.
~SoMLImageProps() override
Destructor.
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
Definition: SoSFMLImage.h:70