VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsg
DtOsgLineSegmentIntersector.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgLineSegmentIntersector.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
13
14
#pragma once
15
16
#include <osgUtil/LineSegmentIntersector>
17
#include <
vrvOsg/DtOsgCullVisitorParameters.h
>
18
19
namespace
makVrv
20
{
24
class
DT_DLL_VRVOSG
DtOsgLineSegmentIntersector
25
:
public
osgUtil::LineSegmentIntersector
26
{
27
public
:
29
DtOsgLineSegmentIntersector
(CoordinateFrame cf,
double
x,
double
y,
30
osg::Camera* camera,
bool
useReverseZBuffer);
31
32
DtOsgLineSegmentIntersector
(
const
osg::Vec3d& start,
const
osg::Vec3d& end,
33
osg::Camera* camera,
bool
useReverseZBuffer);
34
36
virtual
~
DtOsgLineSegmentIntersector
();
37
39
virtual
bool
enter(
const
osg::Node& node );
40
41
virtual
Intersector* clone( osgUtil::IntersectionVisitor& iv );
42
43
protected
:
44
DtOsgCullVisitorParameters
myInfo
;
45
osg::Vec3
myEye
;
46
osg::Camera*
myCamera
;
47
bool
myUseReverseZBuffer
;
48
};
49
}
50
51
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)