Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoAlgebraicCylinder.h
1#ifndef SO_ALGEBRAIC_CYLINDER_H
2#define SO_ALGEBRAIC_CYLINDER_H
3
4#include <Inventor/nodes/SoAlgebraicShape.h>
5#include <Inventor/fields/SoSFFloat.h>
6#include <Inventor/fields/SoSFBool.h>
7
45{
46 SO_NODE_HEADER(SoAlgebraicCylinder);
47
48public:
49
54
59
64
69
70private:
71
75 virtual ~SoAlgebraicCylinder () {}
76
82 virtual void computeBBox ( SbBox3f &box, SbVec3f &center );
83
84private:
85
89 virtual void rayPick ( SoRayPickAction *action );
90
94 virtual SoNode* getAlternateRep ( SoAction* action );
95
96private:
97
99
102 static void initClass ();
103 static void exitClass ();
105};
106
107#endif // SO_ALGEBRAIC_CYLINDER_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> Algebraic cylind...
SoSFBool capped
Specifies if cylinder is capped or not.
SoSFFloat radius
Specifies the cylinder's radius.
SoSFFloat height
Specifies the cylinder's height.
SoAlgebraicCylinder()
Default constructor.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Abstract base class for all database nodes.
Definition SoNode.h:145
Intersects objects with a ray cast into scene.
Field containing a single Boolean value.
Definition SoSFBool.h:79
Field containing a floating-point value.
Definition SoSFFloat.h:78