#include <SoTubs.h>
|
SoChildList * | children |
| ChildList. Required whenever the class has hidden children. More...
|
|
Definition at line 72 of file SoTubs.h.
◆ SoTubs()
◆ ~SoTubs()
virtual SoTubs::~SoTubs |
( |
| ) |
|
|
protectedvirtual |
◆ clearAlternateRep()
virtual void SoTubs::clearAlternateRep |
( |
| ) |
|
|
virtual |
We better be able to clear it, too!
◆ computeBBox()
virtual void SoTubs::computeBBox |
( |
SoAction * |
action, |
|
|
SbBox3f & |
box, |
|
|
SbVec3f & |
center |
|
) |
| |
|
protectedvirtual |
compute bounding Box, required
◆ generateAlternateRep()
virtual void SoTubs::generateAlternateRep |
( |
| ) |
|
|
virtual |
Generate AlternateRep, required. Generating an alternate representation must be done upon users request. It allows an Inventor program to read back the file without requiring this code to be dynamically linked. If the users expects that this code will be dynamically linked, he need not invoke this method.
◆ generateChildren()
void SoTubs::generateChildren |
( |
| ) |
|
|
private |
Generate Children. Used to create the hidden children. Required whenever the node has hidden children.
◆ generatePrimitives()
virtual void SoTubs::generatePrimitives |
( |
SoAction * |
action | ) |
|
|
protectedvirtual |
Generate Primitives, required.
◆ getChildren()
virtual SoChildList* SoTubs::getChildren |
( |
| ) |
const |
|
protectedvirtual |
GetChildList, required whenever the class has hidden children.
◆ inc()
void SoTubs::inc |
( |
double & |
sinPhi, |
|
|
double & |
cosPhi, |
|
|
double |
sinDeltaPhi, |
|
|
double |
cosDeltaPhi |
|
) |
| const |
|
inlineprivate |
help with trigonometry. increments sines an cosines by an angle.
Definition at line 174 of file SoTubs.h.
175 double oldSin=sinPhi,oldCos=cosPhi;
176 sinPhi = oldSin*cosDeltaPhi+oldCos*sinDeltaPhi;
177 cosPhi = oldCos*cosDeltaPhi-oldSin*sinDeltaPhi;
◆ initClass()
static void SoTubs::initClass |
( |
| ) |
|
|
static |
Class Initializer, required.
◆ SO_NODE_HEADER()
SoTubs::SO_NODE_HEADER |
( |
SoTubs |
| ) |
|
|
private |
◆ updateChildren()
void SoTubs::updateChildren |
( |
| ) |
|
|
private |
Used to modify hidden children when a data field is changed. Required whenever the class has hidden children.
◆ alternateRep
SoSFNode SoTubs::alternateRep |
Alternate rep - required.
Definition at line 102 of file SoTubs.h.
◆ children
SoChildList* SoTubs::children |
|
private |
ChildList. Required whenever the class has hidden children.
Definition at line 169 of file SoTubs.h.
◆ pDPhi
Delta-angle, in radians.
Definition at line 98 of file SoTubs.h.
◆ pDz
Half-length in Z.
Definition at line 90 of file SoTubs.h.
◆ pRMax
Outside radius of the tube.
Definition at line 86 of file SoTubs.h.
◆ pRMin
Inside radius of the tube.
Definition at line 82 of file SoTubs.h.
◆ pSPhi
Starting angle, in radians.
Definition at line 94 of file SoTubs.h.
The documentation for this class was generated from the following file: