VR-Forces Developer's Guide
 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) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <osgUtil/LineSegmentIntersector>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
24  : public osgUtil::LineSegmentIntersector
25  {
26  public:
28  DtOsgLineSegmentIntersector(DtDe& de, CoordinateFrame cf, double x, double y,
29  const osg::Camera* camera);
30 
31  DtOsgLineSegmentIntersector(DtDe& de, const osg::Vec3d& start, const osg::Vec3d& end,
32  const osg::Camera* camera);
33 
34  public:
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  const osg::Camera* myCamera;
47 
49  };
50 }
51 
52 
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgCullVisitorParameters myInfo
Definition: DtOsgLineSegmentIntersector.h:44
const osg::Camera * myCamera
Definition: DtOsgLineSegmentIntersector.h:46
osg::Vec3 myEye
Definition: DtOsgLineSegmentIntersector.h:45
The osg cull vistor parameters class provides additional culling and intersector parameters for choos...
Definition: DtOsgCullVisitorParameters.h:44
Line Segment Intersector that handles vantage-specific issues such as scaled models.
Definition: DtOsgLineSegmentIntersector.h:23
DtDe & myDe
Definition: DtOsgLineSegmentIntersector.h:48
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains the makVrv::DtOsgCullVisitorParameters class. Visual mode information is set into the camera...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)