VR-Forces 4.3 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 <vrvOsg/vrvOsg.h>
17 
18 #include <osgUtil/LineSegmentIntersector>
20 
21 namespace makVrv
22 {
27  : public osgUtil::LineSegmentIntersector
28  {
29  public:
31  DtOsgLineSegmentIntersector( CoordinateFrame cf, double x, double y,
32  osg::Camera* camera );
33 
34  DtOsgLineSegmentIntersector( const osg::Vec3d& start, const osg::Vec3d& end,
35  osg::Camera* camera );
36 
38  virtual ~DtOsgLineSegmentIntersector();
39 
41  virtual bool enter( const osg::Node& node );
42 
43  virtual Intersector* clone( osgUtil::IntersectionVisitor& iv );
44 
45  protected:
47  osg::Vec3 myEye;
48  osg::Camera* myCamera;
49  };
50 }
51 
52 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)