00001 00002 // MeshTransform.h // 00004 00005 #ifndef MESHTRANSFORM_H 00006 #define MESHTRANSFORM_H 00007 00008 #include "Mesh_X3DGroupingNode.h" 00009 00010 namespace X3DTK { 00011 namespace MESH { 00012 00014 00015 class Transform : public X3DGroupingNode 00016 { 00017 public: 00019 Transform(); 00021 virtual SFNode clone() const; 00023 virtual ~Transform(); 00024 00026 void setTransform(const SFMatrix34f &M); 00027 00029 const SFMatrix34f &getTransform() const; 00030 00031 protected: 00033 Transform(const Transform &T); 00034 00035 private: 00036 SFMatrix34f _transform; 00037 }; 00038 00039 } 00040 } 00041 00042 #endif