00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright (C) 2000-2002 by the 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 ProjectionCameraDecorator! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &ProjectionCameraDecoratorBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 ProjectionCameraDecoratorBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 ProjectionCameraDecoratorPtr ProjectionCameraDecoratorBase::create(void) 00073 { 00074 ProjectionCameraDecoratorPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = ProjectionCameraDecoratorPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 ProjectionCameraDecoratorPtr ProjectionCameraDecoratorBase::createEmpty(void) 00088 { 00089 ProjectionCameraDecoratorPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 SFNodePtr *ProjectionCameraDecoratorBase::getSFUser(void) 00102 { 00103 return &_sfUser; 00104 } 00105 00107 inline 00108 MFPnt3f *ProjectionCameraDecoratorBase::getMFSurface(void) 00109 { 00110 return &_mfSurface; 00111 } 00112 00114 inline 00115 SFPlane *ProjectionCameraDecoratorBase::getSFLeft(void) 00116 { 00117 return &_sfLeft; 00118 } 00119 00121 inline 00122 SFPlane *ProjectionCameraDecoratorBase::getSFBottom(void) 00123 { 00124 return &_sfBottom; 00125 } 00126 00128 inline 00129 SFPlane *ProjectionCameraDecoratorBase::getSFNormal(void) 00130 { 00131 return &_sfNormal; 00132 } 00133 00135 inline 00136 SFReal32 *ProjectionCameraDecoratorBase::getSFWidth(void) 00137 { 00138 return &_sfWidth; 00139 } 00140 00142 inline 00143 SFReal32 *ProjectionCameraDecoratorBase::getSFHeight(void) 00144 { 00145 return &_sfHeight; 00146 } 00147 00148 00150 inline 00151 NodePtr &ProjectionCameraDecoratorBase::getUser(void) 00152 { 00153 return _sfUser.getValue(); 00154 } 00155 00157 inline 00158 const NodePtr &ProjectionCameraDecoratorBase::getUser(void) const 00159 { 00160 return _sfUser.getValue(); 00161 } 00162 00164 inline 00165 void ProjectionCameraDecoratorBase::setUser(const NodePtr &value) 00166 { 00167 _sfUser.setValue(value); 00168 } 00169 00171 inline 00172 Plane &ProjectionCameraDecoratorBase::getLeft(void) 00173 { 00174 return _sfLeft.getValue(); 00175 } 00176 00178 inline 00179 const Plane &ProjectionCameraDecoratorBase::getLeft(void) const 00180 { 00181 return _sfLeft.getValue(); 00182 } 00183 00185 inline 00186 void ProjectionCameraDecoratorBase::setLeft(const Plane &value) 00187 { 00188 _sfLeft.setValue(value); 00189 } 00190 00192 inline 00193 Plane &ProjectionCameraDecoratorBase::getBottom(void) 00194 { 00195 return _sfBottom.getValue(); 00196 } 00197 00199 inline 00200 const Plane &ProjectionCameraDecoratorBase::getBottom(void) const 00201 { 00202 return _sfBottom.getValue(); 00203 } 00204 00206 inline 00207 void ProjectionCameraDecoratorBase::setBottom(const Plane &value) 00208 { 00209 _sfBottom.setValue(value); 00210 } 00211 00213 inline 00214 Plane &ProjectionCameraDecoratorBase::getNormal(void) 00215 { 00216 return _sfNormal.getValue(); 00217 } 00218 00220 inline 00221 const Plane &ProjectionCameraDecoratorBase::getNormal(void) const 00222 { 00223 return _sfNormal.getValue(); 00224 } 00225 00227 inline 00228 void ProjectionCameraDecoratorBase::setNormal(const Plane &value) 00229 { 00230 _sfNormal.setValue(value); 00231 } 00232 00234 inline 00235 Real32 &ProjectionCameraDecoratorBase::getWidth(void) 00236 { 00237 return _sfWidth.getValue(); 00238 } 00239 00241 inline 00242 const Real32 &ProjectionCameraDecoratorBase::getWidth(void) const 00243 { 00244 return _sfWidth.getValue(); 00245 } 00246 00248 inline 00249 void ProjectionCameraDecoratorBase::setWidth(const Real32 &value) 00250 { 00251 _sfWidth.setValue(value); 00252 } 00253 00255 inline 00256 Real32 &ProjectionCameraDecoratorBase::getHeight(void) 00257 { 00258 return _sfHeight.getValue(); 00259 } 00260 00262 inline 00263 const Real32 &ProjectionCameraDecoratorBase::getHeight(void) const 00264 { 00265 return _sfHeight.getValue(); 00266 } 00267 00269 inline 00270 void ProjectionCameraDecoratorBase::setHeight(const Real32 &value) 00271 { 00272 _sfHeight.setValue(value); 00273 } 00274 00275 00277 inline 00278 Pnt3f &ProjectionCameraDecoratorBase::getSurface(const UInt32 index) 00279 { 00280 return _mfSurface[index]; 00281 } 00282 00284 inline 00285 MFPnt3f &ProjectionCameraDecoratorBase::getSurface(void) 00286 { 00287 return _mfSurface; 00288 } 00289 00291 inline 00292 const MFPnt3f &ProjectionCameraDecoratorBase::getSurface(void) const 00293 { 00294 return _mfSurface; 00295 } 00296 00297 OSG_END_NAMESPACE 00298 00299 #define OSGPROJECTIONCAMERADECORATORBASE_INLINE_CVSID "@(#)$Id: FCBaseTemplate_inl.h,v 1.20 2002/12/04 14:22:22 dirk Exp $" 00300
1.5.5