OpenSceneGraph 3.6.5
VolumeScene
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2009 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
12*/
13
14#ifndef OSGVOLUMESCENE
15#define OSGVOLUMESCENE 1
16
17#include <osg/Group>
18#include <osg/Texture2D>
19#include <osgUtil/CullVisitor>
20
21#include <osgVolume/VolumeTile>
22
23namespace osgVolume {
24
75
76}
77
78#endif
The osgVolume library is a NodeKit that extends the core scene graph to support volume rendering.
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
General group node which maintains a list of children.
Definition Group:29
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
Base class for providing reference counted objects.
Definition Referenced:44
Basic NodeVisitor implementation for rendering a scene.
Definition CullVisitor:49
OpenThreads::Mutex _viewDataMapMutex
Definition VolumeScene:72
TileData * tileVisited(osgUtil::CullVisitor *cv, VolumeTile *tile)
std::map< VolumeTile *, osg::ref_ptr< TileData > > Tiles
Definition VolumeScene:46
std::map< osgUtil::CullVisitor *, osg::ref_ptr< ViewData > > ViewDataMap
Definition VolumeScene:71
virtual void traverse(osg::NodeVisitor &nv)
Traverse downwards : calls children's accept method with NodeVisitor.
VolumeScene(const VolumeScene &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
ViewDataMap _viewDataMap
Definition VolumeScene:73
META_Node(osgVolume, VolumeScene)
TileData * getTileData(osgUtil::CullVisitor *cv, VolumeTile *tile)
osg::ref_ptr< osg::Texture2D > _colorTexture
Definition VolumeScene:57
osg::ref_ptr< osg::Uniform > _viewportDimensionsUniform
Definition VolumeScene:63
osg::ref_ptr< osg::StateSet > _stateset
Definition VolumeScene:62
Tiles _tiles
Definition VolumeScene:65
osg::ref_ptr< osg::Vec3Array > _vertices
Definition VolumeScene:61
void visitTile(VolumeTile *tile)
virtual ~ViewData()
Definition VolumeScene:68
osg::ref_ptr< osg::Camera > _rttCamera
Definition VolumeScene:58
osg::ref_ptr< osg::Node > _backdropSubgraph
Definition VolumeScene:59
osg::ref_ptr< osg::Texture2D > _depthTexture
Definition VolumeScene:56
osg::ref_ptr< osg::Geometry > _geometry
Definition VolumeScene:60
Container for render to texture objects used when doing multi-pass volume rendering techniques.
Definition VolumeTechnique:30
VolumeTile provides a framework for loosely coupling 3d image data with rendering algorithms.
Definition VolumeTile:70
#define OSGVOLUME_EXPORT
Definition Export:39

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.