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 (IN int width, IN int height, OUT media::image_t &img)

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

Variables

static const int glut::s_maxRGBA = 255