00001 #ifndef IG_OPEN_INVENTOR_IG_SO_SLICER_ENGINE_H
00002 # define IG_OPEN_INVENTOR_IG_SO_SLICER_ENGINE_H
00003
00004
00005
00006 # include "Iguana/Inventor/interface/config.h"
00007 # include <Inventor/engines/SoEngine.h>
00008 # include <Inventor/engines/SoSubEngine.h>
00009 # include <Inventor/fields/SoSFFloat.h>
00010 # include <Inventor/fields/SoSFPlane.h>
00011
00012
00013
00014
00015
00016
00017
00018
00019 # ifdef WIN32
00020 # include <SoWinLeaveScope.h>
00021 # endif
00022
00023 class IG_OPEN_INVENTOR_API IgSoSlicerEngine : public SoEngine
00024 {
00025 SO_ENGINE_HEADER (IgSoSlicerEngine);
00026 public:
00027 SoSFFloat thickness;
00028 SoSFPlane plane;
00029 SoEngineOutput frontPlane;
00030 SoEngineOutput backPlane;
00031
00032 static void initClass (void);
00033
00034 IgSoSlicerEngine (void);
00035 ~IgSoSlicerEngine (void);
00036
00037 private:
00038 virtual void evaluate (void);
00039 };
00040 #ifdef WIN32
00041 #include <SoWinEnterScope.h>
00042 #endif // WIN32
00043
00044
00045
00046
00047 #endif // IG_OPEN_INVENTOR_IG_SO_SLICER_ENGINE_H