|
HyperspaceExplorer 0.7.1
|
A hypersphere. More...
#include <RealFunctionImplementations.h>


Classes | |
| class | DefiningFunction |
| ParametricFunction that defines Hypersphere. More... | |
Public Member Functions | |
| Hypersphere (double _tmin, double _tmax, double _dt, double _umin, double _umax, double _du, double _vmin, double _vmax, double _dv, double _rad=1) | |
Hypersphere c'tor given a definition set in (as parameter space) and a radius. | |
| virtual void | SetParameters (const ParameterMap &) |
| Set parameters to the Displayable. | |
| virtual std::string | getFunctionName () const |
Protected Attributes | |
| virtual function_type | normal |
| Calculate normal to function at a given point in definition set. | |
| double | _radius |
| Radius of the hypersphere. | |
A hypersphere.
Defining function is
| Hypersphere::Hypersphere | ( | double | tmin, |
| double | tmax, | ||
| double | dt, | ||
| double | umin, | ||
| double | umax, | ||
| double | du, | ||
| double | vmin, | ||
| double | vmax, | ||
| double | dv, | ||
| double | rad = 1 |
||
| ) |
Hypersphere c'tor given a definition set in
(as parameter space) and a radius.
| 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 |
| rad | radius |
References RealFunction::_function, Displayable::declareParameter(), and RealFunction::Initialize().

| virtual std::string Hypersphere::getFunctionName | ( | ) | const [inline, virtual] |
Reimplemented from RealFunction.
| void Hypersphere::SetParameters | ( | const ParameterMap & | ) | [virtual] |
Set parameters to the Displayable.
Reimplemented from Displayable.
References _radius, std::map< _Key, _Tp, _Compare, _Alloc >::begin(), std::map< _Key, _Tp, _Compare, _Alloc >::end(), and Displayable::setParameter().

Vector< 4 > & Hypersphere::normal [protected] |
Calculate normal to function at a given point in definition set.
Overridden because it's much easier to calculate in a Hypersphere than in a generic function
| tt | t value |
| uu | u value |
| vv | v value |
1.7.4
-
Hosted by