changed: gcc8 base update
[opensg.git] / Source / System / Window / Base / OSGRenderOptionsBase.inl
blob9f4c5add789e1c8a0f6005f9f96500ff7d7dde89
1 /*---------------------------------------------------------------------------*\
2  *                                OpenSG                                     *
3  *                                                                           *
4  *                                                                           *
5  *               Copyright (C) 2000-2013 by the OpenSG Forum                 *
6  *                                                                           *
7  * contact: dirk@opensg.org, gerrit.voss@vossg.org, carsten_neumann@gmx.net  *
8  *                                                                           *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
11  *                                License                                    *
12  *                                                                           *
13  * This library is free software; you can redistribute it and/or modify it   *
14  * under the terms of the GNU Library General Public License as published    *
15  * by the Free Software Foundation, version 2.                               *
16  *                                                                           *
17  * This library is distributed in the hope that it will be useful, but       *
18  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
20  * Library General Public License for more details.                          *
21  *                                                                           *
22  * You should have received a copy of the GNU Library General Public         *
23  * License along with this library; if not, write to the Free Software       *
24  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
25  *                                                                           *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
28  *                                Changes                                    *
29  *                                                                           *
30  *                                                                           *
31  *                                                                           *
32  *                                                                           *
33  *                                                                           *
34  *                                                                           *
35 \*---------------------------------------------------------------------------*/
37 /*****************************************************************************\
38  *****************************************************************************
39  **                                                                         **
40  **                  This file is automatically generated.                  **
41  **                                                                         **
42  **          Any changes made to this file WILL be lost when it is          **
43  **           regenerated, which can become necessary at any time.          **
44  **                                                                         **
45  **     Do not change this file, changes should be done in the derived      **
46  **     class RenderOptions!
47  **                                                                         **
48  *****************************************************************************
49 \*****************************************************************************/
51 OSG_BEGIN_NAMESPACE
55 //! access the type of the class
56 inline
57 OSG::FieldContainerType &RenderOptionsBase::getClassType(void)
59     return _type;
62 //! access the numerical type of the class
63 inline
64 OSG::UInt32 RenderOptionsBase::getClassTypeId(void)
66     return _type.getId();
69 inline
70 OSG::UInt16 RenderOptionsBase::getClassGroupId(void)
72     return _type.getGroupId();
75 /*------------------------------ get -----------------------------------*/
77 //! Get the value of the RenderOptions::_sfRenderProperties field.
79 inline
80 MaterialMapKey &RenderOptionsBase::editRenderProperties(void)
82     editSField(RenderPropertiesFieldMask);
84     return _sfRenderProperties.getValue();
87 //! Get the value of the RenderOptions::_sfRenderProperties field.
88 inline
89 const MaterialMapKey &RenderOptionsBase::getRenderProperties(void) const
91     return _sfRenderProperties.getValue();
94 //! Set the value of the RenderOptions::_sfRenderProperties field.
95 inline
96 void RenderOptionsBase::setRenderProperties(const MaterialMapKey &value)
98     editSField(RenderPropertiesFieldMask);
100     _sfRenderProperties.setValue(value);
102 //! Get the value of the RenderOptions::_sfUseGLFinish field.
104 inline
105 bool &RenderOptionsBase::editUseGLFinish(void)
107     editSField(UseGLFinishFieldMask);
109     return _sfUseGLFinish.getValue();
112 //! Get the value of the RenderOptions::_sfUseGLFinish field.
113 inline
114       bool  RenderOptionsBase::getUseGLFinish(void) const
116     return _sfUseGLFinish.getValue();
119 //! Set the value of the RenderOptions::_sfUseGLFinish field.
120 inline
121 void RenderOptionsBase::setUseGLFinish(const bool value)
123     editSField(UseGLFinishFieldMask);
125     _sfUseGLFinish.setValue(value);
127 //! Get the value of the RenderOptions::_sfStatistic field.
129 inline
130 bool &RenderOptionsBase::editStatistic(void)
132     editSField(StatisticFieldMask);
134     return _sfStatistic.getValue();
137 //! Get the value of the RenderOptions::_sfStatistic field.
138 inline
139       bool  RenderOptionsBase::getStatistic(void) const
141     return _sfStatistic.getValue();
144 //! Set the value of the RenderOptions::_sfStatistic field.
145 inline
146 void RenderOptionsBase::setStatistic(const bool value)
148     editSField(StatisticFieldMask);
150     _sfStatistic.setValue(value);
152 //! Get the value of the RenderOptions::_sfPolygonMode field.
154 inline
155 GLenum &RenderOptionsBase::editPolygonMode(void)
157     editSField(PolygonModeFieldMask);
159     return _sfPolygonMode.getValue();
162 //! Get the value of the RenderOptions::_sfPolygonMode field.
163 inline
164 const GLenum &RenderOptionsBase::getPolygonMode(void) const
166     return _sfPolygonMode.getValue();
169 //! Set the value of the RenderOptions::_sfPolygonMode field.
170 inline
171 void RenderOptionsBase::setPolygonMode(const GLenum &value)
173     editSField(PolygonModeFieldMask);
175     _sfPolygonMode.setValue(value);
177 //! Get the value of the RenderOptions::_sfTwoSidedLighting field.
179 inline
180 bool &RenderOptionsBase::editTwoSidedLighting(void)
182     editSField(TwoSidedLightingFieldMask);
184     return _sfTwoSidedLighting.getValue();
187 //! Get the value of the RenderOptions::_sfTwoSidedLighting field.
188 inline
189       bool  RenderOptionsBase::getTwoSidedLighting(void) const
191     return _sfTwoSidedLighting.getValue();
194 //! Set the value of the RenderOptions::_sfTwoSidedLighting field.
195 inline
196 void RenderOptionsBase::setTwoSidedLighting(const bool value)
198     editSField(TwoSidedLightingFieldMask);
200     _sfTwoSidedLighting.setValue(value);
202 //! Get the value of the RenderOptions::_sfSpecTexLighting field.
204 inline
205 bool &RenderOptionsBase::editSpecTexLighting(void)
207     editSField(SpecTexLightingFieldMask);
209     return _sfSpecTexLighting.getValue();
212 //! Get the value of the RenderOptions::_sfSpecTexLighting field.
213 inline
214       bool  RenderOptionsBase::getSpecTexLighting(void) const
216     return _sfSpecTexLighting.getValue();
219 //! Set the value of the RenderOptions::_sfSpecTexLighting field.
220 inline
221 void RenderOptionsBase::setSpecTexLighting(const bool value)
223     editSField(SpecTexLightingFieldMask);
225     _sfSpecTexLighting.setValue(value);
227 //! Get the value of the RenderOptions::_sfSortTrans field.
229 inline
230 bool &RenderOptionsBase::editSortTrans(void)
232     editSField(SortTransFieldMask);
234     return _sfSortTrans.getValue();
237 //! Get the value of the RenderOptions::_sfSortTrans field.
238 inline
239       bool  RenderOptionsBase::getSortTrans(void) const
241     return _sfSortTrans.getValue();
244 //! Set the value of the RenderOptions::_sfSortTrans field.
245 inline
246 void RenderOptionsBase::setSortTrans(const bool value)
248     editSField(SortTransFieldMask);
250     _sfSortTrans.setValue(value);
252 //! Get the value of the RenderOptions::_sfZWriteTrans field.
254 inline
255 bool &RenderOptionsBase::editZWriteTrans(void)
257     editSField(ZWriteTransFieldMask);
259     return _sfZWriteTrans.getValue();
262 //! Get the value of the RenderOptions::_sfZWriteTrans field.
263 inline
264       bool  RenderOptionsBase::getZWriteTrans(void) const
266     return _sfZWriteTrans.getValue();
269 //! Set the value of the RenderOptions::_sfZWriteTrans field.
270 inline
271 void RenderOptionsBase::setZWriteTrans(const bool value)
273     editSField(ZWriteTransFieldMask);
275     _sfZWriteTrans.setValue(value);
277 //! Get the value of the RenderOptions::_sfLocalLights field.
279 inline
280 bool &RenderOptionsBase::editLocalLights(void)
282     editSField(LocalLightsFieldMask);
284     return _sfLocalLights.getValue();
287 //! Get the value of the RenderOptions::_sfLocalLights field.
288 inline
289       bool  RenderOptionsBase::getLocalLights(void) const
291     return _sfLocalLights.getValue();
294 //! Set the value of the RenderOptions::_sfLocalLights field.
295 inline
296 void RenderOptionsBase::setLocalLights(const bool value)
298     editSField(LocalLightsFieldMask);
300     _sfLocalLights.setValue(value);
302 //! Get the value of the RenderOptions::_sfCorrectTwoSidedLighting field.
304 inline
305 bool &RenderOptionsBase::editCorrectTwoSidedLighting(void)
307     editSField(CorrectTwoSidedLightingFieldMask);
309     return _sfCorrectTwoSidedLighting.getValue();
312 //! Get the value of the RenderOptions::_sfCorrectTwoSidedLighting field.
313 inline
314       bool  RenderOptionsBase::getCorrectTwoSidedLighting(void) const
316     return _sfCorrectTwoSidedLighting.getValue();
319 //! Set the value of the RenderOptions::_sfCorrectTwoSidedLighting field.
320 inline
321 void RenderOptionsBase::setCorrectTwoSidedLighting(const bool value)
323     editSField(CorrectTwoSidedLightingFieldMask);
325     _sfCorrectTwoSidedLighting.setValue(value);
327 //! Get the value of the RenderOptions::_sfOcclusionCulling field.
329 inline
330 bool &RenderOptionsBase::editOcclusionCulling(void)
332     editSField(OcclusionCullingFieldMask);
334     return _sfOcclusionCulling.getValue();
337 //! Get the value of the RenderOptions::_sfOcclusionCulling field.
338 inline
339       bool  RenderOptionsBase::getOcclusionCulling(void) const
341     return _sfOcclusionCulling.getValue();
344 //! Set the value of the RenderOptions::_sfOcclusionCulling field.
345 inline
346 void RenderOptionsBase::setOcclusionCulling(const bool value)
348     editSField(OcclusionCullingFieldMask);
350     _sfOcclusionCulling.setValue(value);
352 //! Get the value of the RenderOptions::_sfOcclusionCullingMode field.
354 inline
355 Int32 &RenderOptionsBase::editOcclusionCullingMode(void)
357     editSField(OcclusionCullingModeFieldMask);
359     return _sfOcclusionCullingMode.getValue();
362 //! Get the value of the RenderOptions::_sfOcclusionCullingMode field.
363 inline
364       Int32  RenderOptionsBase::getOcclusionCullingMode(void) const
366     return _sfOcclusionCullingMode.getValue();
369 //! Set the value of the RenderOptions::_sfOcclusionCullingMode field.
370 inline
371 void RenderOptionsBase::setOcclusionCullingMode(const Int32 value)
373     editSField(OcclusionCullingModeFieldMask);
375     _sfOcclusionCullingMode.setValue(value);
377 //! Get the value of the RenderOptions::_sfOcclusionCullingPixels field.
379 inline
380 UInt32 &RenderOptionsBase::editOcclusionCullingPixels(void)
382     editSField(OcclusionCullingPixelsFieldMask);
384     return _sfOcclusionCullingPixels.getValue();
387 //! Get the value of the RenderOptions::_sfOcclusionCullingPixels field.
388 inline
389       UInt32  RenderOptionsBase::getOcclusionCullingPixels(void) const
391     return _sfOcclusionCullingPixels.getValue();
394 //! Set the value of the RenderOptions::_sfOcclusionCullingPixels field.
395 inline
396 void RenderOptionsBase::setOcclusionCullingPixels(const UInt32 value)
398     editSField(OcclusionCullingPixelsFieldMask);
400     _sfOcclusionCullingPixels.setValue(value);
402 //! Get the value of the RenderOptions::_sfAntialiasing field.
404 inline
405 bool &RenderOptionsBase::editAntialiasing(void)
407     editSField(AntialiasingFieldMask);
409     return _sfAntialiasing.getValue();
412 //! Get the value of the RenderOptions::_sfAntialiasing field.
413 inline
414       bool  RenderOptionsBase::getAntialiasing(void) const
416     return _sfAntialiasing.getValue();
419 //! Set the value of the RenderOptions::_sfAntialiasing field.
420 inline
421 void RenderOptionsBase::setAntialiasing(const bool value)
423     editSField(AntialiasingFieldMask);
425     _sfAntialiasing.setValue(value);
427 //! Get the value of the RenderOptions::_sfAntialiasingDistance field.
429 inline
430 Real32 &RenderOptionsBase::editAntialiasingDistance(void)
432     editSField(AntialiasingDistanceFieldMask);
434     return _sfAntialiasingDistance.getValue();
437 //! Get the value of the RenderOptions::_sfAntialiasingDistance field.
438 inline
439       Real32  RenderOptionsBase::getAntialiasingDistance(void) const
441     return _sfAntialiasingDistance.getValue();
444 //! Set the value of the RenderOptions::_sfAntialiasingDistance field.
445 inline
446 void RenderOptionsBase::setAntialiasingDistance(const Real32 value)
448     editSField(AntialiasingDistanceFieldMask);
450     _sfAntialiasingDistance.setValue(value);
452 //! Get the value of the RenderOptions::_sfAntialiasingScale field.
454 inline
455 Real32 &RenderOptionsBase::editAntialiasingScale(void)
457     editSField(AntialiasingScaleFieldMask);
459     return _sfAntialiasingScale.getValue();
462 //! Get the value of the RenderOptions::_sfAntialiasingScale field.
463 inline
464       Real32  RenderOptionsBase::getAntialiasingScale(void) const
466     return _sfAntialiasingScale.getValue();
469 //! Set the value of the RenderOptions::_sfAntialiasingScale field.
470 inline
471 void RenderOptionsBase::setAntialiasingScale(const Real32 value)
473     editSField(AntialiasingScaleFieldMask);
475     _sfAntialiasingScale.setValue(value);
477 //! Get the value of the RenderOptions::_sfAntialiasingTrigger field.
479 inline
480 UInt32 &RenderOptionsBase::editAntialiasingTrigger(void)
482     editSField(AntialiasingTriggerFieldMask);
484     return _sfAntialiasingTrigger.getValue();
487 //! Get the value of the RenderOptions::_sfAntialiasingTrigger field.
488 inline
489       UInt32  RenderOptionsBase::getAntialiasingTrigger(void) const
491     return _sfAntialiasingTrigger.getValue();
494 //! Set the value of the RenderOptions::_sfAntialiasingTrigger field.
495 inline
496 void RenderOptionsBase::setAntialiasingTrigger(const UInt32 value)
498     editSField(AntialiasingTriggerFieldMask);
500     _sfAntialiasingTrigger.setValue(value);
502 //! Get the value of the RenderOptions::_sfFrustumCulling field.
504 inline
505 bool &RenderOptionsBase::editFrustumCulling(void)
507     editSField(FrustumCullingFieldMask);
509     return _sfFrustumCulling.getValue();
512 //! Get the value of the RenderOptions::_sfFrustumCulling field.
513 inline
514       bool  RenderOptionsBase::getFrustumCulling(void) const
516     return _sfFrustumCulling.getValue();
519 //! Set the value of the RenderOptions::_sfFrustumCulling field.
520 inline
521 void RenderOptionsBase::setFrustumCulling(const bool value)
523     editSField(FrustumCullingFieldMask);
525     _sfFrustumCulling.setValue(value);
527 //! Get the value of the RenderOptions::_sfBackfaceCulling field.
529 inline
530 bool &RenderOptionsBase::editBackfaceCulling(void)
532     editSField(BackfaceCullingFieldMask);
534     return _sfBackfaceCulling.getValue();
537 //! Get the value of the RenderOptions::_sfBackfaceCulling field.
538 inline
539       bool  RenderOptionsBase::getBackfaceCulling(void) const
541     return _sfBackfaceCulling.getValue();
544 //! Set the value of the RenderOptions::_sfBackfaceCulling field.
545 inline
546 void RenderOptionsBase::setBackfaceCulling(const bool value)
548     editSField(BackfaceCullingFieldMask);
550     _sfBackfaceCulling.setValue(value);
552 //! Get the value of the RenderOptions::_sfSmallFeatureCulling field.
554 inline
555 bool &RenderOptionsBase::editSmallFeatureCulling(void)
557     editSField(SmallFeatureCullingFieldMask);
559     return _sfSmallFeatureCulling.getValue();
562 //! Get the value of the RenderOptions::_sfSmallFeatureCulling field.
563 inline
564       bool  RenderOptionsBase::getSmallFeatureCulling(void) const
566     return _sfSmallFeatureCulling.getValue();
569 //! Set the value of the RenderOptions::_sfSmallFeatureCulling field.
570 inline
571 void RenderOptionsBase::setSmallFeatureCulling(const bool value)
573     editSField(SmallFeatureCullingFieldMask);
575     _sfSmallFeatureCulling.setValue(value);
577 //! Get the value of the RenderOptions::_sfSmallFeaturePixels field.
579 inline
580 Real32 &RenderOptionsBase::editSmallFeaturePixels(void)
582     editSField(SmallFeaturePixelsFieldMask);
584     return _sfSmallFeaturePixels.getValue();
587 //! Get the value of the RenderOptions::_sfSmallFeaturePixels field.
588 inline
589       Real32  RenderOptionsBase::getSmallFeaturePixels(void) const
591     return _sfSmallFeaturePixels.getValue();
594 //! Set the value of the RenderOptions::_sfSmallFeaturePixels field.
595 inline
596 void RenderOptionsBase::setSmallFeaturePixels(const Real32 value)
598     editSField(SmallFeaturePixelsFieldMask);
600     _sfSmallFeaturePixels.setValue(value);
602 //! Get the value of the RenderOptions::_sfSmallFeatureThreshold field.
604 inline
605 UInt32 &RenderOptionsBase::editSmallFeatureThreshold(void)
607     editSField(SmallFeatureThresholdFieldMask);
609     return _sfSmallFeatureThreshold.getValue();
612 //! Get the value of the RenderOptions::_sfSmallFeatureThreshold field.
613 inline
614       UInt32  RenderOptionsBase::getSmallFeatureThreshold(void) const
616     return _sfSmallFeatureThreshold.getValue();
619 //! Set the value of the RenderOptions::_sfSmallFeatureThreshold field.
620 inline
621 void RenderOptionsBase::setSmallFeatureThreshold(const UInt32 value)
623     editSField(SmallFeatureThresholdFieldMask);
625     _sfSmallFeatureThreshold.setValue(value);
627 //! Get the value of the RenderOptions::_sfFirstFrame field.
629 inline
630 bool &RenderOptionsBase::editFirstFrame(void)
632     editSField(FirstFrameFieldMask);
634     return _sfFirstFrame.getValue();
637 //! Get the value of the RenderOptions::_sfFirstFrame field.
638 inline
639       bool  RenderOptionsBase::getFirstFrame(void) const
641     return _sfFirstFrame.getValue();
644 //! Set the value of the RenderOptions::_sfFirstFrame field.
645 inline
646 void RenderOptionsBase::setFirstFrame(const bool value)
648     editSField(FirstFrameFieldMask);
650     _sfFirstFrame.setValue(value);
652 //! Get the value of the RenderOptions::_sfDepthOnlyPass field.
654 inline
655 bool &RenderOptionsBase::editDepthOnlyPass(void)
657     editSField(DepthOnlyPassFieldMask);
659     return _sfDepthOnlyPass.getValue();
662 //! Get the value of the RenderOptions::_sfDepthOnlyPass field.
663 inline
664       bool  RenderOptionsBase::getDepthOnlyPass(void) const
666     return _sfDepthOnlyPass.getValue();
669 //! Set the value of the RenderOptions::_sfDepthOnlyPass field.
670 inline
671 void RenderOptionsBase::setDepthOnlyPass(const bool value)
673     editSField(DepthOnlyPassFieldMask);
675     _sfDepthOnlyPass.setValue(value);
677 //! Get the value of the RenderOptions::_sfLightModelAmbient field.
679 inline
680 Color4f &RenderOptionsBase::editLightModelAmbient(void)
682     editSField(LightModelAmbientFieldMask);
684     return _sfLightModelAmbient.getValue();
687 //! Get the value of the RenderOptions::_sfLightModelAmbient field.
688 inline
689 const Color4f &RenderOptionsBase::getLightModelAmbient(void) const
691     return _sfLightModelAmbient.getValue();
694 //! Set the value of the RenderOptions::_sfLightModelAmbient field.
695 inline
696 void RenderOptionsBase::setLightModelAmbient(const Color4f &value)
698     editSField(LightModelAmbientFieldMask);
700     _sfLightModelAmbient.setValue(value);
702 //! Get the value of the RenderOptions::_sfFogColor field.
704 inline
705 Color4f &RenderOptionsBase::editFogColor(void)
707     editSField(FogColorFieldMask);
709     return _sfFogColor.getValue();
712 //! Get the value of the RenderOptions::_sfFogColor field.
713 inline
714 const Color4f &RenderOptionsBase::getFogColor(void) const
716     return _sfFogColor.getValue();
719 //! Set the value of the RenderOptions::_sfFogColor field.
720 inline
721 void RenderOptionsBase::setFogColor(const Color4f &value)
723     editSField(FogColorFieldMask);
725     _sfFogColor.setValue(value);
727 //! Get the value of the RenderOptions::_sfFogRange field.
729 inline
730 Vec2f &RenderOptionsBase::editFogRange(void)
732     editSField(FogRangeFieldMask);
734     return _sfFogRange.getValue();
737 //! Get the value of the RenderOptions::_sfFogRange field.
738 inline
739 const Vec2f &RenderOptionsBase::getFogRange(void) const
741     return _sfFogRange.getValue();
744 //! Set the value of the RenderOptions::_sfFogRange field.
745 inline
746 void RenderOptionsBase::setFogRange(const Vec2f &value)
748     editSField(FogRangeFieldMask);
750     _sfFogRange.setValue(value);
752 //! Get the value of the RenderOptions::_sfFogDensity field.
754 inline
755 Real32 &RenderOptionsBase::editFogDensity(void)
757     editSField(FogDensityFieldMask);
759     return _sfFogDensity.getValue();
762 //! Get the value of the RenderOptions::_sfFogDensity field.
763 inline
764       Real32  RenderOptionsBase::getFogDensity(void) const
766     return _sfFogDensity.getValue();
769 //! Set the value of the RenderOptions::_sfFogDensity field.
770 inline
771 void RenderOptionsBase::setFogDensity(const Real32 value)
773     editSField(FogDensityFieldMask);
775     _sfFogDensity.setValue(value);
777 //! Get the value of the RenderOptions::_sfFogMode field.
779 inline
780 Int32 &RenderOptionsBase::editFogMode(void)
782     editSField(FogModeFieldMask);
784     return _sfFogMode.getValue();
787 //! Get the value of the RenderOptions::_sfFogMode field.
788 inline
789       Int32  RenderOptionsBase::getFogMode(void) const
791     return _sfFogMode.getValue();
794 //! Set the value of the RenderOptions::_sfFogMode field.
795 inline
796 void RenderOptionsBase::setFogMode(const Int32 value)
798     editSField(FogModeFieldMask);
800     _sfFogMode.setValue(value);
802 //! Get the value of the RenderOptions::_sfMultiSample field.
804 inline
805 UInt32 &RenderOptionsBase::editMultiSample(void)
807     editSField(MultiSampleFieldMask);
809     return _sfMultiSample.getValue();
812 //! Get the value of the RenderOptions::_sfMultiSample field.
813 inline
814       UInt32  RenderOptionsBase::getMultiSample(void) const
816     return _sfMultiSample.getValue();
819 //! Set the value of the RenderOptions::_sfMultiSample field.
820 inline
821 void RenderOptionsBase::setMultiSample(const UInt32 value)
823     editSField(MultiSampleFieldMask);
825     _sfMultiSample.setValue(value);
827 //! Get the value of the RenderOptions::_sfMultiSampleFilterMode field.
829 inline
830 UInt32 &RenderOptionsBase::editMultiSampleFilterMode(void)
832     editSField(MultiSampleFilterModeFieldMask);
834     return _sfMultiSampleFilterMode.getValue();
837 //! Get the value of the RenderOptions::_sfMultiSampleFilterMode field.
838 inline
839       UInt32  RenderOptionsBase::getMultiSampleFilterMode(void) const
841     return _sfMultiSampleFilterMode.getValue();
844 //! Set the value of the RenderOptions::_sfMultiSampleFilterMode field.
845 inline
846 void RenderOptionsBase::setMultiSampleFilterMode(const UInt32 value)
848     editSField(MultiSampleFilterModeFieldMask);
850     _sfMultiSampleFilterMode.setValue(value);
854 #ifdef OSG_MT_CPTR_ASPECT
855 inline
856 void RenderOptionsBase::execSync (      RenderOptionsBase *pFrom,
857                                         ConstFieldMaskArg  whichField,
858                                         AspectOffsetStore &oOffsets,
859                                         ConstFieldMaskArg  syncMode,
860                                   const UInt32             uiSyncInfo)
862     Inherited::execSync(pFrom, whichField, oOffsets, syncMode, uiSyncInfo);
864     if(FieldBits::NoField != (RenderPropertiesFieldMask & whichField))
865         _sfRenderProperties.syncWith(pFrom->_sfRenderProperties);
867     if(FieldBits::NoField != (UseGLFinishFieldMask & whichField))
868         _sfUseGLFinish.syncWith(pFrom->_sfUseGLFinish);
870     if(FieldBits::NoField != (StatisticFieldMask & whichField))
871         _sfStatistic.syncWith(pFrom->_sfStatistic);
873     if(FieldBits::NoField != (PolygonModeFieldMask & whichField))
874         _sfPolygonMode.syncWith(pFrom->_sfPolygonMode);
876     if(FieldBits::NoField != (TwoSidedLightingFieldMask & whichField))
877         _sfTwoSidedLighting.syncWith(pFrom->_sfTwoSidedLighting);
879     if(FieldBits::NoField != (SpecTexLightingFieldMask & whichField))
880         _sfSpecTexLighting.syncWith(pFrom->_sfSpecTexLighting);
882     if(FieldBits::NoField != (SortTransFieldMask & whichField))
883         _sfSortTrans.syncWith(pFrom->_sfSortTrans);
885     if(FieldBits::NoField != (ZWriteTransFieldMask & whichField))
886         _sfZWriteTrans.syncWith(pFrom->_sfZWriteTrans);
888     if(FieldBits::NoField != (LocalLightsFieldMask & whichField))
889         _sfLocalLights.syncWith(pFrom->_sfLocalLights);
891     if(FieldBits::NoField != (CorrectTwoSidedLightingFieldMask & whichField))
892         _sfCorrectTwoSidedLighting.syncWith(pFrom->_sfCorrectTwoSidedLighting);
894     if(FieldBits::NoField != (OcclusionCullingFieldMask & whichField))
895         _sfOcclusionCulling.syncWith(pFrom->_sfOcclusionCulling);
897     if(FieldBits::NoField != (OcclusionCullingModeFieldMask & whichField))
898         _sfOcclusionCullingMode.syncWith(pFrom->_sfOcclusionCullingMode);
900     if(FieldBits::NoField != (OcclusionCullingPixelsFieldMask & whichField))
901         _sfOcclusionCullingPixels.syncWith(pFrom->_sfOcclusionCullingPixels);
903     if(FieldBits::NoField != (AntialiasingFieldMask & whichField))
904         _sfAntialiasing.syncWith(pFrom->_sfAntialiasing);
906     if(FieldBits::NoField != (AntialiasingDistanceFieldMask & whichField))
907         _sfAntialiasingDistance.syncWith(pFrom->_sfAntialiasingDistance);
909     if(FieldBits::NoField != (AntialiasingScaleFieldMask & whichField))
910         _sfAntialiasingScale.syncWith(pFrom->_sfAntialiasingScale);
912     if(FieldBits::NoField != (AntialiasingTriggerFieldMask & whichField))
913         _sfAntialiasingTrigger.syncWith(pFrom->_sfAntialiasingTrigger);
915     if(FieldBits::NoField != (FrustumCullingFieldMask & whichField))
916         _sfFrustumCulling.syncWith(pFrom->_sfFrustumCulling);
918     if(FieldBits::NoField != (BackfaceCullingFieldMask & whichField))
919         _sfBackfaceCulling.syncWith(pFrom->_sfBackfaceCulling);
921     if(FieldBits::NoField != (SmallFeatureCullingFieldMask & whichField))
922         _sfSmallFeatureCulling.syncWith(pFrom->_sfSmallFeatureCulling);
924     if(FieldBits::NoField != (SmallFeaturePixelsFieldMask & whichField))
925         _sfSmallFeaturePixels.syncWith(pFrom->_sfSmallFeaturePixels);
927     if(FieldBits::NoField != (SmallFeatureThresholdFieldMask & whichField))
928         _sfSmallFeatureThreshold.syncWith(pFrom->_sfSmallFeatureThreshold);
930     if(FieldBits::NoField != (FirstFrameFieldMask & whichField))
931         _sfFirstFrame.syncWith(pFrom->_sfFirstFrame);
933     if(FieldBits::NoField != (DepthOnlyPassFieldMask & whichField))
934         _sfDepthOnlyPass.syncWith(pFrom->_sfDepthOnlyPass);
936     if(FieldBits::NoField != (LightModelAmbientFieldMask & whichField))
937         _sfLightModelAmbient.syncWith(pFrom->_sfLightModelAmbient);
939     if(FieldBits::NoField != (FogColorFieldMask & whichField))
940         _sfFogColor.syncWith(pFrom->_sfFogColor);
942     if(FieldBits::NoField != (FogRangeFieldMask & whichField))
943         _sfFogRange.syncWith(pFrom->_sfFogRange);
945     if(FieldBits::NoField != (FogDensityFieldMask & whichField))
946         _sfFogDensity.syncWith(pFrom->_sfFogDensity);
948     if(FieldBits::NoField != (FogModeFieldMask & whichField))
949         _sfFogMode.syncWith(pFrom->_sfFogMode);
951     if(FieldBits::NoField != (MultiSampleFieldMask & whichField))
952         _sfMultiSample.syncWith(pFrom->_sfMultiSample);
954     if(FieldBits::NoField != (MultiSampleFilterModeFieldMask & whichField))
955         _sfMultiSampleFilterMode.syncWith(pFrom->_sfMultiSampleFilterMode);
957 #endif
960 inline
961 const Char8 *RenderOptionsBase::getClassname(void)
963     return "RenderOptions";
965 OSG_GEN_CONTAINERPTR(RenderOptions);
967 OSG_END_NAMESPACE