Public Member Functions | Private Member Functions | Private Attributes
GLcamera Class Reference

#include <GLcamera.h>

Inheritance diagram for GLcamera:
Inheritance graph
[legend]

List of all members.

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)
GLlinklink ()
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::VisionSensorsensor ()
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 ()

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
GLlinkm_link
std::string m_name
double m_near
float m_near
irr::scene::ISceneNode * m_node
GLuint m_renderBuffer
hrp::VisionSensorm_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

Detailed Description

Definition at line 15 of file GLcamera.h.


Constructor & Destructor Documentation

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.

Definition at line 33 of file GLcamera.cpp.

GLcamera::GLcamera ( const OpenHRP::SensorInfo &  i_si,
GLlink i_link 
)
GLcamera::GLcamera ( int  i_width,
int  i_height,
double  i_near,
double  i_far,
double  i_fovy 
)

Definition at line 36 of file GLmodel.cpp.

GLcamera::GLcamera ( const OpenHRP::SensorInfo &  i_info,
irr::scene::ISceneNode *  i_node 
)
GLcamera::GLcamera ( irr::scene::ISceneNode *  i_node)

Member Function Documentation

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.

double GLcamera::far ( ) [inline]

Definition at line 18 of file GLmodel.h.

float GLcamera::far ( ) [inline]

Definition at line 28 of file GLcamera.h.

float GLcamera::far ( )
double GLcamera::fovy ( ) [inline]

Definition at line 19 of file GLmodel.h.

float GLcamera::fovy ( ) [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.

Definition at line 108 of file GLcamera.cpp.

void GLcamera::getAbsTransform ( double *  o_T)

Definition at line 465 of file IrrModel.cpp.

void GLcamera::getDepthOfLine ( int  i_row,
float *  o_depth 
)

Definition at line 78 of file GLmodel.cpp.

int GLcamera::height ( ) [inline]

Definition at line 21 of file GLmodel.h.

int GLcamera::height ( ) [inline]

Definition at line 31 of file GLcamera.h.

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.

void GLcamera::initTexture ( void  ) [private]

Definition at line 236 of file GLcamera.cpp.

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.

void GLcamera::name ( const std::string &  i_name)

Definition at line 59 of file GLcamera.cpp.

double GLcamera::near ( ) [inline]

Definition at line 17 of file GLmodel.h.

float GLcamera::near ( ) [inline]

Definition at line 27 of file GLcamera.h.

float GLcamera::near ( )

Definition at line 124 of file GLcamera.cpp.

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 ( int  w,
int  h 
)

Definition at line 77 of file GLcamera.cpp.

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.

int GLcamera::width ( ) [inline]

Definition at line 20 of file GLmodel.h.

int GLcamera::width ( ) [inline]

Definition at line 30 of file GLcamera.h.


Member Data Documentation

double GLcamera::m_absTrans [private]

Definition at line 46 of file GLcamera.h.

unsigned char* GLcamera::m_colorBuffer [private]

Definition at line 54 of file GLcamera.h.

double GLcamera::m_far [private]

Definition at line 48 of file GLcamera.h.

float GLcamera::m_far [private]

Definition at line 49 of file IrrModel.h.

double GLcamera::m_fovy [private]

Definition at line 48 of file GLcamera.h.

float GLcamera::m_fovy [private]

Definition at line 49 of file IrrModel.h.

GLuint GLcamera::m_frameBuffer [private]

Definition at line 52 of file GLcamera.h.

Definition at line 28 of file GLmodel.h.

Definition at line 49 of file GLcamera.h.

GLlink * GLcamera::m_link [private]

Definition at line 47 of file GLcamera.h.

std::string GLcamera::m_name [private]

Definition at line 45 of file GLcamera.h.

double GLcamera::m_near [private]

Definition at line 48 of file GLcamera.h.

float GLcamera::m_near [private]

Definition at line 49 of file IrrModel.h.

irr::scene::ISceneNode* GLcamera::m_node [private]

Definition at line 48 of file IrrModel.h.

GLuint GLcamera::m_renderBuffer [private]

Definition at line 52 of file GLcamera.h.

Definition at line 53 of file GLcamera.h.

std::vector<GLshape *> GLcamera::m_shapes [private]

Definition at line 51 of file GLcamera.h.

GLuint GLcamera::m_texture [private]

Definition at line 52 of file GLcamera.h.

double GLcamera::m_trans[16] [private]

Reimplemented from GLcoordinates.

Definition at line 25 of file GLmodel.h.

double GLcamera::m_viewPoint[3] [private]

Definition at line 50 of file GLcamera.h.

double GLcamera::m_viewTarget[3] [private]

Definition at line 50 of file GLcamera.h.

Definition at line 28 of file GLmodel.h.

Definition at line 49 of file GLcamera.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:57