ATLAS Offline Software
Macros
SoPcons.cxx File Reference
#include <VP1HEPVis/nodes/SoPcons.h>
#include "RevolutionSurfaceUtil.h"
#include <cassert>
#include <cmath>
#include <Inventor/SbBox.h>
#include <Inventor/actions/SoAction.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 <Inventor/elements/SoGLCacheContextElement.h>
#include <Inventor/C/glue/gl.h>
#include <vector>

Go to the source code of this file.

Macros

#define GEN_VERTEX(pv, x, y, z, s, t, nx, ny, nz)
 
#define N_GEN_VERTEX(ls, pv, x, y, z, s, t, nx, ny, nz)
 

Macro Definition Documentation

◆ GEN_VERTEX

#define GEN_VERTEX (   pv,
  x,
  y,
  z,
  s,
  t,
  nx,
  ny,
  nz 
)
Value:
point.setValue((float)(x),(float)(y),(float)(z)); \
normal.setValue((float)(nx),(float)(ny),(float)(nz)); \
if (useTexFunction) { \
texCoord=tce->get(point,normal); \
} else { \
texCoord[0]=(float)(s); \
texCoord[1]=(float)(t); \
} \
pv.setPoint(point); \
pv.setNormal(normal); \
pv.setTextureCoords(texCoord); \
shapeVertex(&pv);

◆ N_GEN_VERTEX

#define N_GEN_VERTEX (   ls,
  pv,
  x,
  y,
  z,
  s,
  t,
  nx,
  ny,
  nz 
)
Value:
point.setValue((float)(x),(float)(y),(float)(z)); \
normal.setValue((float)(nx),(float)(ny),(float)(nz)); \
texCoord[0]=(float)(s); \
texCoord[1]=(float)(t); \
pv.setPoint(point); \
pv.setNormal(normal); \
pv.setTextureCoords(texCoord); \
ls.push_back(pv);
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
x
#define x
z
#define z
y
#define y
python.changerun.pv
pv
Definition: changerun.py:81
readCCLHist.float
float
Definition: readCCLHist.py:83