MultibeamSensor.h
Go to the documentation of this file.
00001 /* 
00002  * Copyright (c) 2013 University of Jaume-I.
00003  * All rights reserved. This program and the accompanying materials
00004  * are made available under the terms of the GNU Public License v3.0
00005  * which accompanies this distribution, and is available at
00006  * http://www.gnu.org/licenses/gpl.html
00007  * 
00008  * Contributors:
00009  *     Mario Prats
00010  *     Javier Perez
00011  */
00012 
00013 #ifndef MULTIBEAMSENSOR_H_
00014 #define MULTIBEAMSENSOR_H_
00015 
00016 #include "VirtualCamera.h"
00017 
00018 class MultibeamSensor : public VirtualCamera
00019 {
00020   struct Remap
00021   {
00022     int pixel1, pixel2;
00023     double weight1, weight2;
00024     double distort;
00025   };
00026 
00027 public:
00028   int numpixels;
00029   double range, initAngle, finalAngle, angleIncr;
00030   std::vector<Remap> remapVector;
00031   MultibeamSensor(osg::Group *uwsim_root, std::string name, osg::Node *trackNode, double initAngle, double finalAngle,
00032                   double alpha, double range);
00033   void preCalcTable();
00034 };
00035 
00036 #endif


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07