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
LegendKit.cpp File Reference
#include "LegendKit.h"
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <Inventor/nodekits/SoNodeKitListPart.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoImage.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoTexture2.h>
#include <Inventor/nodes/SoLightModel.h>
#include <Inventor/nodes/SoTranslation.h>
#include <Inventor/nodes/SoShapeHints.h>
#include <Inventor/nodes/SoPickStyle.h>
#include <Inventor/nodes/SoResetTransform.h>
#include <Inventor/nodekits/SoAppearanceKit.h>
#include <Inventor/nodes/SoComplexity.h>
#include <Inventor/nodes/SoCallback.h>
#include <Inventor/nodes/SoTransform.h>
#include <Inventor/nodes/SoFaceSet.h>
#include <Inventor/nodes/SoIndexedFaceSet.h>
#include <Inventor/bundles/SoMaterialBundle.h>
#include <Inventor/elements/SoViewportRegionElement.h>
#include <Inventor/elements/SoGLCacheContextElement.h>
#include <Inventor/elements/SoCacheElement.h>
#include <Inventor/elements/SoDrawStyleElement.h>
#include <Inventor/elements/SoComplexityTypeElement.h>
#include <Inventor/elements/SoComplexityElement.h>
#include "SbList.h"
#include <SmallChange/nodes/SmDepthBuffer.h>
#include <SmallChange/nodes/ViewportRegion.h>
#include <cstring>
#include <cfloat>
#include "bitmapfont.cpp"
#include <GL/gl.h>

Macros

#define COIN_DLL_API
 
#define FONT_HEIGHT   12
 
#define FONT_SPACE   4
 
#define FONT_WIDTH   8
 
#define PRIVATE(p)   ((p)->pimpl)
 

Functions

 SO_KIT_SOURCE (LegendKit)
 
static int cnt_bits (int val, int *highbit)
 
static int next_power_of_two (int val)
 

Macro Definition Documentation

◆ COIN_DLL_API

#define COIN_DLL_API

◆ FONT_HEIGHT

#define FONT_HEIGHT   12

◆ FONT_SPACE

#define FONT_SPACE   4

◆ FONT_WIDTH

#define FONT_WIDTH   8

◆ PRIVATE

#define PRIVATE (   p)    ((p)->pimpl)

Function Documentation

◆ cnt_bits()

static int cnt_bits ( int  val,
int *  highbit 
)
static

◆ next_power_of_two()

static int next_power_of_two ( int  val)
static

◆ SO_KIT_SOURCE()

SO_KIT_SOURCE ( LegendKit  )