From 3c88b0cae9e697d8e9268a31a6e671e8f5eb37bb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 27 Sep 2005 20:28:42 +0000 Subject: [PATCH] Added degugging methods. --- include/osgSim/SphereSegment | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/osgSim/SphereSegment b/include/osgSim/SphereSegment index 862f78511..d5ada6eb8 100644 --- a/include/osgSim/SphereSegment +++ b/include/osgSim/SphereSegment @@ -237,6 +237,13 @@ public: /** Compute the interesection lines between specified drawable and this sphere segment.*/ LineList computeIntersection(const osg::Matrixd& matrix, osg::Drawable* drawable); + /** Compute the interesection lines between subgraph and this sphere segment.*/ + osg::Node* computeIntersectionSubgraph(const osg::Matrixd& matrix, osg::Node* subgraph); + + /** Compute the interesection lines between specified drawable and this sphere segment.*/ + osg::Node* computeIntersectionSubgraph(const osg::Matrixd& matrix, osg::Drawable* drawable); + + private: void init(); // Shared constructor code, generates the drawables