VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
18 
19 namespace makVrv
20 {
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:
45  osg::Vec3 myEye;
46  osg::Camera* myCamera;
48  };
49 }
50 
51 
osg::Camera * myCamera
Definition: DtOsgLineSegmentIntersector.h:46
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgCullVisitorParameters myInfo
Definition: DtOsgLineSegmentIntersector.h:44
osg::Vec3 myEye
Definition: DtOsgLineSegmentIntersector.h:45
The osg cull vistor parameters class provides additional culling and intersector parameters for choos...
Definition: DtOsgCullVisitorParameters.h:38
Line Segment Intersector that handles vantage-specific issues such as scaled models.
Definition: DtOsgLineSegmentIntersector.h:24
bool myUseReverseZBuffer
Definition: DtOsgLineSegmentIntersector.h:47
Contains the makVrv::DtOsgCullVisitorParameters class.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)