00001 #ifndef IG_OPEN_INVENTOR_IG_SO_2D_ARROW_H 00002 # define IG_OPEN_INVENTOR_IG_SO_2D_ARROW_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h" 00007 # include <Inventor/fields/SoSFFloat.h> 00008 # ifdef WIN32 00009 # include <SoWinLeaveScope.h> 00010 # endif 00011 00012 //<<<<<< PUBLIC DEFINES >>>>>> 00013 //<<<<<< PUBLIC CONSTANTS >>>>>> 00014 //<<<<<< PUBLIC TYPES >>>>>> 00015 //<<<<<< PUBLIC VARIABLES >>>>>> 00016 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00017 //<<<<<< CLASS DECLARATIONS >>>>>> 00018 00027 class IG_OPEN_INVENTOR_API IgSo2DArrow : public IgSoShapeKit 00028 { 00029 SO_KIT_HEADER (IgSo2DArrow); 00030 SO_KIT_CATALOG_ENTRY_HEADER (line); 00031 SO_KIT_CATALOG_ENTRY_HEADER (head); 00032 00033 public: 00034 IgSo2DArrow (void); 00035 static void initClass (void); 00036 00037 SoSFFloat length; //< total length including head 00038 SoSFFloat lengthRatio; //< fraction of the length for the head 00039 SoSFFloat headHeight; //< width of the head 00040 00041 protected: 00042 virtual void refresh (void); 00043 }; 00044 00045 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00046 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00047 00048 # ifdef WIN32 00049 # include <SoWinEnterScope.h> 00050 # endif 00051 #endif // IG_OPEN_INVENTOR_IG_SO_2D_ARROW_H