Cortex
10.0.0-a4
|
Forward declaration. More...
#include <EuclideanToSphericalTransform.h>
Public Types | |
typedef EuclideanToSphericalTransform< T, F > | InverseType |
![]() | |
typedef F | FromType |
typedef T | ToType |
typedef SpaceTransform< T, F > | InverseType |
The type of the converter that can perform the inverse transformation. | |
Public Member Functions | |
BOOST_STATIC_ASSERT ((TypeTraits::IsVec3< F >::value)) | |
BOOST_STATIC_ASSERT ((boost::mpl::or_< TypeTraits::IsVec3< T >, TypeTraits::IsVec2< T > >::value==true)) | |
virtual T | transform (const F &f) |
Perform the conversion. | |
InverseType | inverse () const |
Returns an instance of a class able to perform the inverse conversion. | |
![]() | |
T | operator() (const F &f) |
Forward declaration.
A templated SpaceTransform class to perform Euclidean to Spherical coordinates. The Spherical coordinate structure can optionally have a third component specifying the radius. So type T can be either Imath::Vec2<> or Imath::Vec3<>. Check documentation about SphericalToEuclideanTransform for more details on spherical coordinates.