MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoView2D/extensions/SoView2DBorderHighlight.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00004 
00010 //----------------------------------------------------------------------------------
00011 
00012 #ifndef __SoView2DBorderHighlight_H
00013 #define __SoView2DBorderHighlight_H
00014 
00015 #ifndef __SoView2DBorder_H
00016 #include "SoView2DBorder.h"
00017 #endif
00018 
00019 #include "XVEnterScope.h"
00020 #include <Inventor/fields/SoSFFloat.h>
00021 #include <Inventor/fields/SoSFInt32.h>
00022 #include "XVLeaveScope.h"
00023 
00024 
00026 class SOVIEW2D_API SoView2DBorderHighlight : public SoView2DBorder {
00027 
00028   SO_NODE_HEADER(SoView2DBorderHighlight);
00029 
00030 public:
00031   static void initClass();
00032 
00033   SoView2DBorderHighlight();
00034 
00036   void draw (View2DSliceList *dsl, View2DSlice* dslice, int slice);
00037 
00039   virtual void updateValues();
00040 
00042   SoSFFloat alphaFactor;
00043 
00045   SoSFFloat lineWidth;
00046 
00048   SoSFInt32 startSlice;
00049 
00051   SoSFInt32 numSlices;
00052 
00053 };
00054 
00055 #endif
00056 // __SoView2DBorderHighlight_H