Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef VirtualSLSProjector_H
00011 #define VirtualSLSProjector_H
00012
00013 #include <osgDB/ReadFile>
00014
00015 #include "VirtualCamera.h"
00016
00018 class VirtualSLSProjector
00019 {
00020 public:
00021 std::string name;
00022 std::string image_name;
00023 osg::ref_ptr<osg::Node> node;
00024 osg::ref_ptr<osg::Node> root;
00025 double range;
00026 double fov;
00027 unsigned int textureUnit;
00028 osg::Texture2D* dbgDepthTexture;
00029 VirtualCamera camera;
00030
00031 VirtualSLSProjector(std::string name, osg::Node *root, osg::Node *node, std::string image_name, double fov,
00032 bool laser);
00033 VirtualSLSProjector();
00034
00035 virtual void init(std::string name, osg::Node *root, osg::Node *node, std::string image_name, double range,
00036 double fov, bool laser);
00037 };
00038
00039 #endif