![]() |
Realm
A distributed, event-based tasking library
|
#include <indexspace.h>
Public Types | |
| enum | StructuredTransformType { NONE = 0 , AFFINE = 1 , TRANSLATION = 2 } |
Public Member Functions | |
| StructuredTransform (void)=default | |
| StructuredTransform (const AffineTransform< N, N2, T2 > &_transform) | |
| StructuredTransform (const TranslationTransform< N, T2 > &_transform) | |
| Point< N, T > | operator[] (const Point< N2, T > &point) const |
Public Attributes | |
| Realm::Matrix< N, N2, T2 > | transform_matrix |
| Point< N, T2 > | offset |
| StructuredTransformType | type = StructuredTransformType::NONE |
A structured transform is used to represent both affine and translation transforms. It is templated on the dimensionality (N) and base type (T) of the index space that defines the domain over which the transform is defined, and the dimensionality (N2) and base type (T2) of the index space that defines the range of the transform.
| enum Realm::StructuredTransform::StructuredTransformType |
|
default |
| Realm::StructuredTransform< N, T, N2, T2 >::StructuredTransform | ( | const AffineTransform< N, N2, T2 > & | _transform | ) |
| Realm::StructuredTransform< N, T, N2, T2 >::StructuredTransform | ( | const TranslationTransform< N, T2 > & | _transform | ) |
| Point< N, T > Realm::StructuredTransform< N, T, N2, T2 >::operator[] | ( | const Point< N2, T > & | point | ) | const |
Apply the structured transform to a point in the domain source coordinate space to produce a point in the destination coordinate space.
| point | The point in the source coordinate space. |
| Point<N, T2> Realm::StructuredTransform< N, T, N2, T2 >::offset |
| Realm::Matrix<N, N2, T2> Realm::StructuredTransform< N, T, N2, T2 >::transform_matrix |
| StructuredTransformType Realm::StructuredTransform< N, T, N2, T2 >::type = StructuredTransformType::NONE |