#include <SoTrap.h>
|
static void | initClass () |
| Class Initializer, required.
|
|
|
SoSFFloat | pDz |
| half-length along Z
|
|
SoSFFloat | pTheta |
| Polar angle of the line joining the centres of the faces at -/+pDz.
|
|
SoSFFloat | pPhi |
|
SoSFFloat | pDy1 |
| Half-length along y of the face at -pDz.
|
|
SoSFFloat | pDx1 |
| Half-length along x of the side at y=-pDy1 of the face at -pDz.
|
|
SoSFFloat | pDx2 |
| Half-length along x of the side at y=+pDy1 of the face at -pDz.
|
|
SoSFFloat | pDy2 |
| Half-length along y of the face at +pDz.
|
|
SoSFFloat | pDx3 |
| Half-length along x of the side at y=-pDy2 of the face at +pDz.
|
|
SoSFFloat | pDx4 |
| Half-length along x of the side at y=+pDy2 of the face at +pDz.
|
|
SoSFFloat | pAlp1 |
|
SoSFFloat | pAlp2 |
|
SoSFNode | alternateRep |
| Alternate rep - required.
|
|
|
virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
| compute bounding Box, required
|
|
virtual void | generatePrimitives (SoAction *action) |
| Generate Primitives, required.
|
|
virtual SoChildList * | getChildren () const |
| GetChildList, required whenever the class has hidden children.
|
|
virtual | ~SoTrap () |
| Destructor, required.
|
|
Definition at line 82 of file SoTrap.h.
◆ SoTrap()
◆ ~SoTrap()
virtual SoTrap::~SoTrap |
( |
| ) |
|
|
protectedvirtual |
◆ clearAlternateRep()
virtual void SoTrap::clearAlternateRep |
( |
| ) |
|
|
virtual |
We better be able to clear it, too!
◆ computeBBox()
virtual void SoTrap::computeBBox |
( |
SoAction * |
action, |
|
|
SbBox3f & |
box, |
|
|
SbVec3f & |
center |
|
) |
| |
|
protectedvirtual |
compute bounding Box, required
◆ generateAlternateRep()
virtual void SoTrap::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.
◆ generatePrimitives()
virtual void SoTrap::generatePrimitives |
( |
SoAction * |
action | ) |
|
|
protectedvirtual |
Generate Primitives, required.
◆ getChildren()
virtual SoChildList * SoTrap::getChildren |
( |
| ) |
const |
|
protectedvirtual |
GetChildList, required whenever the class has hidden children.
◆ initClass()
static void SoTrap::initClass |
( |
| ) |
|
|
static |
Class Initializer, required.
◆ alternateRep
SoSFNode SoTrap::alternateRep |
Alternate rep - required.
Definition at line 146 of file SoTrap.h.
◆ pAlp1
Angle with respect to the y axis from the centre of the side at y=-pDy1 to the centre at y=+pDy1 of the face at -pDz
Definition at line 136 of file SoTrap.h.
◆ pAlp2
Angle with respect to the y axis from the centre of the side at y=-pDy2 to the centre at y=+pDy2 of the face at +pDz
Definition at line 141 of file SoTrap.h.
◆ pDx1
Half-length along x of the side at y=-pDy1 of the face at -pDz.
Definition at line 115 of file SoTrap.h.
◆ pDx2
Half-length along x of the side at y=+pDy1 of the face at -pDz.
Definition at line 119 of file SoTrap.h.
◆ pDx3
Half-length along x of the side at y=-pDy2 of the face at +pDz.
Definition at line 127 of file SoTrap.h.
◆ pDx4
Half-length along x of the side at y=+pDy2 of the face at +pDz.
Definition at line 131 of file SoTrap.h.
◆ pDy1
Half-length along y of the face at -pDz.
Definition at line 111 of file SoTrap.h.
◆ pDy2
Half-length along y of the face at +pDz.
Definition at line 123 of file SoTrap.h.
◆ pDz
half-length along Z
Definition at line 98 of file SoTrap.h.
◆ pPhi
Azimuthal angle of the line joing the centre of the face at -pDz to the centre of the face at +pDz
Definition at line 107 of file SoTrap.h.
◆ pTheta
Polar angle of the line joining the centres of the faces at -/+pDz.
Definition at line 102 of file SoTrap.h.
The documentation for this class was generated from the following file: