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 00019 00020 namespace MESH { 00021 00023 00024 class X3DMeshNode : public X3DNode 00025 { 00026 public: 00028 X3DMeshNode(); 00030 virtual ~X3DMeshNode(); 00031 00033 void setX3DAppearanceNodeChild(X3D::X3DAppearanceNode *N); 00034 00036 inline SFNode getVertexSet() const {return vertexSet;}; 00037 00039 inline X3D::X3DAppearanceNode *getX3DAppearanceNodeChild() const {return _x3dAppearance;}; 00040 00041 protected: 00043 X3DMeshNode(const X3DMeshNode &N); 00044 00046 SFNode vertexSet; 00047 00048 private: 00049 X3D::X3DAppearanceNode *_x3dAppearance; 00050 }; 00051 00052 } 00053 } 00054 00055 #endif