#include <llviewerjointshape.h>
Inheritance diagram for LLViewerJointShape:


| Public Types | |
| ST_NULL | |
| ST_CUBE | |
| ST_SPHERE | |
| ST_CYLINDER | |
| enum | ShapeType { ST_NULL, ST_CUBE, ST_SPHERE, ST_CYLINDER } | 
| Public Member Functions | |
| LLViewerJointShape () | |
| LLViewerJointShape (ShapeType type, F32 red, F32 green, F32 blue, F32 alpha) | |
| virtual | ~LLViewerJointShape () | 
| ShapeType | getType () | 
| void | setType (ShapeType type) | 
| void | getColor (F32 *red, F32 *green, F32 *blue, F32 *alpha) | 
| void | setColor (F32 red, F32 green, F32 blue, F32 alpha) | 
| LLViewerImage * | getTexture () | 
| void | setTexture (LLViewerImage *texture) | 
| virtual void | drawBone () | 
| virtual BOOL | isTransparent () | 
| BOOL | isAnimatable () | 
| U32 | drawShape (F32 pixelArea, BOOL first_pass) | 
| Static Public Member Functions | |
| static void | setColorScale (F32 factor) | 
| Protected Attributes | |
| ShapeType | mType | 
| LLColor4 | mColor | 
| LLPointer< LLViewerImage > | mTexture | 
| Static Protected Attributes | |
| static F32 | sColorScale = 1.0f | 
Definition at line 41 of file llviewerjointshape.h.
Definition at line 45 of file llviewerjointshape.h.
| LLViewerJointShape::LLViewerJointShape | ( | ) | 
Definition at line 64 of file llviewerjointshape.cpp.
References mColor, mTexture, mType, NULL, and sColorScale.
| LLViewerJointShape::~LLViewerJointShape | ( | ) |  [virtual] | 
Definition at line 79 of file llviewerjointshape.cpp.
| void LLViewerJointShape::drawBone | ( | ) |  [virtual] | 
Reimplemented from LLViewerJoint.
Definition at line 162 of file llviewerjointshape.cpp.
References LLViewerImage::bindTexture(), f, gBox, gCylinder, LLJoint::getScale(), glColor4fv, glPopMatrix, glTranslatef, gSphere, llmax(), llmin(), mColor, mTexture, mType, LLColor4::mV, LLCylinder::render(), LLSphere::render(), LLBox::render(), ST_CUBE, ST_CYLINDER, ST_NULL, ST_SPHERE, VX, VY, and VZ.
| LLViewerImage * LLViewerJointShape::getTexture | ( | ) | 
| LLViewerJointShape::ShapeType LLViewerJointShape::getType | ( | ) | 
| BOOL LLViewerJointShape::isAnimatable | ( | ) |  [inline, virtual] | 
| BOOL LLViewerJointShape::isTransparent | ( | ) |  [virtual] | 
Reimplemented from LLViewerJoint.
Definition at line 153 of file llviewerjointshape.cpp.
References f, LLPointer< Type >::isNull(), mColor, and mTexture.
| void LLViewerJointShape::setTexture | ( | LLViewerImage * | texture | ) | 
| LLColor4 LLViewerJointShape::mColor  [protected] | 
Definition at line 55 of file llviewerjointshape.h.
Referenced by drawShape(), getColor(), isTransparent(), LLViewerJointShape(), and setColor().
| LLPointer<LLViewerImage> LLViewerJointShape::mTexture  [protected] | 
Definition at line 56 of file llviewerjointshape.h.
Referenced by drawShape(), getTexture(), isTransparent(), LLViewerJointShape(), and setTexture().
| ShapeType LLViewerJointShape::mType  [protected] | 
Definition at line 54 of file llviewerjointshape.h.
Referenced by drawShape(), getType(), LLViewerJointShape(), and setType().
| F32 LLViewerJointShape::sColorScale = 1.0f  [static, protected] | 
Definition at line 58 of file llviewerjointshape.h.
Referenced by LLViewerJointShape(), setColor(), and setColorScale().
 1.4.7
 1.4.7