VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 <osg/Billboard>
16
#include <osgUtil/IntersectionVisitor>
17
18
#include <
vrvOsg/DtOsgCullVisitorParameters.h
>
19
20
namespace
makVrv
21
{
25
class
DT_DLL_VRVOSG
DtPickIntersectionVisitor
26
:
public
osgUtil::IntersectionVisitor
27
{
28
public
:
30
DtPickIntersectionVisitor
(osg::Camera* camera,
31
osgUtil::Intersector* i = 0, ReadCallback* rc = 0);
32
33
35
virtual
~
DtPickIntersectionVisitor
();
36
38
void
apply(osg::Billboard& billboard);
39
41
void
apply(osg::Transform& transform);
42
43
osg::Camera* camera()
const
;
44
45
protected
:
46
osg::Vec3
myEye
;
47
DtOsgCullVisitorParameters
myInfo
;
48
osg::Camera*
myCamera
;
// need this for Intersector clone
49
};
50
}
51
52
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)