00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : VSG (MMM YYYY) 00022 **=======================================================================*/ 00023 00024 00025 00026 00027 00028 #ifndef _SO_WIN_TRANSFORM_SLIDER_SET_ 00029 #define _SO_WIN_TRANSFORM_SLIDER_SET_ 00030 00031 #include <Inventor/Win/SoWinBeginStrict.h> 00032 #include <Inventor/Win/SoWinSliderSet.h> 00033 00035 // 00036 // Class: SoWinTransformSliderSet 00037 // 00038 // For editing transformation nodes. 00039 // 00040 // The SoWinTransformSliderSet allocates: 00041 // 1 SoWinTransSliderModule (for editing translation) 00042 // 1 SoWinScaleSliderModule (for editing scaling) 00043 // 1 SoWinRotateSliderModule (for editing rotation) 00044 // 1 SoWinCenterSliderModule (for editing center of rotation and scale) 00045 // 00047 00048 { 00049 public: 00050 SoWinTransformSliderSet( 00051 SoWidget parent = NULL, 00052 const char *name = NULL, 00053 SbBool buildInsideParent = TRUE, 00054 SoNode *newEditNode = NULL ); 00055 ~SoWinTransformSliderSet(); 00056 00057 private: 00058 00059 // This constructor takes a boolean whether to build the widget now. 00060 // Subclasses can pass FALSE, then call the buildWidget() method on 00061 // this class when they are ready for it to be built. 00062 SoEXTENDER 00063 SoWinTransformSliderSet( 00064 SoWidget parent, 00065 const char *name, 00066 SbBool buildInsideParent, 00067 SoNode *newEditNode, 00068 SbBool buildNow); 00069 00070 // redefine these 00071 virtual SbString getDefaultWidgetName() const; 00072 virtual SbString getDefaultTitle() const; 00073 virtual SbString getDefaultIconTitle() const; 00074 00075 SoWidget buildWidget( SoWidget parent); 00076 00077 // this is called by both constructors 00078 void constructorCommon(SbBool buildNow); 00079 }; 00080 00081 #include <Inventor/Win/SoWinEndStrict.h> 00082 00083 #endif // _SO_WIN_TRANSFORM_SLIDER_SET_ 00084 00085 00086