![]() |
![]() |
00001 #ifndef IG_OPEN_INVENTOR_IG_SO_SIMPLE_TRAJECTORY_H 00002 # define IG_OPEN_INVENTOR_IG_SO_SIMPLE_TRAJECTORY_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h" 00007 # include <Inventor/fields/SoSFFloat.h> 00008 # include <Inventor/fields/SoMFVec3f.h> 00009 # include <Inventor/fields/SoSFUShort.h> 00010 # ifdef WIN32 00011 # include <SoWinLeaveScope.h> 00012 # endif 00013 00014 //<<<<<< PUBLIC DEFINES >>>>>> 00015 //<<<<<< PUBLIC CONSTANTS >>>>>> 00016 //<<<<<< PUBLIC TYPES >>>>>> 00017 //<<<<<< PUBLIC VARIABLES >>>>>> 00018 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00019 //<<<<<< CLASS DECLARATIONS >>>>>> 00020 00028 class IG_OPEN_INVENTOR_API IgSoSimpleTrajectory : public IgSoShapeKit 00029 { 00030 SO_KIT_HEADER (IgSoTrajectory); 00031 SO_KIT_CATALOG_ENTRY_HEADER (style); 00032 SO_KIT_CATALOG_ENTRY_HEADER (line); 00033 SO_KIT_CATALOG_ENTRY_HEADER (markers); 00034 00035 public: 00036 IgSoSimpleTrajectory (void); 00037 static void initClass (void); 00038 00039 SoMFVec3f controlPoints; //< Control points for the curve 00040 SoMFVec3f markerPoints; //< Optional list of points to receive markers 00041 SoSFFloat lineWidth; 00042 SoSFFloat pointSize; 00043 SoSFUShort linePattern; 00044 00045 protected: 00046 virtual void refresh (void); 00047 }; 00048 00049 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00050 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00051 00052 # ifdef WIN32 00053 # include <SoWinEnterScope.h> 00054 # endif 00055 #endif // IG_OPEN_INVENTOR_IG_SO_SIMPLE_TRAJECTORY_H