00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright 2000-2002 by OpenSG Forum * 00006 * * 00007 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00008 * * 00009 \*---------------------------------------------------------------------------*/ 00010 /*---------------------------------------------------------------------------*\ 00011 * License * 00012 * * 00013 * This library is free software; you can redistribute it and/or modify it * 00014 * under the terms of the GNU Library General Public License as published * 00015 * by the Free Software Foundation, version 2. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, but * 00018 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00020 * Library General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Library General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00025 * * 00026 \*---------------------------------------------------------------------------*/ 00027 /*---------------------------------------------------------------------------*\ 00028 * Changes * 00029 * * 00030 * * 00031 * * 00032 * * 00033 * * 00034 * * 00035 \*---------------------------------------------------------------------------*/ 00036 00037 /*****************************************************************************\ 00038 ***************************************************************************** 00039 ** ** 00040 ** This file is automatically generated. ** 00041 ** ** 00042 ** Any changes made to this file WILL be lost when it is ** 00043 ** regenerated, which can become necessary at any time. ** 00044 ** ** 00045 ** Do not change this file, changes should be done in the derived ** 00046 ** class QTWindow! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline OSG::FieldContainerType &QTWindowBase::getClassType(void) 00058 { 00059 return _type; 00060 } 00061 00063 inline OSG::UInt32 QTWindowBase::getClassTypeId(void) 00064 { 00065 return _type.getId(); 00066 } 00067 00069 inline QTWindowPtr QTWindowBase::create(void) 00070 { 00071 QTWindowPtr fc; 00072 00073 if(getClassType().getPrototype() != OSG::NullFC) 00074 { 00075 fc = QTWindowPtr::dcast( 00076 getClassType().getPrototype()-> shallowCopy()); 00077 } 00078 00079 return fc; 00080 } 00081 00083 inline QTWindowPtr QTWindowBase::createEmpty(void) 00084 { 00085 QTWindowPtr returnValue; 00086 00087 newPtr(returnValue); 00088 00089 return returnValue; 00090 } 00091 00092 00093 /*------------------------------ get -----------------------------------*/ 00094 00095 OSG_WINDOWQTLIB_DLLMAPPING 00096 SFOSGQGLWidgetP *QTWindowBase::getSFGlWidget(void) 00097 { 00098 return &_sfGlWidget; 00099 } 00100 00101 00102 OSG_WINDOWQTLIB_DLLMAPPING 00103 OSGQGLWidgetP &QTWindowBase::getGlWidget(void) 00104 { 00105 return _sfGlWidget.getValue(); 00106 } 00107 00108 OSG_WINDOWQTLIB_DLLMAPPING 00109 const OSGQGLWidgetP &QTWindowBase::getGlWidget(void) const 00110 { 00111 return _sfGlWidget.getValue(); 00112 } 00113 00114 OSG_WINDOWQTLIB_DLLMAPPING 00115 void QTWindowBase::setGlWidget(const OSGQGLWidgetP &value) 00116 { 00117 _sfGlWidget.setValue(value); 00118 } 00119 00120 00121 00122 OSG_END_NAMESPACE 00123 00124 #define OSGQTWINDOWBASE_INLINE_CVSID "@(#)$Id: $" 00125
1.6.1