00001 #ifndef IG_OPEN_INVENTOR_IG_SO_ARROW_H 00002 # define IG_OPEN_INVENTOR_IG_SO_ARROW_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h" 00007 # include <Inventor/fields/SoSFVec3f.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 00021 class IG_OPEN_INVENTOR_API IgSoArrow : public IgSoShapeKit 00022 { 00023 SO_KIT_HEADER (IgSoArrow); 00024 SO_KIT_CATALOG_ENTRY_HEADER (finalTranslation); 00025 SO_KIT_CATALOG_ENTRY_HEADER (scale); 00026 SO_KIT_CATALOG_ENTRY_HEADER (myRotation); 00027 SO_KIT_CATALOG_ENTRY_HEADER (rot); 00028 SO_KIT_CATALOG_ENTRY_HEADER (zTranslation); 00029 SO_KIT_CATALOG_ENTRY_HEADER (axisCyl); 00030 SO_KIT_CATALOG_ENTRY_HEADER (cTranslation); 00031 SO_KIT_CATALOG_ENTRY_HEADER (axisCone); 00032 00033 public: 00034 IgSoArrow (void); 00035 static void initClass (void); 00036 00037 SoSFVec3f tip; //< tail world coordinates 00038 SoSFVec3f tail; //< tip world coordinates 00039 00040 protected: 00041 virtual void refresh (void); 00042 }; 00043 00044 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00045 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00046 00047 # ifdef WIN32 00048 # include <SoWinEnterScope.h> 00049 # endif 00050 #endif // IG_OPEN_INVENTOR_IG_SO_ARROW_H