DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSHCoefficientsRotation.h>
rotate SH coefficient vector by a given rotation matrix.
Reference: "Efficient and accurate rotation of finite spherical harmonics expansions", Journal of Computational Physics 231 (2012) 243–250
Definition at line 35 of file itkSHCoefficientsRotation.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef utl_shared_ptr< MatrixType > | MatrixPointer |
typedef utl::NDArray< double, 2 > | MatrixType |
typedef SmartPointer< Self > | Pointer |
typedef T | PreciseType |
typedef SHCoefficientsRotation | Self |
typedef Object | Superclass |
typedef utl::NDArray< double, 1 > | VectorType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
VectorType | GetRotatedSHCoefficients (const VectorType &shInput, const MatrixType &rotationMatrix) const |
void | Initialize () |
itkSetGetMacro (TessOrder, int) | |
itkSetGetMacro (MaxRank, int) | |
Static Public Member Functions | |
static Pointer | GetInstance () |
static Pointer | New () |
Protected Member Functions | |
LightObject::Pointer | InternalClone () const ITK_OVERRIDE |
template<> | |
SHCoefficientsRotation< double >::Pointer | m_Instance |
void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
SHCoefficientsRotation () | |
virtual | ~SHCoefficientsRotation () |
Protected Attributes | |
MatrixPointer | m_Grad |
int | m_MaxRank |
utl_shared_ptr< std::vector< MatrixType > > | m_SHMatrixInverse |
int | m_TessOrder |
Static Protected Attributes | |
static Pointer | m_Instance |
Private Member Functions | |
void | operator= (const Self &) |
SHCoefficientsRotation (const Self &) | |
typedef SmartPointer<const Self> itk::SHCoefficientsRotation< T >::ConstPointer |
Definition at line 43 of file itkSHCoefficientsRotation.h.
typedef utl_shared_ptr<MatrixType> itk::SHCoefficientsRotation< T >::MatrixPointer |
Definition at line 55 of file itkSHCoefficientsRotation.h.
typedef utl::NDArray<double,2> itk::SHCoefficientsRotation< T >::MatrixType |
Definition at line 54 of file itkSHCoefficientsRotation.h.
typedef SmartPointer<Self> itk::SHCoefficientsRotation< T >::Pointer |
Definition at line 42 of file itkSHCoefficientsRotation.h.
typedef T itk::SHCoefficientsRotation< T >::PreciseType |
Definition at line 49 of file itkSHCoefficientsRotation.h.
typedef SHCoefficientsRotation itk::SHCoefficientsRotation< T >::Self |
Standard class typedefs.
Definition at line 40 of file itkSHCoefficientsRotation.h.
typedef Object itk::SHCoefficientsRotation< T >::Superclass |
Definition at line 41 of file itkSHCoefficientsRotation.h.
typedef utl::NDArray<double,1> itk::SHCoefficientsRotation< T >::VectorType |
Definition at line 53 of file itkSHCoefficientsRotation.h.
|
inlineprotected |
Definition at line 120 of file itkSHCoefficientsRotation.h.
|
inlineprotectedvirtual |
Definition at line 127 of file itkSHCoefficientsRotation.h.
|
private |
virtual::itk::LightObject::Pointer itk::SHCoefficientsRotation< T >::CreateAnother | ( | void | ) | const |
|
inlinestatic |
Definition at line 111 of file itkSHCoefficientsRotation.h.
|
virtual |
Run-time type information (and related methods)
|
inline |
GetRotatedSHCoefficient rotate SH coefficient vector by a given rotation matrix.
shInput | input SH coefficients |
rotationMatrix | rotation matrix |
Reference: "Efficient and accurate rotation of finite spherical harmonics expansions", Journal of Computational Physics 231 (2012) 243–250
use itk::SHCoefficientsRotation for multi-thread programming
Definition at line 90 of file itkSHCoefficientsRotation.h.
References CARTESIAN_TO_SPHERICAL, utl::ComputeSHMatrix(), utl::DimToRankSH(), utl::GetRange(), utl::RankToDimSH(), utl::NDArrayBase< T, Dim >::Size(), and utlSAException.
|
inline |
Definition at line 60 of file itkSHCoefficientsRotation.h.
References CARTESIAN_TO_CARTESIAN, CARTESIAN_TO_SPHERICAL, utl::ComputeSHMatrix(), DIRECTION_NODUPLICATE, utl::GradientTable< T >::GetGrad(), utl::GradientTable< T >::Initialize(), utl::PInverseMatrix(), and utl::RankToDimSH().
|
inlineprotected |
Definition at line 141 of file itkSHCoefficientsRotation.h.
itk::SHCoefficientsRotation< T >::itkSetGetMacro | ( | TessOrder | , |
int | |||
) |
itk::SHCoefficientsRotation< T >::itkSetGetMacro | ( | MaxRank | , |
int | |||
) |
|
protected |
Definition at line 173 of file itkSHCoefficientsRotation.h.
|
static |
Method for creation through the object factory.
Referenced by itk::Functor::RotateSHCoefficients< TInput, TOutput >::RotateSHCoefficients().
|
private |
|
inlineprotected |
Definition at line 129 of file itkSHCoefficientsRotation.h.
References utl::PrintUtlMatrix(), PrintVar, and PrintVar2.
|
protected |
Definition at line 158 of file itkSHCoefficientsRotation.h.
|
staticprotected |
Definition at line 156 of file itkSHCoefficientsRotation.h.
|
protected |
maximal rank
Definition at line 162 of file itkSHCoefficientsRotation.h.
|
protected |
Definition at line 159 of file itkSHCoefficientsRotation.h.
|
protected |
tessellation order
Definition at line 164 of file itkSHCoefficientsRotation.h.