HyperspaceExplorer 0.7.1
|
Specialization for one-dimensional arrays to end recursion. More...
#include <SinglethreadedTransformation.h>
Public Types | |
typedef FunctionValueGrid< N, 1, NUM >::value_storage_type | value_storage_type |
Type for the storage of the function values on all grid points. | |
Public Member Functions | |
SinglethreadedTransformation (const VecMath::Rotation< N, NUM > &rotation, const VecMath::Vector< N, NUM > &translation, const VecMath::Vector< N, NUM > &scale) | |
Initialize a Transformation with a Rotation, a translation Vector and a scaling Vector. | |
void | perform_transformation (const VecMath::Vector< N, NUM > &x, const VecMath::Vector< N, NUM > &xtrans) |
virtual value_storage_type | transform (const value_storage_type &operand) const |
Execute the transform on a set of vertices. | |
Friends | |
class | TransformationFactory |
class | SinglethreadedTransformation< N, 2, NUM > |
Specialization for one-dimensional arrays to end recursion.
This is the only class on which transformation are actually performed on single vertices.
N | Dimension of the vertices. |
NUM | The numeric type of the Vector s. |
SinglethreadedTransformation< N, 1, NUM >::SinglethreadedTransformation | ( | const VecMath::Rotation< N, NUM > & | rotation, |
const VecMath::Vector< N, NUM > & | translation, | ||
const VecMath::Vector< N, NUM > & | scale | ||
) |
Initialize a Transformation with a Rotation, a translation Vector and a scaling Vector.
rotation | The amount the target is rotated. |
translation | The translation Vector to add to all vertices. |
scale | Scale the target, with independent values for each direction. |
SinglethreadedTransformation< N, 1, NUM >::value_storage_type SinglethreadedTransformation< N, 1, NUM >::transform | ( | const value_storage_type & | operand | ) | const [virtual] |
Execute the transform on a set of vertices.
operand | An array of vertices on which the transformation is performed |
Implements Transformation< N, P, NUM >.
References VecMath::MultiDimensionalVector< T, D >::size().