Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoAlgebraicSphere.h
1#ifndef SO_ALGEBRAIC_SPHERE_H
2#define SO_ALGEBRAIC_SPHERE_H
3
4#include <Inventor/nodes/SoAlgebraicShape.h>
5#include <Inventor/fields/SoSFFloat.h>
6
7
41{
42 SO_NODE_HEADER(SoAlgebraicSphere);
43
44public:
45
50
55
56private:
57
61 virtual ~SoAlgebraicSphere () {}
62
68 virtual void computeBBox ( SbBox3f &box, SbVec3f &center );
69
70private:
71
75 virtual void rayPick ( SoRayPickAction *action );
76
80 virtual SoNode* getAlternateRep ( SoAction* action );
81
82private:
83
85
88 static void initClass ();
89 static void exitClass ();
91
92};
93
94#endif // SO_ALGEBRAIC_SPHERE_H
3D box class.
Definition SbBox.h:649
3D vector class.
Definition SbVec.h:932
Abstract base class for all actions.
Definition SoAction.h:132
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Algebraic sphere...
SoSFFloat radius
Radius of sphere.
SoAlgebraicSphere()
Default constructor.
Abstract base class for all database nodes.
Definition SoNode.h:145
Intersects objects with a ray cast into scene.
Field containing a floating-point value.
Definition SoSFFloat.h:78