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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcaqgui2dfactory/featuremap2delement.h

00001 #ifndef FEATUREMAP2DELEMENT_H
00002 #define FEATUREMAP2DELEMENT_H
00003 
00004 #include <orcaqguielementutil/icestormguielement2d.h>
00005 #include <orcaqgui2dfactory/featuremap2dpainter.h>
00006 
00007 namespace hydroqguielementutil {
00008     class IHumanManager;
00009 };
00010 
00011 namespace orcaqgui2d
00012 {
00013 
00017 class FeatureMap2dElement
00018     : public orcaqguielementutil::IceStormGuiElement2d<FeatureMap2dPainter,
00019                              orca::FeatureMap2dData,
00020                              orca::FeatureMap2dPrx,
00021                              orca::FeatureMap2dConsumer,
00022                              orca::FeatureMap2dConsumerPrx>
00023 {
00024 
00025 public: 
00026 
00027     FeatureMap2dElement( const hydroqguielementutil::GuiElementInfo &guiElementInfo,
00028                          const orcaice::Context  &context );
00029 
00030     virtual bool isInGlobalCS() { return true; }
00031     virtual QStringList contextMenu();
00032     virtual void execute( int action );
00033     virtual void setUseTransparency( bool useTransparency ) { painter_.setUseTransparency( useTransparency ); };
00034 
00035  public:
00036     void saveFeatureMapAs();
00037     void saveFeatureMap();
00038 
00039 private:
00040     FeatureMap2dPainter painter_;
00041     QString featureMapFileName_;
00042     bool featureMapFileNameSet_;
00043 };
00044 
00045 }
00046 
00047 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5