iCub-main
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BVHNodeDH Class Reference

#include <bvhnodedh.h>

+ Inheritance diagram for BVHNodeDH:

Public Member Functions

 BVHNodeDH (const QString &name, int enc, double Dx, double Dz, double Rx, double Rz0, iCubMesh *mesh=0)
 
virtual void draw (double *encoders, BVHNode *pSelected)
 
- Public Member Functions inherited from BVHNode
 BVHNode (const QString &name, int enc=-1, iCubMesh *mesh=0)
 
virtual ~BVHNode ()
 
bool isValid ()
 
const QString & name () const
 
int numChildren () const
 
void addChild (BVHNode *pChild)
 
virtual void setSliders (QSlider *rx, QSlider *ry, QSlider *rz, QSlider *px, QSlider *py, QSlider *pz)
 
void addArrow (ForceArrow *pArrow)
 
void clearArrows ()
 

Protected Member Functions

void drawArc (double dOmega)
 
void drawArrow (double dMag)
 
- Protected Member Functions inherited from BVHNode
virtual void drawJoint ()
 
void drawArrows ()
 
void setName (const QString &name)
 

Protected Attributes

double dA
 
double dD
 
double dAlpha
 
double dTheta0
 
- Protected Attributes inherited from BVHNode
GLUquadricObj * cyl
 
QString m_name
 
QList< BVHNode * > children
 
int nEnc
 
iCubMeshpMesh
 
float m_Alpha
 
std::vector< ForceArrow * > mArrows
 

Detailed Description

Definition at line 23 of file bvhnodedh.h.

Constructor & Destructor Documentation

◆ BVHNodeDH()

BVHNodeDH::BVHNodeDH ( const QString &  name,
int  enc,
double  Dx,
double  Dz,
double  Rx,
double  Rz0,
iCubMesh mesh = 0 
)
inline

Definition at line 26 of file bvhnodedh.h.

Member Function Documentation

◆ draw()

virtual void BVHNodeDH::draw ( double *  encoders,
BVHNode pSelected 
)
inlinevirtual

Implements BVHNode.

Reimplemented in BVHNodeRIGHTHAND, BVHNodeLEFTHAND, and BVHNodeEND.

Definition at line 35 of file bvhnodedh.h.

◆ drawArc()

void BVHNodeDH::drawArc ( double  dOmega)
inlineprotected

Definition at line 71 of file bvhnodedh.h.

◆ drawArrow()

void BVHNodeDH::drawArrow ( double  dMag)
inlineprotected

Definition at line 93 of file bvhnodedh.h.

Member Data Documentation

◆ dA

double BVHNodeDH::dA
protected

Definition at line 105 of file bvhnodedh.h.

◆ dAlpha

double BVHNodeDH::dAlpha
protected

Definition at line 105 of file bvhnodedh.h.

◆ dD

double BVHNodeDH::dD
protected

Definition at line 105 of file bvhnodedh.h.

◆ dTheta0

double BVHNodeDH::dTheta0
protected

Definition at line 105 of file bvhnodedh.h.


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