28#ifndef _math_isosurf_volume_h
29#define _math_isosurf_volume_h
35#include <math/optimize/function.h>
36#include <math/scmat/matrix.h>
37#include <math/scmat/vector3.h>
46 double& interpolation_accuracy();
50 virtual void failure(
const char*);
66 virtual void boundingbox(
double valuemin,
70 virtual void interpolate(
const SCVector3& p1,
82#ifdef INLINE_FUNCTIONS
83#include <math/isosurf/volume_i.h>
The Function class is an abstract base class that, given a set of coordinates, will compute a value a...
Definition function.h:48
virtual double value()
Return the value of the function.
The RefSCVector class is a smart pointer to an SCVector specialization.
Definition matrix.h:55
A template class that maintains references counts.
Definition ref.h:332
A Volume is a Function of three variables.
Definition volume.h:42
virtual void compute()=0
Recompute at least the results that have compute true and are not already computed.
void set_x(const RefSCVector &x)
Set and retrieve the coordinate values.