VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 );
31 
32  DtOsgLineSegmentIntersector( const osg::Vec3d& start, const osg::Vec3d& end,
33  osg::Camera* camera );
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;
47  };
48 }
49 
50 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)