HyperspaceExplorer 0.7.1
|
Class template to apply a geometrical transformation on a set of vertices. More...
#include <Transformation.h>
Public Types | |
typedef FunctionValueGrid< N, P, NUM >::value_storage_type | value_storage_type |
Type for the storage of the function values on all grid points. | |
Protected Member Functions | |
TransformationImpl (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. | |
Protected Attributes | |
VecMath::Rotation< N, NUM > | rotation_ |
Rotation part of the Transformation. | |
VecMath::Vector< N, NUM > | translation_ |
Translation part of the Transformation. | |
VecMath::Vector< N, NUM > | scale_ |
Scaling part of the Transformation. | |
Friends | |
class | TransformationFactory |
Class template to apply a geometrical transformation on a set of vertices.
This is the parent class from which implementations of the transformation classes should inherit. It stores the parameters to a transformation, i.e. the rotation, translation and scaling that are applied.
N | Dimension of the vertices. |
P | Dimension of the parameter space. |
NUM | The numeric type of the Vector s. |
TransformationImpl< N, P, NUM >::TransformationImpl | ( | const VecMath::Rotation< N, NUM > & | rotation, |
const VecMath::Vector< N, NUM > & | translation, | ||
const VecMath::Vector< N, NUM > & | scale | ||
) | [protected] |
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. |