VR-Forces 4.10 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 
10 
11 #pragma once
12 
13 #include <osgUtil/LineSegmentIntersector>
15 
16 namespace makVrv
17 {
22  : public osgUtil::LineSegmentIntersector
23  {
24  public:
26  DtOsgLineSegmentIntersector(CoordinateFrame cf, double x, double y,
27  osg::Camera* camera, bool useReverseZBuffer);
28 
29  DtOsgLineSegmentIntersector(const osg::Vec3d& start, const osg::Vec3d& end,
30  osg::Camera* camera, bool useReverseZBuffer);
31 
33  virtual ~DtOsgLineSegmentIntersector();
34 
36  virtual bool enter( const osg::Node& node );
37 
38  virtual Intersector* clone( osgUtil::IntersectionVisitor& iv );
39 
40  protected:
42  osg::Vec3 myEye;
43  osg::Camera* myCamera;
45  };
46 }
47 
48 
osg::Camera * myCamera
Definition: DtOsgLineSegmentIntersector.h:43
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgCullVisitorParameters myInfo
Definition: DtOsgLineSegmentIntersector.h:41
osg::Vec3 myEye
Definition: DtOsgLineSegmentIntersector.h:42
The osg cull vistor parameters class provides additional culling and intersector parameters for choos...
Definition: DtOsgCullVisitorParameters.h:38
Line Segment Intersector that handles vantage-specific issues such as scaled models.
Definition: DtOsgLineSegmentIntersector.h:21
bool myUseReverseZBuffer
Definition: DtOsgLineSegmentIntersector.h:44
Contains the makVrv::DtOsgCullVisitorParameters class.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)