X3D_Appearance.h

Go to the documentation of this file.
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();
00029   virtual ~Appearance();
00030   
00032   inline X3DMaterialNode *getMaterial() const {return _material;};
00034   inline X3DTextureNode *getTexture() const {return _texture;};
00036   inline X3DTextureTransformNode *getTextureTransform() const {return _textureTransform;};
00038   inline LineProperties *getLineProperties() const {return _lineProperties;};
00040   inline FillProperties *getFillProperties() const {return _fillProperties;};
00041 
00042 private:  
00044   X3DMaterialNode *_material;
00046   X3DTextureNode *_texture;
00048   X3DTextureTransformNode *_textureTransform;
00050   LineProperties *_lineProperties;
00052   FillProperties *_fillProperties;
00053 };
00054 
00055 }
00056 }
00057 
00058 #endif

Generated on Fri Jul 30 12:02:29 2004 for X3DToolKit by doxygen 1.3.6