VR-Forces 4.1 Class Documentation
DtOsgLineSegmentIntersector.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 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  };
49 }
50 
51 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)