VR-Forces 4.0.4 Class Documentation
include/osgdb_PathData/pathDataConverter.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include "osgdb_PathData/pathDataOsgObjects.h"
00009 #include <osg/Node>
00010 #include <osg/Group>
00011 
00012 #include "kypathdata/visualsystem/ivisualgeometry.h"
00013 #include "bhave3DGui/pathDataDrawerHelper.h"
00014 
00015 namespace BHAVE 
00016 {
00018    class DT_DLL_osgdb_PathData DtPathDataConverter : public Kaim::IVisualGeometry
00019    {
00020    public:
00021       DtPathDataConverter();
00022       virtual ~DtPathDataConverter();
00023 
00025       virtual osg::Node* convertFileToNode(const std::string& pdgFile);
00026 
00027    protected:
00029       virtual void convertNav(BHAVE3DGui::DtPathDataDrawerHelper*);
00030 
00032       virtual DtBhaveOsgLOD* convertGraph(BHAVE3DGui::DtPathDataDrawerHelper*) const;
00033       
00035       virtual void DoBeginTriangles();
00037       virtual void DoPushTriangle(const Kaim::VisualTriangle& triangle);
00039       virtual void DoEndTriangles();
00040 
00041       DtBhavePdgDrawMode myDrawMode;
00042       bool myIsGeocentric;
00043       bool myNewTriangleSet;
00044       bool myInitialized;
00045       DtBhaveOsgGeode* myCurrentGeode;
00046    };
00047 }

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)