14 #include <osg/CullFace>
16 #include <osg/NodeVisitor>
17 #include <osg/Referenced>
52 virtual void apply(osg::Node& node);
58 virtual void apply(osg::Geode& geode);
62 void processGeometry();
68 void setTransparentOnly(
bool enable);
73 bool transparentOnly()
const;
78 void splitGeometry(osg::Geode& geode)
const;
84 bool isDoubleSided(
const osg::Node& node)
const;
90 bool isTransparentMaterial(
const osg::StateSet& ss)
const;
96 bool isTransparentTextures(
const osg::StateSet& ss)
const;
100 osg::CullFace* getOrCreateCullFaceAttribute();