Namespaces | Functions | Variables

density-map.cpp File Reference

#include "density-map.h"
#include <math.h>
#include "perf/perf.h"
Include dependency graph for density-map.cpp:

Go to the source code of this file.

Namespaces

namespace  glut

Functions

static void glut::setUpImage (int width, int height, media::image_t &img)

void glut::createSphericalDensityMap (int size,const img_color_t &color,media::image_t &image)
void glut::createCircularDensityMap (int size,const img_color_t &color,media::image_t &image)
 creates a density map where alpha is constant (specified by color)
void glut::createLineSegmentDensityMap (int width,const img_color_t &color,media::image_t &image)
 horizontal line segment running through the middle third of the image

Variables

static const int glut::s_maxRGBA = 255