VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <vrvOsg/vrvOsg.h>
16 #include <osg/Billboard>
17 #include <osgUtil/IntersectionVisitor>
18 
20 
21 namespace makVrv
22 {
27  : public osgUtil::IntersectionVisitor
28  {
29  public:
31  DtPickIntersectionVisitor(osg::Camera* camera,
32  osgUtil::Intersector* i = 0, ReadCallback* rc = 0);
33 
34 
36  virtual ~DtPickIntersectionVisitor();
37 
39  void apply(osg::Billboard& billboard);
40 
42  void apply(osg::Transform& transform);
43 
44  osg::Camera* camera() const;
45 
46  protected:
47  osg::Vec3 myEye;
49  osg::Camera* myCamera; // need this for Intersector clone
50  };
51 }
52 
53 

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)