VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgLineSegmentIntersector.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgLineSegmentIntersector.h,v $ $Revision: 1.6 $ $State: Exp $
00007 ******************************************************************************/
00008 
00013 
00014 #pragma once
00015 
00016 #include <vrvOsg/vrvOsg.h>
00017 
00018 #include <osgUtil/LineSegmentIntersector>
00019 #include <vrvOsg/DtOsgCullVisitorParameters.h>
00020 
00021 namespace makVrv
00022 {
00026    class DT_DLL_VRVOSG DtOsgLineSegmentIntersector
00027       : public osgUtil::LineSegmentIntersector
00028    {
00029    public:
00031       DtOsgLineSegmentIntersector( CoordinateFrame cf, double x, double y,
00032          osg::Camera* camera );
00033          
00034       DtOsgLineSegmentIntersector( const osg::Vec3d& start, const osg::Vec3d& end,
00035          osg::Camera* camera );
00036 
00038       virtual ~DtOsgLineSegmentIntersector();
00039       
00041       virtual bool enter( const osg::Node& node );
00042       
00043       virtual Intersector* clone( osgUtil::IntersectionVisitor& iv );
00044 
00045    protected:
00046       DtOsgCullVisitorParameters myInfo;
00047       osg::Vec3 myEye;
00048    };
00049 }
00050 
00051 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)