96 const DtSceneRoot& parent,
const std::string& rootName,
bool subString =
false );
virtual void addActiveRootToNode(osg::Group *node, const DtSceneRoot &sr, bool createOnAccess)
Add the specified SceneRoot to an OSG group node using its active parent.
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:91
std::vector< DtSceneRoot > DtSceneRootList
A list of DtOsgRenderer::SceneRoots.
Definition: DtSceneRoot.h:135
virtual void removeSceneRootFromRoot(const DtSceneRoot &childRoot, const DtSceneRoot &parentRoot)
Remove a (child) sceneRoot from the specified parent SceneRoot.
DtSceneGraph(DtDe &de, DtOsgRenderer *renderer)
CTOR.
virtual void addSceneRootToRoot(const DtSceneRoot &childRoot, const DtSceneRoot &parentRoot, bool createOnAccess)
Add a (child) SceneRoot to the specified SceneRoot.
virtual osg::Group * getActiveRoot(const DtSceneRoot &root)
virtual osg::Group * getContainerRoot(const DtSceneRoot &root, bool createOnAccess)
virtual osg::BoundingSphere sceneRootListBound(const DtSceneRootList &srList)
Get the bounding sphere of list of sceneRoots.
virtual void traverseRoot(osg::NodeVisitor &nv, const DtSceneRoot &sr)
Traverse from the specified SceneRoot with the given visitor.
DtOsgRenderer * myRenderer
Definition: DtSceneGraph.h:118
virtual bool matchesSceneRoot(const DtSceneRoot &sr, osg::Group *group)
Test if this group matches the given scene root.
virtual void removeRootFromNode(osg::Group *node, const DtSceneRoot &sr)
Remove a scene root from an OSG group node.
virtual bool removeNodeFromRoot(osg::Node *node, const DtSceneRoot &sr)
Remove a node from the specified SceneRoot.
virtual void addNodeToRoot(osg::Node *node, const DtSceneRoot &sr, bool createOnAccess)
Add a node to the specified SceneRoot.
virtual ~DtSceneGraph()
DTOR.
virtual void removeActiveRootFromNode(osg::Group *node, const DtSceneRoot &sr)
Remove a scene root's active parent from an OSG group node.
virtual osg::BoundingSphere sceneRootBound(const DtSceneRoot &sr)
Get the bounding sphere of sceneRoot.
Abstract index into the scene graph. This is used as an argument to functions which interact with dif...
Definition: DtSceneRoot.h:24
virtual osg::Node::NodeMask sceneRootNodeMask(const DtSceneRoot &sr)
Get the nodemask of a SceneRoot.
virtual osg::Group * findSceneRootChildByName(const DtSceneRoot &parent, const std::string &rootName, bool subString=false)
Look up a root by name in the parent specified by SceneRoot.
DtDe & myDe
Definition: DtSceneGraph.h:119
virtual void addRootToNode(osg::Group *node, const DtSceneRoot &sr, bool createOnAccess)
Add the specified SceneRoot to an OSG group node.
virtual void setSceneRootNodeMask(const DtSceneRoot &sr, osg::Node::NodeMask nodeMask)
Set the nodemask of a SceneRoot.
virtual bool isSceneRootEmpty(const DtSceneRoot &sr)
Checks to see if the specified sceneRoot currently has any children. Note that: in some cases...
virtual void setRenderRootAsSceneData(osgViewer::View &view)
Set the sceneData of a view to the top of the scene graph.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains makVrv::DtOsgRenderer class.
virtual osg::Group * createModelSetRoot(DtModelSetId modelSet)
Create a root node for the model set and return it.
Abstraction over the OSG scene graph.
Definition: DtSceneGraph.h:22