1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2002 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 //---------------------------------------------------------------------------
41 //---------------------------------------------------------------------------
45 /***************************************************************************\
47 \***************************************************************************/
50 /***************************************************************************\
52 \***************************************************************************/
55 /***************************************************************************\
57 \***************************************************************************/
60 /*-------------------------------------------------------------------------*\
62 \*-------------------------------------------------------------------------*/
64 /*-------------------------------------------------------------------------*\
66 \*-------------------------------------------------------------------------*/
69 /*-------------------------------------------------------------------------*\
71 \*-------------------------------------------------------------------------*/
74 /***************************************************************************\
76 \***************************************************************************/
78 /*-------------------------------------------------------------------------*\
80 \*-------------------------------------------------------------------------*/
83 Camera *RenderActionBase::getCamera(void) const
89 Background *RenderActionBase::getBackground(void) const
95 Window *RenderActionBase::getWindow(void) const
101 Viewarea *RenderActionBase::getViewarea(void) const
107 Node *RenderActionBase::getTraversalRoot(void) const
109 return _pTraversalRoot;
113 bool RenderActionBase::getFrustumCulling(void) const
115 return _bFrustumCulling;
119 bool RenderActionBase::getVolumeDrawing(void) const
121 return _bVolumeDrawing;
125 bool RenderActionBase::getZWriteTrans(void) const
127 return _bZWriteTrans;
131 bool RenderActionBase::getAutoFrustum(void) const
133 return _bAutoFrustum;
137 const FrustumVolume& RenderActionBase::getFrustum(void) const
143 bool RenderActionBase::getCorrectTwoSidedLighting(void) const
145 return _bCorrectTwoSidedLighting;
149 StatCollector* RenderActionBase::getStatCollector(void) const
155 Material *RenderActionBase::getGlobalOverride(void) const
157 return _pGlobalOverride;
161 bool RenderActionBase::getResetStatistics(void) const
163 return _bResetStatistics;
167 void RenderActionBase::setResetStatistics(bool value)
169 _bResetStatistics = value;
173 TraversalValidator *RenderActionBase::getTravValidator(void)
175 return _pTravValidator;
179 UInt16 RenderActionBase::getFrameTravCount(void)
181 return _uiFrameTravCount;
185 void RenderActionBase::setDrawerId(Int32 iId)
191 Int32 RenderActionBase::getDrawerId(void)
197 void RenderActionBase::setDrawableId(Int32 iId)
203 Int32 RenderActionBase::getDrawableId(void)
209 RenderActionBase::RenderPropType RenderActionBase::getRenderProperties(void)
211 return _oCurrentRenderProp;
215 void RenderActionBase::setRenderProperties(RenderPropType oProp)
217 _oCurrentRenderProp = oProp;
221 void RenderActionBase::resetRenderProperties(void)
223 _oCurrentRenderProp = 0x0000;
227 void RenderActionBase::addRenderProperties(RenderPropType oProp)
229 _oCurrentRenderProp |= oProp;
233 void RenderActionBase::subRenderProperties(RenderPropType oProp)
235 _oCurrentRenderProp &= ~oProp;
239 void RenderActionBase::setDrawPartPar(bool bVal)
241 _bDrawPartPar = bVal;
245 bool RenderActionBase::getDrawPartPar(void)
247 return _bDrawPartPar;
251 void RenderActionBase::setUseGLFinish(bool bVal)
253 _bUseGLFinish = bVal;
257 bool RenderActionBase::getUseGLFinish(void)
259 return _bUseGLFinish;
262 /*-------------------------------------------------------------------------*\
264 \*-------------------------------------------------------------------------*/
266 /*-------------------------------------------------------------------------*\
268 \*-------------------------------------------------------------------------*/