00001 #ifndef X3DTK_GL_APPEARANCE_H 00002 #define X3DTK_GL_APPEARANCE_H 00003 00004 #include "GL_X3DAppearanceNode.h" 00005 00006 namespace X3DTK { 00007 namespace GL { 00008 00009 class X3DMaterialNode; 00010 class X3DTextureNode; 00011 class X3DTextureTransformNode; 00012 class LineProperties; 00013 class FillProperties; 00014 00021 class Appearance : public X3DAppearanceNode 00022 { 00023 public: 00025 Appearance(); 00027 virtual ~Appearance(); 00028 00030 inline X3DMaterialNode *getMaterial() {return _material;}; 00032 inline X3DTextureNode *getTexture() {return _texture;}; 00034 inline X3DTextureTransformNode *getTextureTransform() {return _textureTransform;}; 00036 inline LineProperties *getLineProperties() {return _lineProperties;}; 00038 inline FillProperties *getFillProperties() {return _fillProperties;}; 00039 00040 private: 00042 X3DMaterialNode *_material; 00044 X3DTextureNode *_texture; 00046 X3DTextureTransformNode *_textureTransform; 00048 LineProperties *_lineProperties; 00050 FillProperties *_fillProperties; 00051 }; 00052 00053 } 00054 } 00055 00056 #endif