Defines | Functions | Variables
VirtualCamera.cpp File Reference

virtual camera component $Date$ More...

#include <GL/glu.h>
#include <rtm/CorbaNaming.h>
#include <hrpModel/ModelLoaderUtil.h>
#include "hrpsys/util/Project.h"
#include "hrpsys/util/VectorConvert.h"
#include "hrpsys/util/GLcamera.h"
#include "hrpsys/util/GLbody.h"
#include "hrpsys/util/GLlink.h"
#include "hrpsys/util/GLutil.h"
#include "VirtualCamera.h"
#include "RTCGLbody.h"
#include "GLscene.h"
Include dependency graph for VirtualCamera.cpp:

Go to the source code of this file.

Defines

#define RANGE(d, th)   (-far*near/((d)*(far-near)-far)/cos(th))
#define THETA(x)   (-atan(((x)-w/2)*2*tan(fovx/2)/w))

Functions

void capture (int w, int h, unsigned char *o_buffer)
void VirtualCameraInit (RTC::Manager *manager)

Variables

static const char * virtualcamera_spec []

Detailed Description

virtual camera component $Date$

$Id$

Definition in file VirtualCamera.cpp.


Define Documentation

#define RANGE (   d,
  th 
)    (-far*near/((d)*(far-near)-far)/cos(th))
#define THETA (   x)    (-atan(((x)-w/2)*2*tan(fovx/2)/w))

Function Documentation

void capture ( int  w,
int  h,
unsigned char *  o_buffer 
)

Definition at line 284 of file VirtualCamera.cpp.

Definition at line 607 of file VirtualCamera.cpp.


Variable Documentation

const char* virtualcamera_spec[] [static]
Initial value:
{
    "implementation_id", "VirtualCamera",
    "type_name",         "VirtualCamera",
    "description",       "virtual camera component",
    "version",           HRPSYS_PACKAGE_VERSION,
    "vendor",            "AIST",
    "category",          "example",
    "activity_type",     "DataFlowComponent",
    "max_instance",      "10",
    "language",          "C++",
    "lang_type",         "compile",
    
    "conf.default.rangerMaxAngle", "0.25",
    "conf.default.rangerMinAngle", "-0.25",
    "conf.default.rangerAngularRes", "0.01",
    "conf.default.rangerMaxRange", "5.0",
    "conf.default.rangerMinRange", "0.5",
    "conf.default.generateRange", "1",
    "conf.default.generatePointCloud", "0",
    "conf.default.generatePointCloudStep", "1",
    "conf.default.pcFormat", "xyz",
    "conf.default.generateMovie", "0",
    "conf.default.debugLevel", "0",
    "conf.default.project", "",
    "conf.default.camera", "",

    ""
}

Definition at line 29 of file VirtualCamera.cpp.



hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20