INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
orcaqgui3dfactory/featuremap2delement.h00001 #ifndef FEATUREMAP2DELEMENT_H 00002 #define FEATUREMAP2DELEMENT_H 00003 00004 #include <orcaqgui3d/icestormelement3d.h> 00005 #include <orcaqgui3dfactory/featuremap2dpainter.h> 00006 00007 namespace orcaqgui3d 00008 { 00009 00013 class FeatureMap2dElement 00014 : public orcaqgui3d::IceStormElement3d<FeatureMap2dPainter, 00015 orca::FeatureMap2dData, 00016 orca::FeatureMap2dPrx, 00017 orca::FeatureMap2dConsumer, 00018 orca::FeatureMap2dConsumerPrx> 00019 { 00020 00021 public: 00022 00023 FeatureMap2dElement( const hydroqguielementutil::GuiElementInfo &guiElementInfo, 00024 const orcaice::Context &context ); 00025 00026 virtual bool isInGlobalCS() { return true; } 00027 virtual QStringList contextMenu(); 00028 virtual void execute( int action ); 00029 00030 osg::Node *osgNode() const { return painter_.osgNode(); } 00031 00032 public: 00033 void saveFeatureMapAs(); 00034 void saveFeatureMap(); 00035 00036 private: 00037 FeatureMap2dPainter painter_; 00038 QString featureMapFileName_; 00039 bool featureMapFileNameSet_; 00040 }; 00041 00042 } 00043 00044 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)