orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

position3dpainter.h

00001 #if 0
00002 /*
00003  * Orca-Robotics Project: Components for robotics 
00004  *               http://orca-robotics.sf.net/
00005  * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00006  *
00007  * This copy of Orca is licensed to you under the terms described in
00008  * the LICENSE file included in this distribution.
00009  *
00010  */
00011 
00012 #ifndef ORCAGUI3D_POSITION3D_PAINTER_H
00013 #define ORCAGUI3D_POSITION3D_PAINTER_H
00014 
00015 #include <QColor>
00016 #include <orca/position3d.h>
00017 #include <orcaqgui3dfactory/objectmodel.h>
00018 
00019 namespace orcaqgui3d
00020 {
00021 
00025 class Position3dPainter
00026 {
00027   
00028   public:
00029     Position3dPainter( const char *objectModelFilename );
00030     ~Position3dPainter();
00031 
00032     // void setGeometry( orca::RangeScanner2dGeometryPtr &geom );
00033     void setData( const orca::Position3dData& obj );
00034     
00035     void paint( QGLWidget *p );
00036 
00037     void clear();
00038     
00039     // void execute( int action );
00040     
00041     //void setColor( QColor color );
00042     //void setFocus( bool inFocus );
00043 
00044     const orca::Frame3d pose() const { return data_.pose; }
00045 
00046   private:
00047 
00048     orca::Position3dData data_;
00049 
00050     // This thing loads a 3d model from a file
00051     ObjectModel *objectModel_;
00052 };
00053 
00054 } // namespace
00055 
00056 #endif
00057 #endif
00058 
 

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


Generated for Orca Robotics by  doxygen 1.4.5