CMS 3D CMS Logo

IgSoCoordinateAxis.h

Go to the documentation of this file.
00001 #ifndef IG_OPEN_INVENTOR_IG_SO_COORDINATE_AXIS_H
00002 # define IG_OPEN_INVENTOR_IG_SO_COORDINATE_AXIS_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include <Inventor/fields/SoSFInt32.h>
00008 # include <Inventor/fields/SoSFFloat.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 
00025 class IG_OPEN_INVENTOR_API IgSoCoordinateAxis : public IgSoShapeKit
00026 {
00027     SO_KIT_HEADER (IgSoCoordinateAxis);
00028 
00029     SO_KIT_CATALOG_ENTRY_HEADER (x);
00030     SO_KIT_CATALOG_ENTRY_HEADER (xrot);
00031     SO_KIT_CATALOG_ENTRY_HEADER (xaxis);
00032     SO_KIT_CATALOG_ENTRY_HEADER (y);
00033     SO_KIT_CATALOG_ENTRY_HEADER (yrot);
00034     SO_KIT_CATALOG_ENTRY_HEADER (yaxis);
00035     SO_KIT_CATALOG_ENTRY_HEADER (z);
00036     SO_KIT_CATALOG_ENTRY_HEADER (zaxis);
00037 
00038 public:
00039     IgSoCoordinateAxis (void);
00040     static void initClass (void);
00041 
00042     SoSFInt32 divisions;            //< number of divisions
00043     SoSFFloat divisionLength;       //< length of one division in the default units
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_COORDINATE_AXIS_H

Generated on Tue Jun 9 17:38:43 2009 for CMSSW by  doxygen 1.5.4