HyperspaceExplorer 0.7.1
Public Types | Protected Member Functions | Protected Attributes | Friends
TransformationImpl< N, P, NUM > Class Template Reference

Class template to apply a geometrical transformation on a set of vertices. More...

#include <Transformation.h>

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

List of all members.

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

Detailed Description

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

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.

Template Parameters:
NDimension of the vertices.
PDimension of the parameter space.
NUMThe numeric type of the Vector s.

Constructor & Destructor Documentation

template<unsigned N, unsigned P, typename NUM>
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.

Parameters:
rotationThe amount the target is rotated.
translationThe translation Vector to add to all vertices.
scaleScale the target, with independent values for each direction.

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:19 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo