VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)