00001 00002 00003 00005 00006 00011 00016 00021 // MeshTransform.h // 00023 00024 #ifndef MESHTRANSFORM_H 00025 #define MESHTRANSFORM_H 00026 00027 #include "X3DMeshGroupingNode.h" 00028 00029 namespace X3DTK { 00030 namespace Mesh { 00031 00033 00034 class Transform : public X3DGroupingNode 00035 { 00036 public: 00038 Transform(); 00040 virtual SFNode clone() const; 00042 virtual ~Transform(); 00043 00045 void setTransform(const SFMatrix34f &M); 00046 00048 const SFMatrix34f &getTransform() const; 00049 00050 protected: 00052 Transform(const Transform &T); 00053 00054 private: 00055 SFMatrix34f _transform; 00056 }; 00057 00058 } 00059 } 00060 00061 #endif