00001 #ifndef X3DTK_MESH_SHAPE_H 00002 #define X3DTK_MESH_SHAPE_H 00003 00004 #include "MESH_SceneGraphTypes.h" 00005 #include "MESH_X3DNode.h" 00006 #include "X3D_X3DNode.h" 00007 #include "MESH_X3DMeshNode.h" 00008 00009 namespace X3DTK { 00010 namespace X3D { 00011 00012 class X3DAppearanceNode; 00013 00014 } 00015 00016 namespace MESH { 00017 00024 class Shape : public X3DNode 00025 { 00026 public: 00028 Shape(); 00030 virtual ~Shape(); 00031 00033 inline SFNode getMesh() const {return _mesh;}; 00035 inline X3D::X3DNode *getAppearance() const {return _appearance;}; 00036 00037 private: 00038 X3D::X3DNode *_appearance; 00039 X3DNode *_mesh; 00040 }; 00041 00042 } 00043 } 00044 00045 #endif