#include "Iguana/Inventor/interface/IgSoFieldPlaneMap.h"
#include <Inventor/SbLinear.h>
#include <Inventor/SoPrimitiveVertex.h>
#include <Inventor/misc/SoState.h>
#include <Inventor/elements/SoGLLazyElement.h>
#include <Inventor/elements/SoShapeHintsElement.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/actions/SoCallbackAction.h>
#include <Inventor/actions/SoPickAction.h>
#include <Inventor/details/SoFaceDetail.h>
#include <Inventor/details/SoPointDetail.h>
#include <GL/gl.h>
Go to the source code of this file.
Defines | |
#define | DO_MATERIAL(i) |
Functions | |
SO_NODE_SOURCE (IgSoFieldPlaneMap) |
#define DO_MATERIAL | ( | i | ) |
Value:
if (colours [i] != prevcolour) \ { \ float mat [4] = { ((colours [i] >> 24) & 0xff) * 1.0/255, \ ((colours [i] >> 16) & 0xff) * 1.0/255, \ ((colours [i] >> 8 ) & 0xff) * 1.0/255, \ ((colours [i] ) & 0xff) * 1.0/255 }; \ glColor4fv (mat); \ prevcolour = colours [i]; \ }
Definition at line 24 of file IgSoFieldPlaneMap.cc.
Referenced by IgSoFieldPlaneMap::GLRender().
SO_NODE_SOURCE | ( | IgSoFieldPlaneMap | ) |