1 #ifndef COIN_SMHQSPHERE_H 2 #define COIN_SMHQSPHERE_H 36 #include <Inventor/nodes/SoSubNode.h> 37 #include <Inventor/nodes/SoShape.h> 38 #include <Inventor/fields/SoSFFloat.h> 39 #include <Inventor/fields/SoSFInt32.h> 40 #include <Inventor/SbLinear.h> 41 #include <SmallChange/basic.h> 74 this->orgobject = NULL;
78 delete this->orgobject;
99 memcpy(this->poly, poly, npoly*
sizeof(
triangle));
121 #endif // COIN_SMHQSPHERE_H Definition: SmHQSphere.h:93
triangle(void)
Definition: SmHQSphere.h:83
HQSphereGenerator(void)
Definition: SmHQSphere.h:73
#define SO_NODE_HEADER(classname)
virtual void GLRender(SoGLRenderAction *action)
Definition: SmHQSphere.h:71
object(int npoly, const triangle *poly)
Definition: SmHQSphere.h:95
~object()
Definition: SmHQSphere.h:102
triangle * poly
Definition: SmHQSphere.h:107
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
SoSFInt32 level
Definition: SmHQSphere.h:56
static void initClass(void)
virtual void generatePrimitives(SoAction *action)=0
Definition: SmHQSphere.h:46
triangle(const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2)
Definition: SmHQSphere.h:84
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
~HQSphereGenerator(void)
Definition: SmHQSphere.h:77
int npoly
Definition: SmHQSphere.h:106
SoSFFloat radius
Definition: SmHQSphere.h:55
Definition: SmHQSphere.h:81
virtual void rayPick(SoRayPickAction *action)