VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtPickIntersectionVisitor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtPickIntersectionVisitor.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvOsg/vrvOsg.h
>
16
#include <osg/Billboard>
17
#include <osgUtil/IntersectionVisitor>
18
19
#include <
vrvOsg/DtOsgCullVisitorParameters.h
>
20
21
namespace
makVrv
22
{
26
class
DT_DLL_VRVOSG
DtPickIntersectionVisitor
27
:
public
osgUtil::IntersectionVisitor
28
{
29
public
:
31
DtPickIntersectionVisitor
(osg::Camera* camera,
32
osgUtil::Intersector* i = 0, ReadCallback* rc = 0);
33
34
36
virtual
~
DtPickIntersectionVisitor
();
37
39
void
apply(osg::Billboard& billboard);
40
42
void
apply(osg::Transform& transform);
43
44
osg::Camera* camera()
const
;
45
46
protected
:
47
osg::Vec3
myEye
;
48
DtOsgCullVisitorParameters
myInfo
;
49
osg::Camera*
myCamera
;
// need this for Intersector clone
50
};
51
}
52
53
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)