MetaBall.cpp File Reference

A MetaObject exerts a positive or negative 'charge' in a scalar field, whose isocontours (level sets) define blobby surfaces with different threshold values corresponding to the contour level. MetaObjects positively or negatively affect their neighboring MetaObjects depending on their 'strength' and 'negative' attributes. A MetaBall exerts a non-zero charge (aka influence) over a spherical region emanating from a single point, 'position', out to a maximum distance of 'radius'. More...

#include "MetaBall.h"

Go to the source code of this file.

Defines

#define MAX_UNIT_DISTANCE   (create_real(0.707))
#define MAX_UNIT_DISTANCE_SQUARED   (create_real(0.5))


Detailed Description

A MetaObject exerts a positive or negative 'charge' in a scalar field, whose isocontours (level sets) define blobby surfaces with different threshold values corresponding to the contour level. MetaObjects positively or negatively affect their neighboring MetaObjects depending on their 'strength' and 'negative' attributes. A MetaBall exerts a non-zero charge (aka influence) over a spherical region emanating from a single point, 'position', out to a maximum distance of 'radius'.

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Spring 2008
Parameters:
position - center of sphere defining region of influence
radius - maximum extent of influence
See also:
also Blob

also MetaObject

Definition in file MetaBall.cpp.


Define Documentation

#define MAX_UNIT_DISTANCE   (create_real(0.707))

Definition at line 28 of file MetaBall.cpp.

#define MAX_UNIT_DISTANCE_SQUARED   (create_real(0.5))

Definition at line 29 of file MetaBall.cpp.


Generated on 28 Feb 2009 for Milton by doxygen 1.5.6