#include <GLcamera.h>
Public Member Functions | |
void | addShape (GLshape *i_shape) |
void | computeAbsTransform (double o_trans[16]) |
void | computeAbsTransform (double o_trans[16]) |
size_t | draw (int i_mode) |
double | far () |
double | far () |
float | far () |
double | fovy () |
double | fovy () |
float | fovy () |
void | getAbsTransform (double o_trans[16]) |
double * | getAbsTransform () |
void | getAbsTransform (double *o_T) |
void | getDepthOfLine (int i_row, float *o_depth) |
GLcamera (const OpenHRP::SensorInfo &i_si, GLlink *i_link) | |
GLcamera (int i_width, int i_height, double i_near, double i_far, double i_fovy) | |
GLcamera (int i_width, int i_height, double i_near, double i_far, double i_fovy, GLlink *i_link=NULL, int i_id=-1) | |
GLcamera (const OpenHRP::SensorInfo &i_info, irr::scene::ISceneNode *i_node) | |
GLcamera (irr::scene::ISceneNode *i_node) | |
int | height () |
unsigned int | height () |
int | height () |
void | highlight (bool flag) |
GLlink * | link () |
const std::string & | name () const |
const std::string & | name () const |
const char * | name () |
void | name (const std::string &i_name) |
double | near () |
double | near () |
float | near () |
void | render (GLsceneBase *i_scene) |
hrp::VisionSensor * | sensor () |
void | setCameraParameters (irr::scene::ICameraSceneNode *i_camera) |
void | setTransform (double i_trans[16]) |
void | setView () |
void | setView (int w, int h) |
void | setView () |
void | setViewPoint (double x, double y, double z) |
void | setViewTarget (double x, double y, double z) |
void | updateCameraTransform (irr::scene::ICameraSceneNode *i_camera) |
int | width () |
unsigned int | width () |
int | width () |
~GLcamera () | |
Public Member Functions inherited from GLcoordinates | |
hrp::Vector3 | getPosition () |
void | getPosition (double &x, double &y, double &z) |
hrp::Matrix33 | getRotation () |
void | getRotation (hrp::Matrix33 &R) |
double * | getTransform () |
GLcoordinates () | |
void | setPosition (double x, double y, double z) |
template<class T > | |
void | setPosition (const T &p) |
void | setRotation (double r, double p, double y) |
void | setRotation (double ax, double ay, double az, double th) |
void | setRotation (const hrp::Matrix33 &R) |
void | setRotation (const double *R) |
void | setTransform (const double i_trans[12]) |
Private Member Functions | |
void | initFramebuffer (void) |
void | initRenderbuffer (void) |
void | initTexture (void) |
Private Attributes | |
double | m_absTrans [16] |
unsigned char * | m_colorBuffer |
double | m_far |
float | m_far |
double | m_fovy |
float | m_fovy |
GLuint | m_frameBuffer |
int | m_height |
unsigned int | m_height |
GLlink * | m_link |
std::string | m_name |
double | m_near |
float | m_near |
irr::scene::ISceneNode * | m_node |
GLuint | m_renderBuffer |
hrp::VisionSensor * | m_sensor |
std::vector< GLshape * > | m_shapes |
GLuint | m_texture |
double | m_trans [16] |
double | m_viewPoint [3] |
double | m_viewTarget [3] |
int | m_width |
unsigned int | m_width |
Additional Inherited Members | |
Protected Attributes inherited from GLcoordinates | |
double | m_trans [16] |
Definition at line 15 of file GLcamera.h.
GLcamera::GLcamera | ( | int | i_width, |
int | i_height, | ||
double | i_near, | ||
double | i_far, | ||
double | i_fovy, | ||
GLlink * | i_link = NULL , |
||
int | i_id = -1 |
||
) |
Definition at line 21 of file GLcamera.cpp.
GLcamera::~GLcamera | ( | ) |
Definition at line 33 of file GLcamera.cpp.
Definition at line 36 of file GLmodel.cpp.
GLcamera::GLcamera | ( | const OpenHRP::SensorInfo & | i_info, |
irr::scene::ISceneNode * | i_node | ||
) |
Definition at line 385 of file IrrModel.cpp.
GLcamera::GLcamera | ( | irr::scene::ISceneNode * | i_node | ) |
Definition at line 568 of file IrrModel.cpp.
Definition at line 276 of file GLcamera.cpp.
void GLcamera::computeAbsTransform | ( | double | o_trans[16] | ) |
void GLcamera::computeAbsTransform | ( | double | o_trans[16] | ) |
Definition at line 63 of file GLcamera.cpp.
size_t GLcamera::draw | ( | int | i_mode | ) |
Definition at line 41 of file GLcamera.cpp.
|
inline |
Definition at line 28 of file GLcamera.h.
float GLcamera::far | ( | ) |
|
inline |
Definition at line 29 of file GLcamera.h.
float GLcamera::fovy | ( | ) |
void GLcamera::getAbsTransform | ( | double | o_trans[16] | ) |
Definition at line 74 of file GLmodel.cpp.
double * GLcamera::getAbsTransform | ( | ) |
Definition at line 108 of file GLcamera.cpp.
void GLcamera::getAbsTransform | ( | double * | o_T | ) |
Definition at line 465 of file IrrModel.cpp.
Definition at line 78 of file GLmodel.cpp.
|
inline |
Definition at line 31 of file GLcamera.h.
int GLcamera::height | ( | ) |
void GLcamera::highlight | ( | bool | flag | ) |
Definition at line 117 of file GLcamera.cpp.
Definition at line 250 of file GLcamera.cpp.
Definition at line 263 of file GLcamera.cpp.
Definition at line 236 of file GLcamera.cpp.
GLlink * GLcamera::link | ( | ) |
Definition at line 112 of file GLcamera.cpp.
const std::string& GLcamera::name | ( | ) | const |
const std::string & GLcamera::name | ( | ) | const |
Definition at line 55 of file GLcamera.cpp.
const char * GLcamera::name | ( | ) |
Definition at line 450 of file IrrModel.cpp.
Definition at line 59 of file GLcamera.cpp.
|
inline |
Definition at line 27 of file GLcamera.h.
float GLcamera::near | ( | ) |
void GLcamera::render | ( | GLsceneBase * | i_scene | ) |
Definition at line 124 of file GLcamera.cpp.
VisionSensor * GLcamera::sensor | ( | ) |
Definition at line 271 of file GLcamera.cpp.
void GLcamera::setCameraParameters | ( | irr::scene::ICameraSceneNode * | i_camera | ) |
Definition at line 396 of file IrrModel.cpp.
void GLcamera::setTransform | ( | double | i_trans[16] | ) |
Definition at line 70 of file GLmodel.cpp.
void GLcamera::setView | ( | ) |
Definition at line 77 of file GLcamera.cpp.
void GLcamera::setView | ( | ) |
Definition at line 73 of file GLcamera.cpp.
void GLcamera::setViewPoint | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 98 of file GLcamera.cpp.
void GLcamera::setViewTarget | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 103 of file GLcamera.cpp.
void GLcamera::updateCameraTransform | ( | irr::scene::ICameraSceneNode * | i_camera | ) |
Definition at line 438 of file IrrModel.cpp.
|
inline |
Definition at line 30 of file GLcamera.h.
int GLcamera::width | ( | ) |
|
private |
Definition at line 46 of file GLcamera.h.
|
private |
Definition at line 54 of file GLcamera.h.
|
private |
Definition at line 48 of file GLcamera.h.
|
private |
Definition at line 49 of file IrrModel.h.
|
private |
Definition at line 48 of file GLcamera.h.
|
private |
Definition at line 49 of file IrrModel.h.
|
private |
Definition at line 52 of file GLcamera.h.
|
private |
Definition at line 49 of file GLcamera.h.
|
private |
Definition at line 47 of file GLcamera.h.
|
private |
Definition at line 45 of file GLcamera.h.
|
private |
Definition at line 48 of file GLcamera.h.
|
private |
Definition at line 49 of file IrrModel.h.
|
private |
Definition at line 48 of file IrrModel.h.
|
private |
Definition at line 52 of file GLcamera.h.
|
private |
Definition at line 53 of file GLcamera.h.
|
private |
Definition at line 51 of file GLcamera.h.
|
private |
Definition at line 52 of file GLcamera.h.
|
private |
Definition at line 50 of file GLcamera.h.
|
private |
Definition at line 50 of file GLcamera.h.
|
private |
Definition at line 49 of file GLcamera.h.