00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00027
00029 #ifndef __X3DTEXTURETRANSFORM2DNODE_H__
00030 #define __X3DTEXTURETRANSFORM2DNODE_H__
00031
00032 #include "X3DTextureTransformNode.h"
00033 #include "SFVec2f.h"
00034 #include "SFFloat.h"
00035
00036 namespace H3D {
00037
00045 class H3DAPI_API X3DTextureTransform2DNode : public X3DTextureTransformNode {
00046 public:
00047
00049 X3DTextureTransform2DNode( Inst< DisplayList > _displayList = 0,
00050 Inst< SFNode > _metadata = 0,
00051 Inst< SFVec2f> _center = 0,
00052 Inst< SFFloat> _rotation = 0,
00053 Inst< SFVec2f> _scale = 0,
00054 Inst< SFVec2f> _translation = 0 );
00055
00063 auto_ptr< SFVec2f > center;
00064
00072 auto_ptr< SFFloat > rotation;
00073
00081 auto_ptr< SFVec2f > scale;
00082
00089 auto_ptr< SFVec2f > translation;
00090
00092 static H3DNodeDatabase database;
00093 };
00094 }
00095
00096 #endif