forked from mattjr/structured
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTexturingQueryDidson.h
More file actions
24 lines (17 loc) · 827 Bytes
/
Copy pathTexturingQueryDidson.h
File metadata and controls
24 lines (17 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "TexturingQuery.h"
#include "ts-sonar/Didson.h"
#include <boost/shared_ptr.hpp>
class TexturingQueryDidson : public TexturingQuery {
public:
TexturingQueryDidson(TexturedSource *source,const CameraCalib &calib,TexPyrAtlas &atlasGen,bool useTextureArray,
int _windowStart, int _windowLength);
protected:
virtual double getDistToCenter(osg::Vec3 v, TexturedSource::ProjectionCamera cam);
virtual void findCamProjAndDist(CamProjAndDist &cpad,osg::Vec3 v,SpatialIndex::id_type id);
virtual osg::Vec2 reprojectPt(const osg::Matrixf &mat,const osg::Vec3 &v, bool *is_visible=NULL);
void setDidsonParams (int windowStart, int windowLength);
int windowStart;
int windowLength;
boost::shared_ptr<sonar::DidsonCartesian> cartesian;
sonar::Didson *tmp;
};