00001 #ifndef IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H
00002 # define IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H
00003
00004
00005
00006 # include "Iguana/Controls/interface/config.h"
00007
00008 # include <Inventor/actions/SoAction.h>
00009 # include <Inventor/actions/SoSubAction.h>
00010
00011
00012
00013
00014
00015 class SoMaterial;
00016
00017
00018
00019
00020
00021 class IG3DMATERIAL_EDITOR_API IgMatEdModificationAction : public SoAction
00022 {
00023 SO_ACTION_HEADER(IgMatEdModificationAction);
00024 public:
00025 IgMatEdModificationAction (void);
00026 ~IgMatEdModificationAction (void);
00027
00028 static void initClass(void);
00029 static void modifyMaterial (SoAction *action, SoNode *material);
00030
00031 static float m_transparency;
00032 static float m_shininess;
00033 static float m_diffuseColor[3];
00034 static float m_ambientColor[3];
00035 static float m_specularColor[3];
00036 static float m_emissiveColor[3];
00037
00038
00039
00040
00041 };
00042
00043
00044
00045
00046 #endif // IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H