Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoWinMaterialSliderSet.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23
24
25
26
27
28#ifndef _SO_WIN_MATERIAL_SLIDER_SET_
29#define _SO_WIN_MATERIAL_SLIDER_SET_
30
31#include <Inventor/Win/SoWinBeginStrict.h>
32#include <Inventor/Win/SoWinSliderSet.h>
33
35//
36// Class: SoWinMaterialSliderSet
37//
38// For editing material nodes.
39//
40// The SoWinMaterialSliderSet allocates:
41// 1 SoWinAmbientColorSliderModule (for editing ambient color )
42// 1 SoWinDiffuseColorSliderModule (for editing diffues color )
43// 1 SoWinSpecularColorSliderModule (for editing specular color )
44// 1 SoWinEmissiveColorSliderModule (for editing emissive color )
45// 1 SoWinShininessSliderModule (for editing shininess )
46// 1 SoWinTransparencySliderModule (for editing transparency )
47//
49
50{
51 public:
52 SoWinMaterialSliderSet(
53 SoWidget parent = NULL,
54 const char *name = NULL,
55 SbBool buildInsideParent = TRUE,
56 SoNode *newEditNode = NULL );
57 ~SoWinMaterialSliderSet();
58
59 private:
60
61 // This constructor takes a boolean whether to build the widget now.
62 // Subclasses can pass FALSE, then call the buildWidget() method on
63 // this class when they are ready for it to be built.
64 SoEXTENDER
65 SoWinMaterialSliderSet(
66 SoWidget parent,
67 const char *name,
68 SbBool buildInsideParent,
69 SoNode *newEditNode,
70 SbBool buildNow);
71
72 SoWidget buildWidget( SoWidget parent);
73
74 // this is called by both constructors
75 void constructorCommon(SbBool buildNow);
76};
77
78#include <Inventor/Win/SoWinEndStrict.h>
79
80#endif /* _SO_WIN_MATERIAL_SLIDER_SET_ */
81
82
Abstract base class for all database nodes.
Definition SoNode.h:145
int SbBool
Boolean type.
Definition SbBase.h:87