VR-Forces 4.0.4 Class Documentation
include/bhavePathDataGen/baseImporter.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <kypdg.h>
00009 #include <bhavePathDataGen/extentBoxStruct.h>
00010 
00011 #include "gdb/rangeNetSegMet.h"
00012 #include "gdb/vecNetwrk.h"
00013 #include "gdb/netwrkSeg.h"
00014 #include "gdb/specification.h"
00015 #include "bhavePathDataGen/vectorNetworkConverter.h"
00016 #include "terrainInterface/terrainProcessPolygonsBox.h"
00017 #include "bhaveUtil/soilTypeConverter.h"
00018 
00019 namespace BHAVE {
00020 
00023 class DtBaseImporter 
00024 {
00025 protected:
00026    DtBaseImporter();
00027 
00028 public:
00029    virtual ~DtBaseImporter();
00030 
00032    virtual bool initializeCoordinateSystem() = 0;
00033    
00035    virtual bool generateTriangleMesh(Kaim::ClientInputConsumer & kynapseConsumer, DtExtentBoxStruct* boundingBox = 0) = 0;
00036    
00038    virtual void setTempKynapseConsumerPtr(Kaim::ClientInputConsumer* kynapseConsumer);
00039 
00041    virtual const Kaim::ClientInputConsumer* tempKynapseConsumerPtr() const;
00042 
00045    virtual void applyVectorNetworkToTriangles(const DtVectorNetwork* vNetwork, DtTerrainProcessPolygonsBox& box, 
00046       DtProcessBoundingPolygonCallbackFcn func = 0) const;
00047 
00051    static void processBoundingPolygon(std::deque<DtPoint> points, void* usr);
00052 
00055    virtual void addTerrainVolume(Kaim::Vec3f* bounds, unsigned int numPoints) const;
00056 
00057 protected:
00058    Kaim::ClientInputConsumer* myTempConsumerPtr;
00059 
00060 };
00061 
00062 } 
00063 

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)