CMS 3D CMS Logo

IgMatEdModificationAction.h

Go to the documentation of this file.
00001 #ifndef IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H
00002 # define IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Controls/interface/config.h"
00007 
00008 # include <Inventor/actions/SoAction.h>
00009 # include <Inventor/actions/SoSubAction.h>
00010 
00011 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00012 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00013 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00014 
00015 class SoMaterial;
00016 
00017 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00018 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00019 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
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     // implicit copy constructor
00039     // implicit assignment operator
00040     // implicit destructor
00041 };
00042 
00043 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00044 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00045 
00046 #endif // IG3DMATERIAL_EDITOR_IG_MAT_ED_MODIFICATION_ACTION_H

Generated on Tue Jun 9 17:38:12 2009 for CMSSW by  doxygen 1.5.4