Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGDVRClipObjectsBase.inl

Go to the documentation of this file.
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 DVRClipObjects!
00047  **                                                                         **
00048  *****************************************************************************
00049 \*****************************************************************************/
00050 
00051 #include <OSGConfig.h>
00052 
00053 OSG_BEGIN_NAMESPACE
00054 
00055 
00057 inline
00058 OSG::FieldContainerType &DVRClipObjectsBase::getClassType(void)
00059 {
00060     return _type; 
00061 } 
00062 
00064 inline
00065 OSG::UInt32 DVRClipObjectsBase::getClassTypeId(void) 
00066 {
00067     return _type.getId(); 
00068 } 
00069 
00071 inline
00072 DVRClipObjectsPtr DVRClipObjectsBase::create(void) 
00073 {
00074     DVRClipObjectsPtr fc; 
00075 
00076     if(getClassType().getPrototype() != OSG::NullFC) 
00077     {
00078         fc = DVRClipObjectsPtr::dcast(
00079             getClassType().getPrototype()-> shallowCopy()); 
00080     }
00081     
00082     return fc; 
00083 }
00084 
00086 inline
00087 DVRClipObjectsPtr DVRClipObjectsBase::createEmpty(void) 
00088 { 
00089     DVRClipObjectsPtr returnValue; 
00090     
00091     newPtr(returnValue); 
00092 
00093     return returnValue; 
00094 }
00095 
00096 
00097 /*------------------------------ get -----------------------------------*/
00098 
00100 inline
00101 MFDVRClipGeometryPtr *DVRClipObjectsBase::getMFClipObjects(void)
00102 {
00103     return &_mfClipObjects;
00104 }
00105 
00107 inline
00108 SFInt32 *DVRClipObjectsBase::getSFClipMode(void)
00109 {
00110     return &_sfClipMode;
00111 }
00112 
00114 inline
00115 SFBool *DVRClipObjectsBase::getSFDoContours(void)
00116 {
00117     return &_sfDoContours;
00118 }
00119 
00120 
00122 inline
00123 Int32 &DVRClipObjectsBase::getClipMode(void)
00124 {
00125     return _sfClipMode.getValue();
00126 }
00127 
00129 inline
00130 const Int32 &DVRClipObjectsBase::getClipMode(void) const
00131 {
00132     return _sfClipMode.getValue();
00133 }
00134 
00136 inline
00137 void DVRClipObjectsBase::setClipMode(const Int32 &value)
00138 {
00139     _sfClipMode.setValue(value);
00140 }
00141 
00143 inline
00144 bool &DVRClipObjectsBase::getDoContours(void)
00145 {
00146     return _sfDoContours.getValue();
00147 }
00148 
00150 inline
00151 const bool &DVRClipObjectsBase::getDoContours(void) const
00152 {
00153     return _sfDoContours.getValue();
00154 }
00155 
00157 inline
00158 void DVRClipObjectsBase::setDoContours(const bool &value)
00159 {
00160     _sfDoContours.setValue(value);
00161 }
00162 
00163 
00165 inline
00166 DVRClipGeometryPtr &DVRClipObjectsBase::getClipObjects(const UInt32 index)
00167 {
00168     return _mfClipObjects[index];
00169 }
00170 
00172 inline
00173 MFDVRClipGeometryPtr &DVRClipObjectsBase::getClipObjects(void)
00174 {
00175     return _mfClipObjects;
00176 }
00177 
00179 inline
00180 const MFDVRClipGeometryPtr &DVRClipObjectsBase::getClipObjects(void) const
00181 {
00182     return _mfClipObjects;
00183 }
00184 
00185 OSG_END_NAMESPACE
00186 
00187 #define OSGDVRCLIPOBJECTSBASE_INLINE_CVSID "@(#)$Id: $"
00188 

Generated on Thu Aug 25 04:03:28 2005 for OpenSG by  doxygen 1.4.3