Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Coinboard.cpp File Reference
#include <config.h>
#include <cstdlib>
#include <cassert>
#include "Coinboard.h"
#include <Inventor/misc/SoState.h>
#include <Inventor/actions/SoGetMatrixAction.h>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/actions/SoRayPickAction.h>
#include <Inventor/elements/SoModelMatrixElement.h>
#include <Inventor/elements/SoViewVolumeElement.h>
#include <Inventor/elements/SoGLTextureEnabledElement.h>
#include <Inventor/elements/SoLightModelElement.h>
#include <Inventor/elements/SoViewingMatrixElement.h>
#include <Inventor/SbLinear.h>
#include <Inventor/bundles/SoMaterialBundle.h>
#include <Inventor/SoPrimitiveVertex.h>
#include <Inventor/details/SoPointDetail.h>
#include <Inventor/details/SoFaceDetail.h>
#include <GL/gl.h>

Macros

#define SbMin(a, b)   (((a) < (b)) ? (a) : (b))
 
#define SbMax(a, b)   (((a) > (b)) ? (a) : (b))
 
#define SbClamp(val, min, max)   (SbMax(SbMin(val, max), min))
 
#define SbAbs(a)   (((a) < 0) ? (-(a)) : (a))
 

Functions

 SO_NODE_SOURCE (Coinboard)
 

Macro Definition Documentation

◆ SbAbs

#define SbAbs (   a)    (((a) < 0) ? (-(a)) : (a))

◆ SbClamp

#define SbClamp (   val,
  min,
  max 
)    (SbMax(SbMin(val, max), min))

◆ SbMax

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

◆ SbMin

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

Function Documentation

◆ SO_NODE_SOURCE()

SO_NODE_SOURCE ( Coinboard  )