1
#ifndef COIN_SOGUIMATERIALEDITOR_H
2
#define COIN_SOGUIMATERIALEDITOR_H
4
/**************************************************************************\
6
* This file is part of the Coin 3D visualization library.
7
* Copyright (C) 1998-2005 by Systems in Motion. All rights reserved.
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* ("GPL") version 2 as published by the Free Software Foundation.
12
* See the file LICENSE.GPL at the root directory of this source
13
* distribution for additional information about the GNU GPL.
15
* For using Coin with software that can not be combined with the GNU
16
* GPL, and for taking advantage of the additional benefits of our
17
* support services, please contact Systems in Motion about acquiring
18
* a Coin Professional Edition License.
20
* See <URL:http://www.coin3d.org/> for more information.
22
* Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23
* <URL:http://www.sim.no/>.
25
\**************************************************************************/
27
#include <Inventor/fields/SoSFEnum.h>
28
#include <Inventor/fields/SoSFShort.h>
29
#include <Inventor/fields/SoSFNode.h>
30
#include <Inventor/nodekits/SoBaseKit.h>
33
class SoGuiColorEditor;
35
typedef SoGuiColorEditor * SoGuiColorEditorOpenCB(void * closure);
36
typedef void SoGuiColorEditorCloseCB(void * closure, SoGuiColorEditor * editor);
38
class SoGuiMaterialEditor : public SoBaseKit {
39
typedef SoBaseKit inherited;
40
SO_KIT_HEADER(SoGuiMaterialEditor);
41
SO_KIT_CATALOG_ENTRY_HEADER(root);
44
static void initClass(void);
45
SoGuiMaterialEditor(void);
47
enum UpdateFrequency {
56
void setColorEditorCallbacks(SoGuiColorEditorOpenCB * open, SoGuiColorEditorCloseCB * close, void * closure);
57
SoMaterial * getSphereMaterialNode(void) const;
60
~SoGuiMaterialEditor(void);
67
#endif // !COIN_SOGUIMATERIALEDITOR_H