VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPickIntersectionVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtPickIntersectionVisitor.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <osg/Billboard>
16 #include <osgUtil/IntersectionVisitor>
17 
19 
20 namespace makVrv
21 {
26  : public osgUtil::IntersectionVisitor
27  {
28  public:
30  DtPickIntersectionVisitor(osg::Camera* camera,
31  osgUtil::Intersector* i = 0, ReadCallback* rc = 0);
32 
33 
35  virtual ~DtPickIntersectionVisitor();
36 
38  void apply(osg::Billboard& billboard);
39 
41  void apply(osg::Transform& transform);
42 
43  osg::Camera* camera() const;
44 
45  protected:
46  osg::Vec3 myEye;
48  osg::Camera* myCamera; // need this for Intersector clone
49  };
50 }
51 
52 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)