iCub-main
Loading...
Searching...
No Matches
BVHNode Class Referenceabstract

#include <bvhnode.h>

Inheritance diagram for BVHNode:

Public Member Functions

 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 draw (double *encoders, BVHNode *pSelected)=0
virtual void setSliders (QSlider *rx, QSlider *ry, QSlider *rz, QSlider *px, QSlider *py, QSlider *pz)
void addArrow (ForceArrow *pArrow)
void clearArrows ()

Protected Member Functions

virtual void drawJoint ()
void drawArrows ()
void setName (const QString &name)

Protected Attributes

GLUquadricObj * cyl
QString m_name
QList< BVHNode * > children
int nEnc
iCubMesh * pMesh
float m_Alpha
std::vector< ForceArrow * > mArrows

Detailed Description

Definition at line 191 of file bvhnode.h.

Constructor & Destructor Documentation

◆ BVHNode()

BVHNode::BVHNode ( const QString & name,
int enc = -1,
iCubMesh * mesh = 0 )
inline

Definition at line 194 of file bvhnode.h.

◆ ~BVHNode()

virtual BVHNode::~BVHNode ( )
inlinevirtual

Definition at line 206 of file bvhnode.h.

Member Function Documentation

◆ addArrow()

void BVHNode::addArrow ( ForceArrow * pArrow)
inline

Definition at line 239 of file bvhnode.h.

◆ addChild()

void BVHNode::addChild ( BVHNode * pChild)
inline

Definition at line 231 of file bvhnode.h.

◆ clearArrows()

void BVHNode::clearArrows ( )
inline

Definition at line 244 of file bvhnode.h.

◆ draw()

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

◆ drawArrows()

void BVHNode::drawArrows ( )
inlineprotected

Definition at line 265 of file bvhnode.h.

◆ drawJoint()

virtual void BVHNode::drawJoint ( )
inlineprotectedvirtual

Reimplemented in BVHNodeEND, BVHNodeEYE, BVHNodeForceTorque, BVHNodeINERTIAL, and BVHNodeROOT.

Definition at line 255 of file bvhnode.h.

◆ isValid()

bool BVHNode::isValid ( )
inline

Definition at line 219 of file bvhnode.h.

◆ name()

const QString & BVHNode::name ( ) const
inline

Definition at line 221 of file bvhnode.h.

◆ numChildren()

int BVHNode::numChildren ( ) const
inline

Definition at line 226 of file bvhnode.h.

◆ setName()

void BVHNode::setName ( const QString & name)
inlineprotected

Definition at line 276 of file bvhnode.h.

◆ setSliders()

virtual void BVHNode::setSliders ( QSlider * rx,
QSlider * ry,
QSlider * rz,
QSlider * px,
QSlider * py,
QSlider * pz )
inlinevirtual

Definition at line 237 of file bvhnode.h.

Member Data Documentation

◆ children

QList<BVHNode*> BVHNode::children
protected

Definition at line 283 of file bvhnode.h.

◆ cyl

GLUquadricObj* BVHNode::cyl
protected

Definition at line 281 of file bvhnode.h.

◆ m_Alpha

float BVHNode::m_Alpha
protected

Definition at line 288 of file bvhnode.h.

◆ m_name

QString BVHNode::m_name
protected

Definition at line 282 of file bvhnode.h.

◆ mArrows

std::vector<ForceArrow*> BVHNode::mArrows
protected

Definition at line 290 of file bvhnode.h.

◆ nEnc

int BVHNode::nEnc
protected

Definition at line 285 of file bvhnode.h.

◆ pMesh

iCubMesh* BVHNode::pMesh
protected

Definition at line 286 of file bvhnode.h.


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