HyperspaceExplorer 0.7.1
Classes | Public Member Functions | Protected Attributes
Torus2 Class Reference

A toraspherinder More...

#include <RealFunctionImplementations.h>

Inheritance diagram for Torus2:
Inheritance graph
[legend]
Collaboration diagram for Torus2:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A toraspherinder

A four-dimensional torus where a sphere circles about a center point in a direction perpendicular to all directions making up the sphere


Constructor & Destructor Documentation

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 $ R^3 $ (as parameter space) and two radii - a major and a minor (defining a sphere)

Parameters:
tminminimal value in t
tmaxmaximal value in t
dtstepsize in t
uminminimal value in u
umaxmaximal value in u
dustepsize in u
vminminimal value in v
vmaxmaximal value in v
dvstepsize in v
Rmajor radius
rminor radius

References RealFunction::_function, Displayable::declareParameter(), and RealFunction::Initialize().

Here is the call graph for this function:


Member Function Documentation

virtual std::string Torus2::getFunctionName ( ) const [inline, virtual]
Returns:
The name of the function in cleartext

Reimplemented from RealFunction.

virtual void Torus2::SetParameters ( const ParameterMap ) [inline, virtual]

Set parameters to the Displayable.

Todo:
This function is only there to provide an interface, and it's not abstract so that Displayable s which don't have Parameters don't need to reimplement an unneeded method. But the present implementation does not make sense.

Reimplemented from Displayable.

References _r, _R, std::map< _Key, _Tp, _Compare, _Alloc >::begin(), std::map< _Key, _Tp, _Compare, _Alloc >::end(), and Displayable::setParameter().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:18 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo