Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cybtexturetransformc.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 1999  Carsten Winkelholz
00003 
00004 Malte Weiß, 15.07.2002: Node fully implemented.
00005 
00006 Address:  FGAN Forschungsgesellschaft fr Angewandte Naturwissenschaften e. V.
00007       Neuenahrer Str. 20
00008       D - 53343 Wachtberg
00009       
00010 Email:    winkelholz@fgan.de
00011 
00012 This program is free software; you can redistribute it and/or
00013 modify it under the terms of the GNU General Public License
00014 as published by the Free Software Foundation; either version 2
00015 of the License, or (at your option) any later version.
00016 
00017 This program is distributed in the hope that it will be useful,
00018 but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 GNU General Public License for more details.
00021 
00022 You should have received a copy of the GNU General Public License
00023 along with this program; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00025 */
00026 
00027 #ifndef CYBTEXTURETRANSFORM_HC
00028 #define CYBTEXTURETRANSFORM_HC
00029 
00030 #include "oaw/ctk/cybnodec.h"
00031 #include "oaw/ctk/cybwrlfields.h"
00032 #include "../oawconfig.h"
00033 
00034 OAW_BEGIN_NAMESPACE
00035 
00036 
00037 class OAW_DLLMAPPING CybTextureTransformC : public CybNodeC
00038 {
00039 public:
00040   CybTextureTransformC(CybWorldC*);
00041   CybTextureTransformC(const CybTextureTransformC&);
00042   CybTextureTransformC& operator = (const CybTextureTransformC&);  
00043 
00044   virtual void SetEvent(long, const void*, BaseI*);
00045   virtual long GetFieldEventID(const char*);
00046   virtual long GetFieldDataType(long);
00047 
00048 protected:
00049   virtual void CreateNewCopy(CybNodeC*);
00050   virtual void LoadVRML(char*& iter, const char* iterEnd,long& znr);
00051 
00052 public:
00053   // Transform properties
00054   SFVec2f  m_vCenter;          // Center
00055   SFFloat m_fRotation;        // Rotation
00056   SFVec2f  m_vScale;            // Scale
00057   SFVec2f  m_vTranslation;      // Translation
00058 
00059   // Key list
00060   static char VRMLKeyStrList[][30];
00061 };
00062 
00063 OAW_END_NAMESPACE
00064 
00065 
00066 #endif
00067 
00068 
00069 
00070 
00071 

Generated on Tue Jul 29 14:24:13 2003 for Open ActiveWrl by doxygen1.3-rc2