00001 00002 // MESH_X3DMeshNode.h // 00004 00005 #ifndef MESH_X3DMESHNODE_H 00006 #define MESH_X3DMESHNODE_H 00007 00008 #include "MESH_SceneGraphTypes.h" 00009 #include "MESH_X3DNode.h" 00010 00011 namespace X3DTK { 00012 namespace X3D { 00013 00014 class X3DAppearanceNode; 00015 00016 } 00017 00018 namespace MESH { 00019 00021 00022 class X3DMeshNode : public X3DNode 00023 { 00024 public: 00026 X3DMeshNode(); 00028 virtual ~X3DMeshNode(); 00029 00031 void setX3DAppearanceNodeChild(X3D::X3DAppearanceNode *N); 00032 00034 inline SFNode getVertexSet() const {return vertexSet;}; 00035 00037 inline X3D::X3DAppearanceNode *getX3DAppearanceNodeChild() const {return _x3dAppearance;}; 00038 00039 protected: 00041 X3DMeshNode(const X3DMeshNode &N); 00042 00044 SFNode vertexSet; 00045 00046 private: 00047 X3D::X3DAppearanceNode *_x3dAppearance; 00048 }; 00049 00050 } 00051 } 00052 00053 #endif