openscenegraph
|
Protected Types | |
typedef fast_back_stack < ref_ptr< RefMatrix > > | MatrixStack |
typedef fast_back_stack < ref_ptr< Viewport > > | ViewportStack |
typedef fast_back_stack< Vec3 > | EyePointStack |
typedef std::vector < osg::ref_ptr< osg::RefMatrix > > | MatrixList |
Protected Member Functions | |
void | computeFrustumVolume () |
osg::RefMatrix * | createOrReuseMatrix (const osg::Matrix &value) |
A CullStack class which accumulates the current project, modelview matrices
and the CullingSet.
typedef std::vector< CullingSet > osg::CullStack::CullingStack |
|
protected |
|
protected |
|
protected |
typedef std::vector<ShadowVolumeOccluder> osg::CullStack::OccluderList |
|
protected |
osg::CullStack::CullStack | ( | ) |
osg::CullStack::CullStack | ( | const CullStack & | cs | ) |
osg::CullStack::~CullStack | ( | ) |
|
inline |
Compute the pixel size of an object at position v, with specified radius. fabs()ed to always be positive.
|
inline |
Compute the pixel size of the bounding sphere. fabs()ed to always be positive.
References osg::BoundingSphereImpl< VT >::center(), and osg::BoundingSphereImpl< VT >::radius().
|
protected |
|
inlineprotected |
References _currentReuseMatrixIndex, _reuseMatrixList, and osg::Matrixd::set().
Referenced by getMVPW().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References _identity, _modelviewStack, osg::fast_back_stack< T >::back(), osg::fast_back_stack< T >::empty(), and osg::ref_ptr< T >::get().
Referenced by getMVPW().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References _identity, _projectionStack, osg::fast_back_stack< T >::back(), osg::fast_back_stack< T >::empty(), and osg::ref_ptr< T >::get().
Referenced by getMVPW().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References _identity, _viewportStack, osg::fast_back_stack< T >::back(), osg::Viewport::computeWindowMatrix(), osg::fast_back_stack< T >::empty(), and osg::ref_ptr< T >::get().
Referenced by getMVPW().
|
inline |
|
inline |
References osg::BoundingBoxImpl< VT >::valid().
|
inline |
|
inline |
References osg::Node::getBound(), and osg::Node::isCullingActive().
|
inline |
Compute the pixel size of an object at position v, with specified radius.
|
inline |
Compute the pixel size of the bounding sphere.
References osg::BoundingSphereImpl< VT >::center(), and osg::BoundingSphereImpl< VT >::radius().
void osg::CullStack::popCullingSet | ( | ) |
|
inline |
void osg::CullStack::popModelViewMatrix | ( | ) |
void osg::CullStack::popProjectionMatrix | ( | ) |
Reimplemented in osgUtil::CullVisitor.
|
inline |
void osg::CullStack::popViewport | ( | ) |
void osg::CullStack::pushCullingSet | ( | ) |
|
inline |
void osg::CullStack::pushModelViewMatrix | ( | osg::RefMatrix * | matrix, |
Transform::ReferenceFrame | referenceFrame | ||
) |
void osg::CullStack::pushProjectionMatrix | ( | osg::RefMatrix * | matrix | ) |
void osg::CullStack::pushViewport | ( | osg::Viewport * | viewport | ) |
void osg::CullStack::reset | ( | ) |
Reimplemented in osgUtil::CullVisitor, and osg::CollectOccludersVisitor.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by createOrReuseMatrix().
|
protected |
|
protected |
|
protected |
Referenced by getModelViewMatrix(), getMVPW(), getProjectionMatrix(), and getWindowMatrix().
|
protected |
|
protected |
|
protected |
Referenced by getModelViewMatrix().
|
protected |
Referenced by getMVPW().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by createOrReuseMatrix().
|
protected |
|
protected |
Referenced by getViewport(), and getWindowMatrix().