OSG
3.4.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
osg_head
include
osgVolume
RayTracedTechnique.h
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 OSGVOLUME_RAYTRACEDTECHNIQUE
15
#define OSGVOLUME_RAYTRACEDTECHNIQUE 1
16
17
#include <osgVolume/VolumeTechnique>
18
#include <osg/MatrixTransform>
19
20
namespace
osgVolume
{
21
22
class
OSGVOLUME_EXPORT
RayTracedTechnique
:
public
VolumeTechnique
23
{
24
public
:
25
26
RayTracedTechnique
();
27
28
RayTracedTechnique
(
const
RayTracedTechnique
&,
const
osg::CopyOp
& copyop=
osg::CopyOp::SHALLOW_COPY
);
29
30
META_Object
(
osgVolume
,
RayTracedTechnique
);
31
32
virtual
void
init();
33
34
virtual
void
update(
osgUtil::UpdateVisitor
* nv);
35
36
virtual
void
cull(
osgUtil::CullVisitor
* nv);
37
39
virtual
void
cleanSceneGraph();
40
42
virtual
void
traverse(
osg::NodeVisitor
& nv);
43
44
protected
:
45
46
virtual
~
RayTracedTechnique
();
47
48
osg::ref_ptr<osg::MatrixTransform>
_transform
;
49
50
osg::ref_ptr<osg::StateSet>
_whenMovingStateSet
;
51
};
52
53
}
54
55
#endif
osgUtil::CullVisitor
Definition:
CullVisitor.h:48
osg::ref_ptr< osg::MatrixTransform >
osgVolume::RayTracedTechnique::_transform
osg::ref_ptr< osg::MatrixTransform > _transform
Definition:
RayTracedTechnique.h:48
OSGVOLUME_EXPORT
#define OSGVOLUME_EXPORT
Definition:
Export.h:39
osgUtil::UpdateVisitor
Definition:
UpdateVisitor.h:37
osg::CopyOp::SHALLOW_COPY
Definition:
CopyOp.h:47
osgVolume::RayTracedTechnique::_whenMovingStateSet
osg::ref_ptr< osg::StateSet > _whenMovingStateSet
Definition:
RayTracedTechnique.h:50
META_Object
#define META_Object(library, name)
Definition:
Object.h:42
osgVolume
osg::CopyOp
Definition:
CopyOp.h:40
osg::NodeVisitor
Definition:
NodeVisitor.h:67
osgVolume::RayTracedTechnique
Definition:
RayTracedTechnique.h:22
osgVolume::VolumeTechnique
Definition:
VolumeTechnique.h:45
Generated on Tue Oct 4 2016 19:20:48 for OSG by
1.8.8