Geant4-11
Macros | Typedefs
SoPolyhedron.cc File Reference
#include "Geant4_SoPolyhedron.h"
#include <Inventor/SbBox.h>
#include <Inventor/actions/SoAction.h>
#include <Inventor/SoPrimitiveVertex.h>
#include <Inventor/elements/SoTextureCoordinateElement.h>
#include <Inventor/nodes/SoSeparator.h>
#include <HEPVis/actions/SoAlternateRepAction.h>
#include "G4Polyhedron.hh"
#include <Inventor/nodes/SoNormalBinding.h>
#include <Inventor/nodes/SoNormal.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoIndexedFaceSet.h>
#include <Inventor/nodes/SoIndexedLineSet.h>

Go to the source code of this file.

Macros

#define GEN_VERTEX(pv, x, y, z, s, t, nx, ny, nz)
 
#define SbMaximum(a, b)   ((a)>(b)?a:b)
 
#define SbMinimum(a, b)   ((a)<(b)?a:b)
 

Typedefs

typedef HepGeom::Normal3D< double > HVNormal3D
 
typedef HepGeom::Point3D< double > HVPoint3D
 

Macro Definition Documentation

◆ GEN_VERTEX

#define GEN_VERTEX (   pv,
  x,
  y,
  z,
  s,
  t,
  nx,
  ny,
  nz 
)
Value:
point.setValue(x,y,z); \
normal.setValue(nx,ny,nz); \
if (useTexFunction) { \
texCoord=tce->get(point,normal); \
} else { \
texCoord[0]=s; \
texCoord[1]=t; \
} \
pv.setPoint(point); \
pv.setNormal(normal); \
pv.setTextureCoords(texCoord); \
shapeVertex(&pv);
static constexpr double s
Definition: G4SIunits.hh:154
static double normal(HepRandomEngine *eptr)
Definition: RandPoisson.cc:79

◆ SbMaximum

#define SbMaximum (   a,
 
)    ((a)>(b)?a:b)

Definition at line 45 of file SoPolyhedron.cc.

◆ SbMinimum

#define SbMinimum (   a,
 
)    ((a)<(b)?a:b)

Definition at line 44 of file SoPolyhedron.cc.

Typedef Documentation

◆ HVNormal3D

typedef HepGeom::Normal3D<double> HVNormal3D

Definition at line 55 of file SoPolyhedron.cc.

◆ HVPoint3D

typedef HepGeom::Point3D<double> HVPoint3D

Definition at line 54 of file SoPolyhedron.cc.