From 5c3a2bc6834ea09990ebfea7a3297619603b2c60 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 29 Aug 2003 23:04:42 +0000 Subject: [PATCH] Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(), s/getRenderGraphLeft/Right() methods. --- include/osgUtil/SceneView | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/include/osgUtil/SceneView b/include/osgUtil/SceneView index 3941d8aa5..6a444a6da 100644 --- a/include/osgUtil/SceneView +++ b/include/osgUtil/SceneView @@ -191,22 +191,50 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced osg::NodeVisitor* getInitVisitor() { return _initVisitor.get(); } const osg::NodeVisitor* getInitVisitor() const { return _initVisitor.get(); } + void setUpdateVisitor(osg::NodeVisitor* av) { _updateVisitor = av; } osg::NodeVisitor* getUpdateVisitor() { return _updateVisitor.get(); } const osg::NodeVisitor* getUpdateVisitor() const { return _updateVisitor.get(); } + void setCullVisitor(osgUtil::CullVisitor* cv) { _cullVisitor = cv; } osgUtil::CullVisitor* getCullVisitor() { return _cullVisitor.get(); } const osgUtil::CullVisitor* getCullVisitor() const { return _cullVisitor.get(); } + void setCullVisitorLeft(osgUtil::CullVisitor* cv) { _cullVisitorLeft = cv; } + osgUtil::CullVisitor* getCullVisitorLeft() { return _cullVisitorLeft.get(); } + const osgUtil::CullVisitor* getCullVisitorLeft() const { return _cullVisitorLeft.get(); } + + void setCullVisitorRight(osgUtil::CullVisitor* cv) { _cullVisitorRight = cv; } + osgUtil::CullVisitor* getCullVisitorRight() { return _cullVisitorRight.get(); } + const osgUtil::CullVisitor* getCullVisitorRight() const { return _cullVisitorRight.get(); } + + void setRenderGraph(osgUtil::RenderGraph* rg) { _rendergraph = rg; } osgUtil::RenderGraph* getRenderGraph() { return _rendergraph.get(); } const osgUtil::RenderGraph* getRenderGraph() const { return _rendergraph.get(); } + void setRenderGraphLeft(osgUtil::RenderGraph* rg) { _rendergraphLeft = rg; } + osgUtil::RenderGraph* getRenderGraphLeft() { return _rendergraphLeft.get(); } + const osgUtil::RenderGraph* getRenderGraphLeft() const { return _rendergraphLeft.get(); } + + void setRenderGraphRight(osgUtil::RenderGraph* rg) { _rendergraphRight = rg; } + osgUtil::RenderGraph* getRenderGraphRight() { return _rendergraphRight.get(); } + const osgUtil::RenderGraph* getRenderGraphRight() const { return _rendergraphRight.get(); } + + void setRenderStage(osgUtil::RenderStage* rs) { _renderStage = rs; } osgUtil::RenderStage* getRenderStage() { return _renderStage.get(); } const osgUtil::RenderStage* getRenderStage() const { return _renderStage.get(); } + void setRenderStageLeft(osgUtil::RenderStage* rs) { _renderStageLeft = rs; } + osgUtil::RenderStage* getRenderStageLeft() { return _renderStageLeft.get(); } + const osgUtil::RenderStage* getRenderStageLeft() const { return _renderStageLeft.get(); } + + void setRenderStageRight(osgUtil::RenderStage* rs) { _renderStageRight = rs; } + osgUtil::RenderStage* getRenderStageRight() { return _renderStageRight.get(); } + const osgUtil::RenderStage* getRenderStageRight() const { return _renderStageRight.get(); } + void setCullMask(const osg::Node::NodeMask nm) { _cullMask = nm; } osg::Node::NodeMask getCullMask() const { return _cullMask; } @@ -217,6 +245,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced void setCullMaskRight(const osg::Node::NodeMask nm) { _cullMaskRight = nm; } osg::Node::NodeMask getCullMaskRight() const { return _cullMaskRight; } + /** Set the LOD bias for the CullVisitor to use.*/ void setLODScale(float bias) { _LODScale = bias; }