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
|
pointcloudelement.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Alex Brooks 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCAGUI3D_POINT_CLOUD_ELEMENT_H 00012 #define ORCAGUI3D_POINT_CLOUD_ELEMENT_H 00013 00014 #include <orcaqgui3d/icestormelement3d.h> 00015 #include <orcaqgui3dfactory/pointcloudpainter.h> 00016 00017 namespace orcaqgui3d { 00018 00024 class PointCloudElement 00025 : public IceStormElement3d<PointCloudPainter, 00026 orca::PointCloudData, 00027 orca::PointCloudPrx, 00028 orca::PointCloudConsumer, 00029 orca::PointCloudConsumerPrx> 00030 { 00031 public: 00032 PointCloudElement( const hydroqguielementutil::GuiElementInfo &guiElementInfo, 00033 const orcaice::Context &context, 00034 int timeoutMs = 5000 ) 00035 : IceStormElement3d<PointCloudPainter, 00036 orca::PointCloudData, 00037 orca::PointCloudPrx, 00038 orca::PointCloudConsumer, 00039 orca::PointCloudConsumerPrx>( guiElementInfo, context, painter_, timeoutMs ) 00040 {}; 00041 virtual ~PointCloudElement(){}; 00042 00043 virtual bool isInGlobalCS() { return true; } 00044 virtual void iceStormConnectedEvent() { } 00045 virtual QStringList contextMenu(); 00046 virtual void execute( int action ); 00047 // virtual void setColor( QColor color ) { painter_.setColor(color); } 00048 // virtual void setFocus( bool inFocus ) { painter_.setFocus( inFocus ); }; 00049 00050 virtual osg::Node *osgNode() const { return painter_.osgNode(); } 00051 00052 private: 00053 PointCloudPainter painter_; 00054 00055 }; 00056 00057 } 00058 00059 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)