|
openscenegraph
|
Implements cluster culling to cull back facing drawables. Derived from Drawable::CullCallback.
| osg::ClusterCullingCallback::ClusterCullingCallback | ( | const ClusterCullingCallback & | ccc, |
| const CopyOp & | copyop | ||
| ) |
| osg::ClusterCullingCallback::ClusterCullingCallback | ( | const osg::Vec3 & | controlPoint, |
| const osg::Vec3 & | normal, | ||
| float | deviation | ||
| ) |
| osg::ClusterCullingCallback::ClusterCullingCallback | ( | const osg::Drawable * | drawable | ) |
| virtual osg::ClusterCullingCallback::~ClusterCullingCallback | ( | ) | [inline, protected, virtual] |
| void osg::ClusterCullingCallback::computeFrom | ( | const osg::Drawable * | drawable | ) |
Computes the control point, normal, and deviation from the given drawable contents.
| virtual bool osg::ClusterCullingCallback::cull | ( | osg::NodeVisitor * | , |
| osg::Drawable * | , | ||
| osg::State * | |||
| ) | const [virtual] |
deprecated.
Reimplemented from osg::Drawable::CullCallback.
| const osg::Vec3& osg::ClusterCullingCallback::getControlPoint | ( | ) | const [inline] |
| float osg::ClusterCullingCallback::getDeviation | ( | ) | const [inline] |
| const osg::Vec3& osg::ClusterCullingCallback::getNormal | ( | ) | const [inline] |
| float osg::ClusterCullingCallback::getRadius | ( | ) | const [inline] |
| virtual void osg::ClusterCullingCallback::operator() | ( | Node * | node, |
| NodeVisitor * | nv | ||
| ) | [virtual] |
Callback method called by the NodeVisitor when visiting a node.
Reimplemented from osg::NodeCallback.
| void osg::ClusterCullingCallback::set | ( | const osg::Vec3 & | controlPoint, |
| const osg::Vec3 & | normal, | ||
| float | deviation, | ||
| float | radius | ||
| ) |
| void osg::ClusterCullingCallback::setControlPoint | ( | const osg::Vec3 & | controlPoint | ) | [inline] |
| void osg::ClusterCullingCallback::setDeviation | ( | float | deviation | ) | [inline] |
| void osg::ClusterCullingCallback::setNormal | ( | const osg::Vec3 & | normal | ) | [inline] |
| void osg::ClusterCullingCallback::setRadius | ( | float | radius | ) | [inline] |
| void osg::ClusterCullingCallback::transform | ( | const osg::Matrixd & | matrix | ) |
Transform the ClusterCullingCallback's positional members to a new coordinate frame.
osg::Vec3 osg::ClusterCullingCallback::_controlPoint [protected] |
float osg::ClusterCullingCallback::_deviation [protected] |
osg::Vec3 osg::ClusterCullingCallback::_normal [protected] |
float osg::ClusterCullingCallback::_radius [protected] |
1.7.6.1