SoTreeBase.h
Go to the documentation of this file.00001 /* ======================================================================== 00002 * Copyright (C) 2000 Vienna University of Technology 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 * For further information please contact Dieter Schmalstieg under 00019 * <schmalstieg@ims.tuwien.ac.at> or write to Dieter Schmalstieg, 00020 * Vienna University of Technology, Favoritenstr. 9-11/188, A1040 Vienna, 00021 * Austria. 00022 * ======================================================================== 00023 * PROJECT: Studierstube 00024 * ======================================================================== */ 00025 00026 /* ======================================================================= */ 00027 /** Header file for API definitions of SoTreeBase 00028 * 00029 * @author Valerie Maquil 00030 * 00031 * $Header: 00032 * @file */ 00033 /* ======================================================================= */ 00034 00035 00036 #ifndef SoTreeBase_H 00037 #define SoTreeBase_H 00038 00039 #ifdef _WIN32 00040 #include <SoWinEnterScope.h> 00041 #endif 00042 00043 #include <Inventor/nodekits/SoBaseKit.h> 00044 #include <Inventor/fields/SoSFFloat.h> 00045 #include <Inventor/fields/SoSFInt32.h> 00046 #include <Inventor/sensors/SoFieldSensor.h> 00047 00048 #ifdef _WIN32 00049 #include <SoWinLeaveScope.h> 00050 #endif 00051 00052 #include "BotanicVis.h" 00053 #include <string> 00054 #include <stdlib.h> 00055 #include <iostream> 00056 00057 00058 /** 00059 * base class for all elements of a conventional tree 00060 00061 00062 @ingroup bot 00063 */ 00064 class BOTANIC_VIS_API SoTreeBase : public SoBaseKit 00065 { 00066 SO_KIT_HEADER(SoTreeBase); 00067 00068 public: 00069 00070 /** 00071 * inventor class initialization 00072 */ 00073 static void initClass(); 00074 /** 00075 * constructor 00076 */ 00077 SoTreeBase(); 00078 00079 protected: 00080 /** 00081 * destructor 00082 */ 00083 virtual ~SoTreeBase(); 00084 00085 00086 }; 00087 00088 //---------------------------------------------------------------------------- 00089 00090 #endif