Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
GLlink Class Reference

#include <GLlink.h>

Inheritance diagram for GLlink:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { DM_SOLID, DM_WIREFRAME, DM_COLLISION, DM_NUM }

Public Member Functions

void addCamera (GLcamera *camera)
void addChild (GLlink *i_child)
void addShape (GLshape *shape)
const std::vector< GLcamera * > & cameras ()
void computeAABB (hrp::Vector3 &o_min, hrp::Vector3 &o_max)
void computeAbsTransform ()
void computeAbsTransform (double o_trans[16])
void computeAbsTransform (double o_trans[16])
void divideLargeTriangles (double maxEdgeLen)
size_t draw ()
void draw ()
GLcamerafindCamera (const char *i_name)
GLcamerafindCamera (const char *i_name)
GLcamerafindCamera (const char *i_name)
virtual const aabbox3d< f32 > & getBoundingBox () const
 GLlink ()
 GLlink (const OpenHRP::LinkInfo &i_li, OpenHRP::BodyInfo_var i_binfo)
 GLlink (ISceneNode *i_parent, ISceneManager *i_mgr, s32 i_id, const LinkInfo &i_li, BodyInfo_var i_binfo)
void highlight (bool flag)
int jointId ()
int jointId () const
virtual void render ()
void setAbsTransform (double o_trans[16])
void setParent (GLlink *i_parent)
void setQ (double i_q)
void setQ (double i_q)
void setQ (double i_q)
void setTransform (double i_trans[16])
void showAxes (bool flag)
 ~GLlink ()

Static Public Member Functions

static int drawMode ()
static void drawMode (int i_mode)
static void useAbsTransformToDraw ()

Protected Attributes

double m_absTrans [16]
std::vector< GLcamera * > m_cameras
bool m_highlight
std::vector< GLshape * > m_shapes
bool m_showAxes
double m_T_j [16]

Static Protected Attributes

static int m_drawMode = GLlink::DM_SOLID
static bool m_useAbsTransformToDraw = false

Private Attributes

hrp::Vector3 m_axis
Vector3 m_axis
aabbox3d< f32 > m_box
std::vector< GLcamera * > m_cameraInfos
std::vector< GLlink * > m_children
int m_jointId
int m_list
GLlinkm_parent
double m_trans [16]

Detailed Description

Definition at line 17 of file GLlink.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
DM_SOLID 
DM_WIREFRAME 
DM_COLLISION 
DM_NUM 

Definition at line 20 of file GLlink.h.


Constructor & Destructor Documentation

Definition at line 27 of file GLlink.cpp.

Definition at line 34 of file GLlink.cpp.

GLlink::GLlink ( const OpenHRP::LinkInfo &  i_li,
OpenHRP::BodyInfo_var  i_binfo 
)
GLlink::GLlink ( ISceneNode *  i_parent,
ISceneManager *  i_mgr,
s32  i_id,
const LinkInfo &  i_li,
BodyInfo_var  i_binfo 
) [inline]

Definition at line 108 of file IrrModel.cpp.


Member Function Documentation

Definition at line 241 of file GLlink.cpp.

void GLlink::addChild ( GLlink i_child)

Definition at line 199 of file GLmodel.cpp.

Definition at line 236 of file GLlink.cpp.

const std::vector< GLcamera * > & GLlink::cameras ( )

Definition at line 256 of file GLlink.cpp.

void GLlink::computeAABB ( hrp::Vector3 o_min,
hrp::Vector3 o_max 
)

Definition at line 289 of file GLlink.cpp.

Definition at line 217 of file GLlink.cpp.

void GLlink::computeAbsTransform ( double  o_trans[16])

Definition at line 221 of file GLlink.cpp.

void GLlink::computeAbsTransform ( double  o_trans[16])
void GLlink::divideLargeTriangles ( double  maxEdgeLen)

Definition at line 282 of file GLlink.cpp.

Definition at line 44 of file GLlink.cpp.

int GLlink::drawMode ( ) [static]

Definition at line 261 of file GLlink.cpp.

void GLlink::drawMode ( int  i_mode) [static]

Definition at line 266 of file GLlink.cpp.

GLcamera * GLlink::findCamera ( const char *  i_name)

Definition at line 209 of file GLlink.cpp.

GLcamera* GLlink::findCamera ( const char *  i_name)
GLcamera* GLlink::findCamera ( const char *  i_name) [inline]

Definition at line 323 of file IrrModel.cpp.

virtual const aabbox3d<f32>& GLlink::getBoundingBox ( ) const [inline, virtual]

Definition at line 313 of file IrrModel.cpp.

void GLlink::highlight ( bool  flag)

Definition at line 271 of file GLlink.cpp.

Definition at line 219 of file GLmodel.cpp.

int GLlink::jointId ( ) const [inline]

Definition at line 322 of file IrrModel.cpp.

virtual void GLlink::render ( ) [inline, virtual]

Definition at line 312 of file IrrModel.cpp.

void GLlink::setAbsTransform ( double  o_trans[16])

Definition at line 205 of file GLlink.cpp.

void GLlink::setParent ( GLlink i_parent)

Definition at line 195 of file GLmodel.cpp.

void GLlink::setQ ( double  i_q)

Definition at line 169 of file GLlink.cpp.

void GLlink::setQ ( double  i_q)
void GLlink::setQ ( double  i_q) [inline]

Definition at line 314 of file IrrModel.cpp.

void GLlink::setTransform ( double  i_trans[16])

Definition at line 215 of file GLmodel.cpp.

void GLlink::showAxes ( bool  flag)

Definition at line 246 of file GLlink.cpp.

Definition at line 22 of file GLlink.cpp.


Member Data Documentation

double GLlink::m_absTrans[16] [protected]

Definition at line 46 of file GLlink.h.

Definition at line 56 of file GLmodel.h.

Definition at line 331 of file IrrModel.cpp.

aabbox3d<f32> GLlink::m_box [private]

Definition at line 330 of file IrrModel.cpp.

std::vector<GLcamera *> GLlink::m_cameraInfos [private]

Definition at line 333 of file IrrModel.cpp.

std::vector< GLcamera * > GLlink::m_cameras [protected]

Definition at line 45 of file GLlink.h.

std::vector<GLlink *> GLlink::m_children [private]

Definition at line 54 of file GLmodel.h.

int GLlink::m_drawMode = GLlink::DM_SOLID [static, protected]

Definition at line 44 of file GLlink.h.

bool GLlink::m_highlight [protected]

Definition at line 48 of file GLlink.h.

Definition at line 58 of file GLmodel.h.

int GLlink::m_list [private]

Definition at line 58 of file GLmodel.h.

Definition at line 53 of file GLmodel.h.

std::vector<GLshape *> GLlink::m_shapes [protected]

Definition at line 47 of file GLlink.h.

bool GLlink::m_showAxes [protected]

Definition at line 48 of file GLlink.h.

double GLlink::m_T_j [protected]

Definition at line 46 of file GLlink.h.

double GLlink::m_trans[16] [private]

Reimplemented from GLcoordinates.

Definition at line 57 of file GLmodel.h.

bool GLlink::m_useAbsTransformToDraw = false [static, protected]

Definition at line 43 of file GLlink.h.


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


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