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