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 MaterialDrawable! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &MaterialDrawableBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 MaterialDrawableBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00070 00071 /*------------------------------ get -----------------------------------*/ 00072 00074 inline 00075 SFMaterialPtr *MaterialDrawableBase::getSFMaterial(void) 00076 { 00077 return &_sfMaterial; 00078 } 00079 00080 00082 inline 00083 MaterialPtr &MaterialDrawableBase::getMaterial(void) 00084 { 00085 return _sfMaterial.getValue(); 00086 } 00087 00089 inline 00090 const MaterialPtr &MaterialDrawableBase::getMaterial(void) const 00091 { 00092 return _sfMaterial.getValue(); 00093 } 00094 00096 inline 00097 void MaterialDrawableBase::setMaterial(const MaterialPtr &value) 00098 { 00099 _sfMaterial.setValue(value); 00100 } 00101 00102 00103 OSG_END_NAMESPACE 00104 00105 #define OSGMATERIALDRAWABLEBASE_INLINE_CVSID "@(#)$Id: OSGMaterialDrawableBase.inl,v 1.8 2005/07/08 06:32:52 vossg Exp $" 00106
1.4.3