#include "HEPVis/nodes/SoTrap.h"
#include <assert.h>
#include <cmath>
#include <Inventor/SbBox.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/actions/SoAction.h>
#include <Inventor/fields/SoSFFloat.h>
#include <Inventor/misc/SoChildList.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoIndexedFaceSet.h>
#include <Inventor/nodes/SoNormal.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoNormalBinding.h>
#include <Inventor/SoPrimitiveVertex.h>
#include <Inventor/elements/SoTextureCoordinateElement.h>
#include "HEPVis/SbMath.h"
Go to the source code of this file.
◆ 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[1]=t; \
} \
pv.setPoint(point); \
pv.setTextureCoords(texCoord); \
shapeVertex(&pv);
static constexpr double s
static double normal(HepRandomEngine *eptr)