|
| | CullVisitor () |
| |
| | CullVisitor (const CullVisitor &) |
| | Copy constructor that does a shallow copy. More...
|
| |
| | META_NodeVisitor (osgUtil, CullVisitor) virtual CullVisitor *clone() const |
| |
| virtual void | reset () |
| |
| void | setIdentifier (Identifier *identifier) |
| |
| Identifier * | getIdentifier () |
| |
| const Identifier * | getIdentifier () const |
| |
| virtual osg::Vec3 | getEyePoint () const |
| |
| virtual osg::Vec3 | getViewPoint () const |
| |
| virtual float | getDistanceToEyePoint (const osg::Vec3 &pos, bool withLODScale) const |
| |
| virtual float | getDistanceFromEyePoint (const osg::Vec3 &pos, bool withLODScale) const |
| |
| virtual float | getDistanceToViewPoint (const osg::Vec3 &pos, bool withLODScale) const |
| |
| virtual void | apply (osg::Node &) |
| |
| virtual void | apply (osg::Geode &node) |
| |
| virtual void | apply (osg::Drawable &drawable) |
| |
| virtual void | apply (osg::Billboard &node) |
| |
| virtual void | apply (osg::LightSource &node) |
| |
| virtual void | apply (osg::ClipNode &node) |
| |
| virtual void | apply (osg::TexGenNode &node) |
| |
| virtual void | apply (osg::Group &node) |
| |
| virtual void | apply (osg::Transform &node) |
| |
| virtual void | apply (osg::Projection &node) |
| |
| virtual void | apply (osg::Switch &node) |
| |
| virtual void | apply (osg::LOD &node) |
| |
| virtual void | apply (osg::ClearNode &node) |
| |
| virtual void | apply (osg::Camera &node) |
| |
| virtual void | apply (osg::OccluderNode &node) |
| |
| virtual void | apply (osg::OcclusionQueryNode &node) |
| |
| void | pushStateSet (const osg::StateSet *ss) |
| |
| void | popStateSet () |
| |
| void | setStateGraph (StateGraph *rg) |
| |
| StateGraph * | getRootStateGraph () |
| |
| StateGraph * | getCurrentStateGraph () |
| |
| void | setRenderStage (RenderStage *rg) |
| |
| RenderStage * | getRenderStage () |
| |
| RenderStage * | getCurrentRenderStage () |
| |
| osg::Camera * | getCurrentCamera () |
| |
| RenderBin * | getCurrentRenderBin () |
| |
| void | setCurrentRenderBin (RenderBin *rb) |
| |
| void | setCalculatedNearPlane (value_type value) |
| |
| value_type | getCalculatedNearPlane () const |
| |
| void | setCalculatedFarPlane (value_type value) |
| |
| value_type | getCalculatedFarPlane () const |
| |
| value_type | computeNearestPointInFrustum (const osg::Matrix &matrix, const osg::Polytope::PlaneList &planes, const osg::Drawable &drawable) |
| |
| value_type | computeFurthestPointInFrustum (const osg::Matrix &matrix, const osg::Polytope::PlaneList &planes, const osg::Drawable &drawable) |
| |
| bool | updateCalculatedNearFar (const osg::Matrix &matrix, const osg::BoundingBox &bb) |
| |
| bool | updateCalculatedNearFar (const osg::Matrix &matrix, const osg::Drawable &drawable, bool isBillboard=false) |
| |
| void | updateCalculatedNearFar (const osg::Vec3 &pos) |
| |
| void | addDrawable (osg::Drawable *drawable, osg::RefMatrix *matrix) |
| |
| void | addDrawableAndDepth (osg::Drawable *drawable, osg::RefMatrix *matrix, float depth) |
| |
| void | addPositionedAttribute (osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| |
| void | addPositionedTextureAttribute (unsigned int textureUnit, osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| |
| void | computeNearPlane () |
| |
| virtual void | popProjectionMatrix () |
| |
| virtual bool | clampProjectionMatrixImplementation (osg::Matrixf &projection, double &znear, double &zfar) const |
| |
| virtual bool | clampProjectionMatrixImplementation (osg::Matrixd &projection, double &znear, double &zfar) const |
| |
| bool | clampProjectionMatrix (osg::Matrixf &projection, value_type &znear, value_type &zfar) const |
| |
| bool | clampProjectionMatrix (osg::Matrixd &projection, value_type &znear, value_type &zfar) const |
| |
| void | setState (osg::State *state) |
| |
| osg::State * | getState () |
| |
| const osg::State * | getState () const |
| |
| void | setRenderInfo (osg::RenderInfo &renderInfo) |
| |
| osg::RenderInfo & | getRenderInfo () |
| |
| const osg::RenderInfo & | getRenderInfo () const |
| |
| | NodeVisitor (TraversalMode tm=TRAVERSE_NONE) |
| |
| | NodeVisitor (VisitorType type, TraversalMode tm=TRAVERSE_NONE) |
| |
| | NodeVisitor (const NodeVisitor &nv, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| |
| virtual | ~NodeVisitor () |
| |
| | META_Object (osg, NodeVisitor) virtual NodeVisitor *asNodeVisitor() |
| |
| virtual const NodeVisitor * | asNodeVisitor () const |
| |
| void | setVisitorType (VisitorType type) |
| |
| VisitorType | getVisitorType () const |
| |
| void | setTraversalNumber (unsigned int fn) |
| |
| unsigned int | getTraversalNumber () const |
| |
| void | setFrameStamp (FrameStamp *fs) |
| |
| const FrameStamp * | getFrameStamp () const |
| |
| void | setTraversalMask (Node::NodeMask mask) |
| |
| Node::NodeMask | getTraversalMask () const |
| |
| void | setNodeMaskOverride (Node::NodeMask mask) |
| |
| Node::NodeMask | getNodeMaskOverride () const |
| |
| bool | validNodeMask (const osg::Node &node) const |
| |
| void | setTraversalMode (TraversalMode mode) |
| |
| TraversalMode | getTraversalMode () const |
| |
| void | traverse (Node &node) |
| |
| void | pushOntoNodePath (Node *node) |
| |
| void | popFromNodePath () |
| |
| NodePath & | getNodePath () |
| |
| const NodePath & | getNodePath () const |
| |
| virtual void | apply (Geometry &geometry) |
| |
| virtual void | apply (ProxyNode &node) |
| |
| virtual void | apply (CoordinateSystemNode &node) |
| |
| virtual void | apply (CameraView &node) |
| |
| virtual void | apply (MatrixTransform &node) |
| |
| virtual void | apply (PositionAttitudeTransform &node) |
| |
| virtual void | apply (Sequence &node) |
| |
| virtual void | apply (PagedLOD &node) |
| |
| void | setDatabaseRequestHandler (DatabaseRequestHandler *handler) |
| |
| DatabaseRequestHandler * | getDatabaseRequestHandler () |
| |
| const DatabaseRequestHandler * | getDatabaseRequestHandler () const |
| |
| void | setImageRequestHandler (ImageRequestHandler *handler) |
| |
| ImageRequestHandler * | getImageRequestHandler () |
| |
| const ImageRequestHandler * | getImageRequestHandler () const |
| |
| | Object () |
| |
| | Object (bool threadSafeRefUnref) |
| |
| | Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| |
| virtual Object * | cloneType () const =0 |
| |
| virtual Object * | clone (const CopyOp &) const =0 |
| |
| virtual bool | isSameKindAs (const Object *) const |
| |
| virtual const char * | libraryName () const =0 |
| |
| virtual const char * | className () const =0 |
| |
| std::string | getCompoundClassName () const |
| |
| virtual Node * | asNode () |
| |
| virtual const Node * | asNode () const |
| |
| virtual NodeVisitor * | asNodeVisitor () |
| |
| virtual StateAttribute * | asStateAttribute () |
| |
| virtual const StateAttribute * | asStateAttribute () const |
| |
| virtual Uniform * | asUniform () |
| |
| virtual const Uniform * | asUniform () const |
| |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| |
| virtual void | setName (const std::string &name) |
| |
| void | setName (const char *name) |
| |
| const std::string & | getName () const |
| |
| void | setDataVariance (DataVariance dv) |
| |
| DataVariance | getDataVariance () const |
| |
| virtual void | computeDataVariance () |
| |
| void | setUserDataContainer (osg::UserDataContainer *udc) |
| |
| osg::UserDataContainer * | getUserDataContainer () |
| |
| const osg::UserDataContainer * | getUserDataContainer () const |
| |
| osg::UserDataContainer * | getOrCreateUserDataContainer () |
| |
| virtual void | setUserData (Referenced *obj) |
| |
| virtual Referenced * | getUserData () |
| |
| virtual const Referenced * | getUserData () const |
| |
| template<typename T > |
| bool | getUserValue (const std::string &name, T &value) const |
| |
| template<typename T > |
| void | setUserValue (const std::string &name, const T &value) |
| |
| virtual void | resizeGLObjectBuffers (unsigned int) |
| |
| virtual void | releaseGLObjects (osg::State *=0) const |
| |
| template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool | getUserValue (const std::string &name, T &value) const |
| |
| | Referenced () |
| |
| | Referenced (bool threadSafeRefUnref) |
| |
| | Referenced (const Referenced &) |
| |
| Referenced & | operator= (const Referenced &) |
| |
| bool | getThreadSafeRefUnref () const |
| |
| OpenThreads::Mutex * | getRefMutex () const |
| |
| int | ref () const |
| |
| int | unref () const |
| |
| int | unref_nodelete () const |
| |
| int | referenceCount () const |
| |
| ObserverSet * | getObserverSet () const |
| |
| ObserverSet * | getOrCreateObserverSet () const |
| |
| void | addObserver (Observer *observer) const |
| |
| void | removeObserver (Observer *observer) const |
| |
| | CullStack () |
| |
| | CullStack (const CullStack &cs) |
| |
| | ~CullStack () |
| |
| void | reset () |
| |
| void | pushCullingSet () |
| |
| void | popCullingSet () |
| |
| void | setOccluderList (const ShadowVolumeOccluderList &svol) |
| |
| ShadowVolumeOccluderList & | getOccluderList () |
| |
| const ShadowVolumeOccluderList & | getOccluderList () const |
| |
| void | pushViewport (osg::Viewport *viewport) |
| |
| void | popViewport () |
| |
| void | pushProjectionMatrix (osg::RefMatrix *matrix) |
| |
| void | popProjectionMatrix () |
| |
| void | pushModelViewMatrix (osg::RefMatrix *matrix, Transform::ReferenceFrame referenceFrame) |
| |
| void | popModelViewMatrix () |
| |
| float | getFrustumVolume () |
| |
| float | pixelSize (const Vec3 &v, float radius) const |
| |
| float | pixelSize (const BoundingSphere &bs) const |
| |
| float | clampedPixelSize (const Vec3 &v, float radius) const |
| |
| float | clampedPixelSize (const BoundingSphere &bs) const |
| |
| void | disableAndPushOccludersCurrentMask (NodePath &nodePath) |
| |
| void | popOccludersCurrentMask (NodePath &nodePath) |
| |
| bool | isCulled (const std::vector< Vec3 > &vertices) |
| |
| bool | isCulled (const BoundingBox &bb) |
| |
| bool | isCulled (const BoundingSphere &bs) |
| |
| bool | isCulled (const osg::Node &node) |
| |
| void | pushCurrentMask () |
| |
| void | popCurrentMask () |
| |
| CullingStack & | getClipSpaceCullingStack () |
| |
| CullingStack & | getProjectionCullingStack () |
| |
| CullingStack & | getModelViewCullingStack () |
| |
| CullingSet & | getCurrentCullingSet () |
| |
| const CullingSet & | getCurrentCullingSet () const |
| |
| osg::Viewport * | getViewport () |
| |
| osg::RefMatrix * | getModelViewMatrix () |
| |
| osg::RefMatrix * | getProjectionMatrix () |
| |
| osg::Matrix | getWindowMatrix () |
| |
| const osg::RefMatrix * | getMVPW () |
| |
| const osg::Vec3 & | getReferenceViewPoint () const |
| |
| void | pushReferenceViewPoint (const osg::Vec3 &viewPoint) |
| |
| void | popReferenceViewPoint () |
| |
| const osg::Vec3 & | getEyeLocal () const |
| |
| const osg::Vec3 & | getViewPointLocal () const |
| |
| const osg::Vec3 | getUpLocal () const |
| |
| const osg::Vec3 | getLookVectorLocal () const |
| |
| | CullSettings () |
| |
| | CullSettings (ArgumentParser &arguments) |
| |
| | CullSettings (const CullSettings &cs) |
| |
| virtual | ~CullSettings () |
| |
| CullSettings & | operator= (const CullSettings &settings) |
| |
| virtual void | setDefaults () |
| |
| void | setInheritanceMask (InheritanceMask mask) |
| |
| InheritanceMask | getInheritanceMask () const |
| |
| void | setCullSettings (const CullSettings &settings) |
| |
| virtual void | inheritCullSettings (const CullSettings &settings) |
| |
| virtual void | inheritCullSettings (const CullSettings &settings, unsigned int inheritanceMask) |
| |
| void | readEnvironmentalVariables () |
| |
| void | readCommandLine (ArgumentParser &arguments) |
| |
| void | setInheritanceMaskActionOnAttributeSetting (InheritanceMaskActionOnAttributeSetting action) |
| |
| InheritanceMaskActionOnAttributeSetting | getInheritanceMaskActionOnAttributeSetting () const |
| |
| void | applyMaskAction (unsigned int maskBit) |
| |
| void | setImpostorsActive (bool active) |
| |
| bool | getImpostorsActive () const |
| |
| void | setImpostorPixelErrorThreshold (float numPixels) |
| |
| float | getImpostorPixelErrorThreshold () const |
| |
| void | setDepthSortImpostorSprites (bool doDepthSort) |
| |
| bool | getDepthSortImpostorSprites () const |
| |
| void | setNumberOfFrameToKeepImpostorSprites (int numFrames) |
| |
| int | getNumberOfFrameToKeepImpostorSprites () const |
| |
| void | setComputeNearFarMode (ComputeNearFarMode cnfm) |
| |
| ComputeNearFarMode | getComputeNearFarMode () const |
| |
| void | setNearFarRatio (double ratio) |
| |
| double | getNearFarRatio () const |
| |
| void | setCullingMode (CullingMode mode) |
| |
| CullingMode | getCullingMode () const |
| |
| void | setCullMask (osg::Node::NodeMask nm) |
| |
| osg::Node::NodeMask | getCullMask () const |
| |
| void | setCullMaskLeft (osg::Node::NodeMask nm) |
| |
| osg::Node::NodeMask | getCullMaskLeft () const |
| |
| void | setCullMaskRight (osg::Node::NodeMask nm) |
| |
| osg::Node::NodeMask | getCullMaskRight () const |
| |
| void | setLODScale (float scale) |
| |
| float | getLODScale () const |
| |
| void | setSmallFeatureCullingPixelSize (float value) |
| |
| float | getSmallFeatureCullingPixelSize () const |
| |
| void | setClampProjectionMatrixCallback (ClampProjectionMatrixCallback *cpmc) |
| |
| ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () |
| |
const
ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () const |
| |
| void | write (std::ostream &out) |
| |
Basic NodeVisitor implementation for rendering a scene. This visitor traverses the scene graph, collecting transparent and opaque osg::Drawables into a depth sorted transparent bin and a state sorted opaque bin. The opaque bin is rendered first, and then the transparent bin is rendered in order from the furthest osg::Drawable from the eye to the one nearest the eye.
Definition at line 48 of file CullVisitor.h.