Public Member Functions | |
| SoBeachBall () | |
Static Public Member Functions | |
| static void | initClass () |
Public Attributes | |
| SoMFInt32 | materialindex |
Protected Member Functions | |
| virtual void | GLRender (SoGLRenderAction *action) |
| virtual void | generatePrimitives (SoAction *action) |
| virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
| virtual void | rayPick (SoRayPickAction *) |
| virtual | ~SoBeachBall () |
| void | getTriangleInfo (SoState *state, SbList< int > **ptrilist1, SbList< int > **ptrilist2, SbList< SbVec3f > **pnormalslist1, SbList< SbVec3f > **pnormalslist2) |
| void | computeResolution (SoState *state) |
Static Protected Member Functions | |
| static void | initTriangles (int numlevels) |
| static void | initVertices (int numlevels) |
| static void | tessellate (int ilevel, int endindex, SbList< int > &prevlvledges, SbList< int > &currlvledges, SbList< int > &prevlvlfaces1, SbList< int > &prevlvlfaces2, SbList< int > &currlvlfaces1, SbList< int > &currlvlfaces2) |
| static void | processFaces (SbList< int > &prevlvledges, SbList< int > &currlvledges, SbList< int > &prevlvlfaces, SbList< int > &currlvlfaces, int startnewv, int endnewv) |
| static int | findNewVertex (SbList< int > &edges, int startnewv, int endnewv, int v1, int v2) |
| static int | checkEdge (SbList< int > &edges, int v1, int v2, int index) |
| static void | addFace (SbList< int > &faces, int p, int q, int r) |
| static void | calculateNormals (int numlevels) |
| static void | calculateNormals (SbList< int > *ptrilist, SbList< SbVec3f > *pnormalslist) |
| static void | clearData () |
| static void | renderTriangles (SbList< int > *ptrilist, SbList< SbVec3f > *pnormalslist, SbBool sendnormals) |
| static SbBool | testNumColors (SoState *state) |
| static void | tryAddIntersection (SoRayPickAction *action, const SbVec3f &pt) |
| static void | printDebugInfo () |
| static void | printTriangles (SbList< int > &triList, SbList< SbVec3f > &normalsList) |
Protected Attributes | |
| char | currlod_ |
Static Protected Attributes | |
| static SbList< SbVec3f > | res2coords_ |
| static SbList< LODInfo > | lodinfo_ |
| static SbBool | haserror_ |
Private Types | |
| typedef SoShape | inherited |
Private Member Functions | |
| SO_NODE_HEADER (SoBeachBall) | |
typedef SoShape SoBeachBall::inherited [private] |
| SoBeachBall::SoBeachBall | ( | ) |
| virtual SoBeachBall::~SoBeachBall | ( | ) | [protected, virtual] |
| static void SoBeachBall::addFace | ( | SbList< int > & | faces, | |
| int | p, | |||
| int | q, | |||
| int | r | |||
| ) | [static, protected] |
| static void SoBeachBall::calculateNormals | ( | int | numlevels | ) | [static, protected] |
| static void SoBeachBall::calculateNormals | ( | SbList< int > * | ptrilist, | |
| SbList< SbVec3f > * | pnormalslist | |||
| ) | [static, protected] |
| static int SoBeachBall::checkEdge | ( | SbList< int > & | edges, | |
| int | v1, | |||
| int | v2, | |||
| int | index | |||
| ) | [static, protected] |
| static void SoBeachBall::clearData | ( | ) | [static, protected] |
| virtual void SoBeachBall::computeBBox | ( | SoAction * | action, | |
| SbBox3f & | box, | |||
| SbVec3f & | center | |||
| ) | [protected, virtual] |
| void SoBeachBall::computeResolution | ( | SoState * | state | ) | [protected] |
| static int SoBeachBall::findNewVertex | ( | SbList< int > & | edges, | |
| int | startnewv, | |||
| int | endnewv, | |||
| int | v1, | |||
| int | v2 | |||
| ) | [static, protected] |
| virtual void SoBeachBall::generatePrimitives | ( | SoAction * | action | ) | [protected, virtual] |
| void SoBeachBall::getTriangleInfo | ( | SoState * | state, | |
| SbList< int > ** | ptrilist1, | |||
| SbList< int > ** | ptrilist2, | |||
| SbList< SbVec3f > ** | pnormalslist1, | |||
| SbList< SbVec3f > ** | pnormalslist2 | |||
| ) | [protected] |
| virtual void SoBeachBall::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
| static void SoBeachBall::initClass | ( | ) | [static] |
| static void SoBeachBall::initTriangles | ( | int | numlevels | ) | [static, protected] |
| static void SoBeachBall::initVertices | ( | int | numlevels | ) | [static, protected] |
| static void SoBeachBall::printDebugInfo | ( | ) | [static, protected] |
| static void SoBeachBall::printTriangles | ( | SbList< int > & | triList, | |
| SbList< SbVec3f > & | normalsList | |||
| ) | [static, protected] |
| static void SoBeachBall::processFaces | ( | SbList< int > & | prevlvledges, | |
| SbList< int > & | currlvledges, | |||
| SbList< int > & | prevlvlfaces, | |||
| SbList< int > & | currlvlfaces, | |||
| int | startnewv, | |||
| int | endnewv | |||
| ) | [static, protected] |
| virtual void SoBeachBall::rayPick | ( | SoRayPickAction * | ) | [protected, virtual] |
| static void SoBeachBall::renderTriangles | ( | SbList< int > * | ptrilist, | |
| SbList< SbVec3f > * | pnormalslist, | |||
| SbBool | sendnormals | |||
| ) | [static, protected] |
| SoBeachBall::SO_NODE_HEADER | ( | SoBeachBall | ) | [private] |
| static void SoBeachBall::tessellate | ( | int | ilevel, | |
| int | endindex, | |||
| SbList< int > & | prevlvledges, | |||
| SbList< int > & | currlvledges, | |||
| SbList< int > & | prevlvlfaces1, | |||
| SbList< int > & | prevlvlfaces2, | |||
| SbList< int > & | currlvlfaces1, | |||
| SbList< int > & | currlvlfaces2 | |||
| ) | [static, protected] |
| static SbBool SoBeachBall::testNumColors | ( | SoState * | state | ) | [static, protected] |
| static void SoBeachBall::tryAddIntersection | ( | SoRayPickAction * | action, | |
| const SbVec3f & | pt | |||
| ) | [static, protected] |
char SoBeachBall::currlod_ [protected] |
SbBool SoBeachBall::haserror_ [static, protected] |
SbList<LODInfo> SoBeachBall::lodinfo_ [static, protected] |
| SoMFInt32 SoBeachBall::materialindex |
SbList<SbVec3f> SoBeachBall::res2coords_ [static, protected] |
1.7.1