Classes | Public Member Functions | Public Attributes
VirtualCamera Class Reference

#include <VirtualCamera.h>

Inheritance diagram for VirtualCamera:
Inheritance graph
[legend]

List of all members.

Classes

class  MyNodeTrackerCallback

Public Member Functions

void createCamera ()
int getTFTransform (tf::Pose &pose, std::string &parent)
osg::ref_ptr< osgWidget::Window > getWidgetWindow ()
void init (osg::Group *uwsim_root, std::string name, std::string parentName, osg::Node *trackNode, int width, int height, double baseline, std::string frameId, Parameters *params, int range, double fov, double aspectRatio, double near, double far, int bw, int widget, SceneBuilder *oscene, float std)
void loadShaders (SceneBuilder *oscene)
void showPath (double rate)
 VirtualCamera (osg::Group *uwsim_root, std::string name, std::string parentName, osg::Node *trackNode, int width, double fov, double range)
 VirtualCamera (osg::Group *uwsim_root, std::string name, std::string parentName, osg::Node *trackNode, int width, int height, double fov, double aspectRatio)
 VirtualCamera (osg::Group *uwsim_root, std::string name, std::string parentName, osg::Node *trackNode, int width, int height, double baseline, std::string frameId, double fov, SceneBuilder *oscene, float std, Parameters *params, int range, int bw)
 VirtualCamera ()

Public Attributes

double aspectRatio
double baseline
int bw
double cx
double cy
 intrinsic parameters
osg::ref_ptr< osg::Image > depthTexture
double far
double fov
std::string frameId
double fx
double fy
int height
double k
std::string name
double near
osg::ref_ptr
< MyNodeTrackerCallback
node_tracker
int paramsOn
std::string parentLinkName
int range
osg::ref_ptr< osg::Image > renderTexture
float std
osg::ref_ptr< osg::Camera > textureCamera
osg::Node * trackNode
double Tx
double Ty
osg::ref_ptr< osg::Group > uwsim_root
int widget
int width

Detailed Description

A camera associated to a viewer

Definition at line 43 of file VirtualCamera.h.


Constructor & Destructor Documentation

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
std::string  parentName,
osg::Node *  trackNode,
int  width,
double  fov,
double  range 
)

Definition at line 147 of file VirtualCamera.cpp.

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
std::string  parentName,
osg::Node *  trackNode,
int  width,
int  height,
double  fov,
double  aspectRatio 
)

Definition at line 155 of file VirtualCamera.cpp.

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
std::string  parentName,
osg::Node *  trackNode,
int  width,
int  height,
double  baseline,
std::string  frameId,
double  fov,
SceneBuilder oscene,
float  std,
Parameters *  params = NULL,
int  range = 0,
int  bw = 0 
)

Definition at line 161 of file VirtualCamera.cpp.

Definition at line 84 of file VirtualCamera.cpp.


Member Function Documentation

void VirtualCamera::createCamera ( void  )

Definition at line 167 of file VirtualCamera.cpp.

int VirtualCamera::getTFTransform ( tf::Pose pose,
std::string &  parent 
)

Definition at line 304 of file VirtualCamera.cpp.

osg::ref_ptr< osgWidget::Window > VirtualCamera::getWidgetWindow ( ) [virtual]

Implements CustomWidget.

Definition at line 289 of file VirtualCamera.cpp.

void VirtualCamera::init ( osg::Group *  uwsim_root,
std::string  name,
std::string  parentName,
osg::Node *  trackNode,
int  width,
int  height,
double  baseline,
std::string  frameId,
Parameters *  params,
int  range,
double  fov,
double  aspectRatio,
double  near,
double  far,
int  bw,
int  widget,
SceneBuilder oscene,
float  std 
)

Definition at line 88 of file VirtualCamera.cpp.

Definition at line 237 of file VirtualCamera.cpp.

void VirtualCamera::showPath ( double  rate) [inline]

Definition at line 200 of file VirtualCamera.h.


Member Data Documentation

Definition at line 170 of file VirtualCamera.h.

Definition at line 171 of file VirtualCamera.h.

Definition at line 175 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

intrinsic parameters

Definition at line 169 of file VirtualCamera.h.

osg::ref_ptr<osg::Image> VirtualCamera::depthTexture

Definition at line 180 of file VirtualCamera.h.

Definition at line 170 of file VirtualCamera.h.

Definition at line 170 of file VirtualCamera.h.

Definition at line 173 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.

Definition at line 170 of file VirtualCamera.h.

std::string VirtualCamera::name

Definition at line 162 of file VirtualCamera.h.

Definition at line 170 of file VirtualCamera.h.

Definition at line 166 of file VirtualCamera.h.

Definition at line 174 of file VirtualCamera.h.

Definition at line 162 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.

osg::ref_ptr<osg::Image> VirtualCamera::renderTexture

Definition at line 179 of file VirtualCamera.h.

Definition at line 177 of file VirtualCamera.h.

osg::ref_ptr<osg::Camera> VirtualCamera::textureCamera

Definition at line 164 of file VirtualCamera.h.

Definition at line 165 of file VirtualCamera.h.

Definition at line 172 of file VirtualCamera.h.

Definition at line 172 of file VirtualCamera.h.

osg::ref_ptr<osg::Group> VirtualCamera::uwsim_root

Definition at line 163 of file VirtualCamera.h.

Definition at line 176 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.


The documentation for this class was generated from the following files:


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58