00001 #ifndef IG_OPEN_INVENTOR_IG_SO_ELLIPSOID_H 00002 # define IG_OPEN_INVENTOR_IG_SO_ELLIPSOID_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h" 00007 # include <Inventor/fields/SoSFRotation.h> 00008 # include <Inventor/fields/SoSFVec3f.h> 00009 # ifdef WIN32 00010 # include <SoWinLeaveScope.h> 00011 # endif 00012 00013 //<<<<<< PUBLIC DEFINES >>>>>> 00014 //<<<<<< PUBLIC CONSTANTS >>>>>> 00015 //<<<<<< PUBLIC TYPES >>>>>> 00016 //<<<<<< PUBLIC VARIABLES >>>>>> 00017 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00018 //<<<<<< CLASS DECLARATIONS >>>>>> 00019 00029 class IG_OPEN_INVENTOR_API IgSoEllipsoid: public IgSoShapeKit 00030 { 00031 SO_KIT_HEADER (IgSoEllipsoid); 00032 SO_KIT_CATALOG_ENTRY_HEADER (trans); 00033 SO_KIT_CATALOG_ENTRY_HEADER (rot); 00034 SO_KIT_CATALOG_ENTRY_HEADER (scale); 00035 SO_KIT_CATALOG_ENTRY_HEADER (sphere); 00036 00037 public: 00038 IgSoEllipsoid (void); 00039 static void initClass (void); 00040 00041 SoSFVec3f eigenvalues; //< Shape parameters 00042 SoSFRotation rotation; //< The rotation 00043 SoSFVec3f center; //< Center of the ellipsoid 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