Public Member Functions | Private Member Functions | Private Attributes | List of all members
GLcamera Class Reference

#include <GLcamera.h>

Inheritance diagram for GLcamera:
Inheritance graph
[legend]

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 ()
 
- 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
 
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
 

Additional Inherited Members

- Protected Attributes inherited from GLcoordinates
double m_trans [16]
 

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.

GLcamera::~GLcamera ( )

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 
)

Definition at line 385 of file IrrModel.cpp.

GLcamera::GLcamera ( irr::scene::ISceneNode *  i_node)

Definition at line 568 of file IrrModel.cpp.

Member Function Documentation

void GLcamera::addShape ( GLshape i_shape)

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.

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.

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.

int GLcamera::height ( )
void GLcamera::highlight ( bool  flag)

Definition at line 117 of file GLcamera.cpp.

void GLcamera::initFramebuffer ( void  )
private

Definition at line 250 of file GLcamera.cpp.

void GLcamera::initRenderbuffer ( void  )
private

Definition at line 263 of file GLcamera.cpp.

void GLcamera::initTexture ( void  )
private

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.

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 ( )
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 ( )
void GLcamera::setView ( int  w,
int  h 
)

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.

int GLcamera::width ( )
inline

Definition at line 20 of file GLmodel.h.

int GLcamera::width ( )
inline

Definition at line 30 of file GLcamera.h.

int GLcamera::width ( )

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.

int GLcamera::m_height
private

Definition at line 28 of file GLmodel.h.

int GLcamera::m_height
private

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.

hrp::VisionSensor* GLcamera::m_sensor
private

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

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.

int GLcamera::m_width
private

Definition at line 28 of file GLmodel.h.

int GLcamera::m_width
private

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 Thu May 6 2021 02:41:52