HyperspaceExplorer 0.7.1
|
#include <FunctionHolder.h>
Classes | |
class | Impl |
Public Types | |
typedef ParametricFunction< N, P, NUM > | function_type |
The type of the function that is evaluated on every vertex of the grid. | |
typedef VecMath::Vector< N, NUM > | vertex_type |
A vertex in N - space. | |
typedef VecMath::Vector< 3, NUM > | projected_vertex_type |
A vertex projected into three dimensions. | |
Public Member Functions | |
FunctionHolder (ParameterMap parameters) | |
FunctionHolder (std::shared_ptr< function_type > f) | |
FunctionHolder (std::shared_ptr< function_type > f, DefinitionRangeOfDimension< P > boundaries) | |
virtual void | Draw (UI::View *) |
Draw the Displayable object. | |
void | setDefinitionRange (double tmin, double tmax, double dt, double umin, double umax, double du, double vmin, double vmax, double dv) |
virtual unsigned | getNumParameters () |
Protected Member Functions | |
virtual void | Initialize (void) |
This abstract function is called in the constructor of descendants. | |
const DefinitionRangeOfDimension< P > & | getDefinitionRange () const |
Private Attributes | |
std::unique_ptr< Impl > | pImpl_ |
This class evaluates a ParametricFunction on all vertices of a P
- dimensional (hyper-) grid in N
dimensional vector space.
N
- dimensional vertices, Project them into three-dimensional space and Draw the resulting three-dimensional image onto a View.N | The dimension of the definition vector space. |
P | The dimension of the parameter vector space. |
NUM | The numeric type managed by the grid. |
unsigned FunctionHolder< N, P, NUM >::getNumParameters | ( | ) | [virtual] |
Reimplemented from Displayable.
Reimplemented in RealFunction, and Surface.