00001 #ifndef X3DTK_X3D_APPEARANCE_H 00002 #define X3DTK_X3D_APPEARANCE_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DAppearanceNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00010 class X3DMaterialNode; 00011 class X3DTextureNode; 00012 class X3DTextureTransformNode; 00013 class LineProperties; 00014 class FillProperties; 00015 00023 class Appearance : public X3DAppearanceNode 00024 { 00025 public: 00027 Appearance(); 00028 00030 inline X3DMaterialNode *getMaterial() const {return _material;}; 00032 inline X3DTextureNode *getTexture() const {return _texture;}; 00034 inline X3DTextureTransformNode *getTextureTransform() const {return _textureTransform;}; 00036 inline LineProperties *getLineProperties() const {return _lineProperties;}; 00038 inline FillProperties *getFillProperties() const {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