#include <VirtualSLSProjector.h>
Public Member Functions | |
virtual void | init (std::string name, std::string parentName, osg::Node *root, osg::Node *node, std::string image_name, double range, double fov, bool laser) |
VirtualSLSProjector (std::string name, std::string parentName, osg::Node *root, osg::Node *node, std::string image_name, double fov, bool laser) | |
VirtualSLSProjector () | |
Public Attributes | |
VirtualCamera | camera |
osg::Texture2D * | dbgDepthTexture |
double | fov |
Field of view. | |
std::string | image_name |
std::string | name |
osg::ref_ptr< osg::Node > | node |
double | range |
Max projection range. | |
osg::ref_ptr< osg::Node > | root |
unsigned int | textureUnit |
Virtual Structured Light sensor that Projects a light (laser or not) in the scene
Definition at line 18 of file VirtualSLSProjector.h.
VirtualSLSProjector::VirtualSLSProjector | ( | std::string | name, |
std::string | parentName, | ||
osg::Node * | root, | ||
osg::Node * | node, | ||
std::string | image_name, | ||
double | fov, | ||
bool | laser | ||
) |
Definition at line 42 of file VirtualSLSProjector.cpp.
Definition at line 31 of file VirtualSLSProjector.cpp.
void VirtualSLSProjector::init | ( | std::string | name, |
std::string | parentName, | ||
osg::Node * | root, | ||
osg::Node * | node, | ||
std::string | image_name, | ||
double | range, | ||
double | fov, | ||
bool | laser | ||
) | [virtual] |
Definition at line 49 of file VirtualSLSProjector.cpp.
Definition at line 29 of file VirtualSLSProjector.h.
osg::Texture2D* VirtualSLSProjector::dbgDepthTexture |
Definition at line 28 of file VirtualSLSProjector.h.
double VirtualSLSProjector::fov |
Field of view.
Definition at line 26 of file VirtualSLSProjector.h.
std::string VirtualSLSProjector::image_name |
Definition at line 22 of file VirtualSLSProjector.h.
std::string VirtualSLSProjector::name |
Definition at line 21 of file VirtualSLSProjector.h.
osg::ref_ptr<osg::Node> VirtualSLSProjector::node |
Definition at line 23 of file VirtualSLSProjector.h.
double VirtualSLSProjector::range |
Max projection range.
Definition at line 25 of file VirtualSLSProjector.h.
osg::ref_ptr<osg::Node> VirtualSLSProjector::root |
Definition at line 24 of file VirtualSLSProjector.h.
unsigned int VirtualSLSProjector::textureUnit |
Definition at line 27 of file VirtualSLSProjector.h.