Cortex  10.0.0-a4
Public Types | Public Member Functions | List of all members
IECore::EuclideanToSphericalTransform< F, T > Class Template Reference

Forward declaration. More...

#include <EuclideanToSphericalTransform.h>

+ Inheritance diagram for IECore::EuclideanToSphericalTransform< F, T >:

Public Types

typedef EuclideanToSphericalTransform< T, F > InverseType
 
- Public Types inherited from IECore::SpaceTransform< F, T >
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.
 
- Public Member Functions inherited from IECore::SpaceTransform< F, T >
operator() (const F &f)
 

Detailed Description

template<typename F, typename T>
class IECore::EuclideanToSphericalTransform< F, T >

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.


The documentation for this class was generated from the following file: