MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoView2D/SoOrthoView2D.h
Go to the documentation of this file.
00001 #ifndef __SoOrthoView2D_H
00002 #define __SoOrthoView2D_H
00003 //----------------------------------------------------------------------------------
00004 // **InsertLicense** code
00005 //----------------------------------------------------------------------------------
00007 
00013 //----------------------------------------------------------------------------------
00014 
00015 #ifndef __SoView2DSystem_H
00016 #include "SoView2DSystem.h"
00017 #endif
00018 
00019 #ifndef __SoOrthoView2DBase_H
00020 #include "SoOrthoView2DBase.h"
00021 #endif
00022 
00023 #include <XVEnterScope.h>
00024 #include <Inventor/fields/SoSFBool.h>
00025 #include <Inventor/fields/SoSFInt32.h>
00026 #include <Inventor/fields/SoSFEnum.h>
00027 #include <Inventor/fields/SoSFTrigger.h>
00028 #include <Inventor/fields/SoSFFloat.h>
00029 #include <Inventor/fields/SoSFVec3f.h>
00030 #include <Inventor/fields/SoSFVec2f.h>
00031 #include <Inventor/fields/SoSFColor.h>
00032 #include <Inventor/fields/SoSFString.h>
00033 #include <Inventor/nodes/SoSeparator.h>
00034 #include <Inventor/nodes/SoSwitch.h>
00035 #include <Inventor/nodes/SoSubNode.h>
00036 #include <Inventor/SbViewportRegion.h>
00037 #include <Inventor/sensors/SoFieldSensor.h>
00038 #include <XVLeaveScope.h>
00039 
00040 #ifndef __SoSFMLConnector_H
00041 #include "SoSFMLConnector.h"
00042 #endif
00043 
00044 class SoView2D;
00045 class SoSFMLImage;
00046 
00047 //=============================================================
00051 
00054 //=============================================================
00055 class SOVIEW2D_API SoOrthoView2D : public SoOrthoView2DBase {
00056 
00057    SO_NODE_HEADER(SoOrthoView2D);
00058 
00059  public:
00061 
00063    SoSFMLConnector inputImage;
00064 
00066    SoSFBool useGlobalInputImage;
00067 
00069 
00071    static void initClass();
00072 
00074    SoOrthoView2D();
00075 
00076  protected:
00077     virtual ~SoOrthoView2D();
00078 
00080     virtual mlField* getMLImageField(int viewerIndex);
00081 
00083     static void useGlobalInputImageChangedCB(void *data, SoSensor* a);
00085     virtual void useGlobalInputImageChanged();
00086 
00088     void* _reformat;
00089 
00091     int _timePoint[3];
00092 
00094 
00095     SoFieldSensor* _useGlobalInputImageSensor;
00096 
00098 
00099 };
00100 
00101 #endif
00102 
00103 
00104 
00105 
00106