Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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