00001 #ifndef IG_OPEN_INVENTOR_IG_SO_GL2PS_ACTION_H
00002 # define IG_OPEN_INVENTOR_IG_SO_GL2PS_ACTION_H
00003
00004
00005
00006 #include "Iguana/Inventor/interface/config.h"
00007 #include <Inventor/actions/SoGLRenderAction.h>
00008
00009
00010
00011
00012
00013 class SbViewportRegion;
00014
00015
00016
00017
00018
00019 # ifdef WIN32
00020 # include <SoWinLeaveScope.h>
00021 # endif
00022
00023 class IG_OPEN_INVENTOR_API IgSoGL2PSAction : public SoGLRenderAction
00024 {
00025 SO_ACTION_HEADER(IgSoGL2PSAction);
00026 public:
00027
00028 static void initClass (void);
00029
00030 IgSoGL2PSAction (const SbViewportRegion&);
00031 protected:
00032
00033 private:
00034 static void indexedLineSet(SoAction* self, SoNode* node);
00035 static void lineSet (SoAction* self, SoNode* node);
00036 static void pointSet (SoAction* self, SoNode* node);
00037 static void text2 (SoAction* self, SoNode* node);
00038 static void markerSet (SoAction* self, SoNode* node);
00039 static void separatorSet (SoAction* self, SoNode* node);
00040 };
00041
00042 #ifdef WIN32
00043 #include <SoWinEnterScope.h>
00044 #endif // WIN32
00045
00046
00047
00048
00049 #endif // IG_OPEN_INVENTOR_IG_SO_GL2PS_ACTION_H