Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SmPieChart.h
Go to the documentation of this file.
1 #ifndef SM_PIECHART_H
2 #define SM_PIECHART_H
3 
4 #include <Inventor/fields/SoSFFloat.h>
5 #include <Inventor/fields/SoSFEnum.h>
6 #include <Inventor/fields/SoMFColor.h>
7 #include <Inventor/fields/SoMFFloat.h>
8 #include <Inventor/nodekits/SoBaseKit.h>
9 
10 #include <SmallChange/basic.h>
11 
12 // *************************************************************************
13 
14 class SmPieChartP;
15 
16 class SMALLCHANGE_DLL_API SmPieChart : public SoBaseKit {
17  typedef SoBaseKit inherited;
18  SO_KIT_HEADER(SmPieChart);
19 
20  SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
21 
22 public:
23  static void initClass(void);
24  SmPieChart(void);
25 
26  enum ValueType {
28  ITEM_BORDER
29  };
30 
33 
38 
39  void generateGeometry(void);
40 
41 protected:
42  virtual ~SmPieChart(void);
43 
44  virtual SbBool readInstance(SoInput * input, unsigned short flags);
45 
46 private:
47  SmPieChartP * pimpl;
48 
49 }; // SmPieChart
50 
51 // *************************************************************************
52 
53 #endif // !SM_PIECHART_H
SoMFFloat retraction
Definition: SmPieChart.h:37
SoSFFloat height
Definition: SmPieChart.h:31
SoSFEnum valueType
Definition: SmPieChart.h:34
Definition: SmPieChart.h:27
Definition: SmPieChart.h:16
virtual SbBool readInstance(SoInput *in, unsigned short flags)
SoMFColor colors
Definition: SmPieChart.h:36
static void initClass(void)
SoSFFloat radius
Definition: SmPieChart.h:32
SoMFFloat values
Definition: SmPieChart.h:35
ValueType
Definition: SmPieChart.h:26