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 ()
osg::ref_ptr< osgWidget::Window > getWidgetWindow ()
void init (osg::Group *uwsim_root, std::string name, 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)
void showPath (double rate)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, double fov, double range)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, int height, double fov, double aspectRatio)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, int height)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, int height, Parameters *params)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, int height, double baseline, std::string frameId)
 VirtualCamera (osg::Group *uwsim_root, std::string name, osg::Node *trackNode, int width, int height, double baseline, std::string frameId, 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
int range
osg::ref_ptr< osg::Image > renderTexture
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 41 of file VirtualCamera.h.


Constructor & Destructor Documentation

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

Definition at line 123 of file VirtualCamera.cpp.

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

Definition at line 131 of file VirtualCamera.cpp.

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

Definition at line 155 of file VirtualCamera.cpp.

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
osg::Node *  trackNode,
int  width,
int  height,
Parameters *  params 
)

Definition at line 149 of file VirtualCamera.cpp.

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
osg::Node *  trackNode,
int  width,
int  height,
double  baseline,
std::string  frameId 
)

Definition at line 137 of file VirtualCamera.cpp.

VirtualCamera::VirtualCamera ( osg::Group *  uwsim_root,
std::string  name,
osg::Node *  trackNode,
int  width,
int  height,
double  baseline,
std::string  frameId,
Parameters *  params,
int  range,
int  bw 
)

Definition at line 143 of file VirtualCamera.cpp.

Definition at line 68 of file VirtualCamera.cpp.


Member Function Documentation

void VirtualCamera::createCamera ( void  )

Definition at line 160 of file VirtualCamera.cpp.

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

Implements CustomWidget.

Definition at line 231 of file VirtualCamera.cpp.

void VirtualCamera::init ( osg::Group *  uwsim_root,
std::string  name,
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 
)

Definition at line 72 of file VirtualCamera.cpp.

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

Definition at line 198 of file VirtualCamera.h.


Member Data Documentation

Definition at line 169 of file VirtualCamera.h.

Definition at line 170 of file VirtualCamera.h.

Definition at line 174 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.

intrinsic parameters

Definition at line 168 of file VirtualCamera.h.

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

Definition at line 178 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

Definition at line 172 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.

Definition at line 168 of file VirtualCamera.h.

Definition at line 167 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

std::string VirtualCamera::name

Definition at line 161 of file VirtualCamera.h.

Definition at line 169 of file VirtualCamera.h.

Definition at line 165 of file VirtualCamera.h.

Definition at line 173 of file VirtualCamera.h.

Reimplemented in MultibeamSensor.

Definition at line 167 of file VirtualCamera.h.

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

Definition at line 177 of file VirtualCamera.h.

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

Definition at line 163 of file VirtualCamera.h.

Definition at line 164 of file VirtualCamera.h.

Definition at line 171 of file VirtualCamera.h.

Definition at line 171 of file VirtualCamera.h.

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

Definition at line 162 of file VirtualCamera.h.

Definition at line 175 of file VirtualCamera.h.

Definition at line 167 of file VirtualCamera.h.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07