![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2012 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #pragma once 00010 00011 #include <vrfGuiCore/vrfGuiCore.h> 00012 #include <vrvUtil/signalslib.h> 00013 #include <matrix/vlVector.h> 00014 #include <vrvUtil/DtUnicode.h> 00015 00016 namespace makVrv 00017 { 00018 class DtDe; 00019 } 00020 00021 namespace makVrf 00022 { 00039 00040 class DT_DLL_VRFGUICORE DtTerrainProfileDataProvider 00041 { 00042 public: 00043 00045 DtTerrainProfileDataProvider(makVrv::DtDe& de) 00046 : myDe(de) 00047 { 00048 } 00049 00051 virtual ~DtTerrainProfileDataProvider() 00052 { 00053 } 00054 00056 virtual makVrv::DtUnicode name() const = 0; 00057 00060 virtual std::vector<DtVector> points() = 0; 00061 00063 virtual int color() const 00064 { 00065 return 255 << 8; 00066 } 00067 00071 virtual bool allowsTracking() const 00072 { 00073 return true; 00074 } 00075 00079 virtual bool allowsVertices() const 00080 { 00081 return true; 00082 } 00083 00085 boost::signal<void ()> signal_dataUpdated; 00086 00088 boost::signal<void ()> signal_dataRemoved; 00089 00090 protected: 00091 makVrv::DtDe& myDe; 00092 }; 00093 }