ScalarField Class Reference

Represents a possibly bounded 3D scalar field (function from R^3 -> R which may be non-zero only within a bounded domain -- its AABB or Axis-Aligned-Bounding-Box). More...

#include <ScalarField.h>

Inheritance diagram for ScalarField:

MetaObject Blob MetaBall

List of all members.

Public Member Functions

virtual AABB getAABB () const =0
virtual real_t evaluate (const Point3 &pt) const =0


Detailed Description

Represents a possibly bounded 3D scalar field (function from R^3 -> R which may be non-zero only within a bounded domain -- its AABB or Axis-Aligned-Bounding-Box).

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Spring 2008

Definition at line 19 of file ScalarField.h.


Member Function Documentation

virtual AABB ScalarField::getAABB (  )  const [pure virtual]

Returns:
the bounding box of influence which bounds the domain in which this ScalarField may have a non-zero value

Implemented in Blob, MetaBall, and MetaObject.

virtual real_t ScalarField::evaluate ( const Point3 pt  )  const [pure virtual]

Returns:
the value of this scalar field at the given point
Note:
If the given point is outside of the field's AABB, evaluate is assumed to return zero

Implemented in Blob, MetaBall, and MetaObject.


The documentation for this class was generated from the following file:

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6