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_LIGHT_SLIDER_SET_ 00029 #define _SO_WIN_LIGHT_SLIDER_SET_ 00030 00031 #include <Inventor/Win/SoWinBeginStrict.h> 00032 #include <Inventor/Win/SoWinSliderSet.h> 00033 00035 // 00036 // Class: SoWinLightSliderSet 00037 // 00038 // For editing light source nodes. 00039 // 00040 // The SoWinLightSliderSet allocates: 00041 // 1 SoWinLightIntensitySliderModule (for editing light intensity) 00042 // 1 SoWinLightColorSliderModule (for editing light color) 00043 // 00045 00046 { 00047 public: 00048 SoWinLightSliderSet( 00049 SoWidget parent = NULL, 00050 const char *name = NULL, 00051 SbBool buildInsideParent = TRUE, 00052 SoNode *newEditNode = NULL ); 00053 ~SoWinLightSliderSet(); 00054 00055 private: 00056 00057 // This constructor takes a boolean whether to build the widget now. 00058 // Subclasses can pass FALSE, then call the buildWidget() method on 00059 // this class when they are ready for it to be built. 00060 SoEXTENDER 00061 SoWinLightSliderSet( 00062 SoWidget parent, 00063 const char *name, 00064 SbBool buildInsideParent, 00065 SoNode *newEditNode, 00066 SbBool buildNow); 00067 00068 SoWidget buildWidget(SoWidget parent); 00069 00070 // this is called by both constructors 00071 void constructorCommon(SbBool buildNow); 00072 }; 00073 00074 #include <Inventor/Win/SoWinEndStrict.h> 00075 00076 #endif /* _SO_WIN_LIGHT_SLIDER_SET_ */ 00077 00078 00079