HyperspaceExplorer 0.7.1
Classes | Public Types | Public Member Functions | Protected Member Functions | Private Attributes
FunctionHolder< N, P, NUM > Class Template Reference

#include <FunctionHolder.h>

Inheritance diagram for FunctionHolder< N, P, NUM >:
Inheritance graph
[legend]
Collaboration diagram for FunctionHolder< N, P, NUM >:
Collaboration graph
[legend]

List of all members.

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< ImplpImpl_

Detailed Description

template<unsigned N, unsigned P, typename NUM = double>
class FunctionHolder< N, P, NUM >

This class evaluates a ParametricFunction on all vertices of a P - dimensional (hyper-) grid in N dimensional vector space.

Todo:
It provides functions to apply an arbitray Transform on the N - dimensional vertices, Project them into three-dimensional space and Draw the resulting three-dimensional image onto a View.
Template Parameters:
NThe dimension of the definition vector space.
PThe dimension of the parameter vector space.
NUMThe numeric type managed by the grid.
Author:
Lene Preuss <lene.preuss@gmail.com>

Member Function Documentation

template<unsigned N, unsigned P, typename NUM >
unsigned FunctionHolder< N, P, NUM >::getNumParameters ( ) [virtual]
Returns:
number of parameters for the Displayable

Reimplemented from Displayable.

Reimplemented in RealFunction, and Surface.


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