HyperspaceExplorer 0.7.1
|
#include <RealFunctionImplementations.h>
Classes | |
class | DefiningFunction |
ParametricFunction that defines Torus2. More... | |
Public Member Functions | |
Torus2 (double tmin, double tmax, double dt, double umin, double umax, double du, double vmin, double vmax, double dv, double R=1, double r=0.5) | |
virtual std::string | getFunctionName () const |
virtual void | SetParameters (const ParameterMap &parms) |
Set parameters to the Displayable. | |
Protected Attributes | |
double | _R |
major radius of the torus | |
double | _r |
minor radius of the torus |
A four-dimensional torus where a sphere circles about a center point in a direction perpendicular to all directions making up the sphere
Torus2::Torus2 | ( | double | tmin, |
double | tmax, | ||
double | dt, | ||
double | umin, | ||
double | umax, | ||
double | du, | ||
double | vmin, | ||
double | vmax, | ||
double | dv, | ||
double | R = 1 , |
||
double | r = 0.5 |
||
) |
Torus2 c'tor given a definition set in (as parameter space) and two radii - a major and a minor (defining a sphere)
tmin | minimal value in t |
tmax | maximal value in t |
dt | stepsize in t |
umin | minimal value in u |
umax | maximal value in u |
du | stepsize in u |
vmin | minimal value in v |
vmax | maximal value in v |
dv | stepsize in v |
R | major radius |
r | minor radius |
References RealFunction::_function, Displayable::declareParameter(), and RealFunction::Initialize().
virtual std::string Torus2::getFunctionName | ( | ) | const [inline, virtual] |
Reimplemented from RealFunction.
virtual void Torus2::SetParameters | ( | const ParameterMap & | ) | [inline, virtual] |
Set parameters to the Displayable.
Reimplemented from Displayable.
References _r, _R, std::map< _Key, _Tp, _Compare, _Alloc >::begin(), std::map< _Key, _Tp, _Compare, _Alloc >::end(), and Displayable::setParameter().