Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SoBox Class Reference

#include <SoBox.h>

+ Inheritance diagram for SoBox:

Public Member Functions

 SoBox ()
 Constructor, required.
 
virtual void generateAlternateRep ()
 
virtual void clearAlternateRep ()
 We better be able to clear it, too!
 

Static Public Member Functions

static void initClass ()
 Class Initializer, required.
 

Public Attributes

SoSFFloat fDx
 Half-length along X.
 
SoSFFloat fDy
 Half-length along Y.
 
SoSFFloat fDz
 Half-length along Z.
 
SoSFNode alternateRep
 Alternate rep - for use by users without HEPVis shared objects.
 

Protected Member Functions

virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 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 ~SoBox ()
 Destructor, required.
 

Detailed Description

Definition at line 64 of file SoBox.h.

Constructor & Destructor Documentation

◆ SoBox()

SoBox::SoBox ( )

Constructor, required.

◆ ~SoBox()

virtual SoBox::~SoBox ( )
protectedvirtual

Destructor, required.

Member Function Documentation

◆ clearAlternateRep()

virtual void SoBox::clearAlternateRep ( )
virtual

We better be able to clear it, too!

◆ computeBBox()

virtual void SoBox::computeBBox ( SoAction *  action,
SbBox3f &  box,
SbVec3f &  center 
)
protectedvirtual

compute bounding Box, required

◆ generateAlternateRep()

virtual void SoBox::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 SoBox::generatePrimitives ( SoAction *  action)
protectedvirtual

Generate Primitives, required.

◆ getChildren()

virtual SoChildList * SoBox::getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

◆ initClass()

static void SoBox::initClass ( )
static

Class Initializer, required.

Member Data Documentation

◆ alternateRep

SoSFNode SoBox::alternateRep

Alternate rep - for use by users without HEPVis shared objects.

Definition at line 86 of file SoBox.h.

◆ fDx

SoSFFloat SoBox::fDx

Half-length along X.

Definition at line 74 of file SoBox.h.

◆ fDy

SoSFFloat SoBox::fDy

Half-length along Y.

Definition at line 78 of file SoBox.h.

◆ fDz

SoSFFloat SoBox::fDz

Half-length along Z.

Definition at line 82 of file SoBox.h.


The documentation for this class was generated from the following file: