ANIMA  4.0
Namespaces | Functions
animaVectorOperations.h File Reference
#include <itkVector.h>
#include <itkVariableLengthVector.h>
#include <itkPoint.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_vector_fixed.h>
#include <vector>
#include "animaVectorOperations.hxx"
+ Include dependency graph for animaVectorOperations.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 anima
 

Functions

template<class VectorType >
double anima::ComputeAngle (const VectorType &v1, const VectorType &v2)
 
template<class VectorType >
void anima::ComputeCrossProduct (const VectorType &v1, const VectorType &v2, const unsigned int NDimension, VectorType &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::ComputeCrossProduct (const itk::Vector< ScalarType, NDimension > &v1, const itk::Vector< ScalarType, NDimension > &v2, itk::Vector< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::ComputeCrossProduct (const itk::VariableLengthVector< ScalarType > &v1, const itk::VariableLengthVector< ScalarType > &v2, itk::VariableLengthVector< ScalarType > &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::ComputeCrossProduct (const itk::Point< ScalarType, NDimension > &v1, const itk::Point< ScalarType, NDimension > &v2, itk::Point< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::ComputeCrossProduct (const vnl_vector< ScalarType > &v1, const vnl_vector< ScalarType > &v2, vnl_vector< ScalarType > &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::ComputeCrossProduct (const vnl_vector_fixed< ScalarType, NDimension > &v1, const vnl_vector_fixed< ScalarType, NDimension > &v2, vnl_vector_fixed< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::ComputeCrossProduct (const std::vector< ScalarType > &v1, const std::vector< ScalarType > &v2, std::vector< ScalarType > &resVec)
 
template<class VectorType >
double anima::ComputeDirectedHausdorffDistance (const std::vector< VectorType > &s1, const std::vector< VectorType > &s2)
 
template<class VectorType >
double anima::ComputeEuclideanDistance (const VectorType &x1, const VectorType &x2, const unsigned int NDimension)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeEuclideanDistance (const itk::Vector< ScalarType, NDimension > &x1, const itk::Vector< ScalarType, NDimension > &x2)
 
template<class ScalarType >
double anima::ComputeEuclideanDistance (const itk::VariableLengthVector< ScalarType > &x1, const itk::VariableLengthVector< ScalarType > &x2)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeEuclideanDistance (const itk::Point< ScalarType, NDimension > &x1, const itk::Point< ScalarType, NDimension > &x2)
 
template<class ScalarType >
double anima::ComputeEuclideanDistance (const vnl_vector< ScalarType > &x1, const vnl_vector< ScalarType > &x2)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeEuclideanDistance (const vnl_vector_fixed< ScalarType, NDimension > &x1, const vnl_vector_fixed< ScalarType, NDimension > &x2)
 
template<class ScalarType >
double anima::ComputeEuclideanDistance (const std::vector< ScalarType > &x1, const std::vector< ScalarType > &x2)
 
template<class VectorType >
double anima::ComputeHausdorffDistance (const std::vector< VectorType > &s1, const std::vector< VectorType > &s2)
 
template<class VectorType >
void anima::ComputeHouseholderVector (const VectorType &inputVector, VectorType &outputVector, double &beta, unsigned int dimension)
 
template<class ScalarType >
void anima::ComputeHouseholderVector (const std::vector< ScalarType > &inputVector, std::vector< ScalarType > &outputVector, double &beta)
 
template<class ScalarType >
void anima::ComputeHouseholderVector (std::vector< ScalarType > &vector, double &beta)
 
template<class VectorType >
double anima::ComputeModifiedDirectedHausdorffDistance (const std::vector< VectorType > &s1, const std::vector< VectorType > &s2)
 
template<class VectorType >
double anima::ComputeModifiedHausdorffDistance (const std::vector< VectorType > &s1, const std::vector< VectorType > &s2)
 
template<class VectorType >
double anima::ComputeNorm (const VectorType &v)
 
template<class VectorType >
double anima::ComputeOrientationAngle (const VectorType &v1, const VectorType &v2)
 
template<class VectorType >
double anima::ComputePointToSetDistance (const VectorType &x, const std::vector< VectorType > &s)
 
template<class VectorType >
double anima::ComputeScalarProduct (const VectorType &v1, const VectorType &v2, const unsigned int NDimension)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeScalarProduct (const itk::Vector< ScalarType, NDimension > &v1, const itk::Vector< ScalarType, NDimension > &v2)
 
template<class ScalarType >
double anima::ComputeScalarProduct (const itk::VariableLengthVector< ScalarType > &v1, const itk::VariableLengthVector< ScalarType > &v2)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeScalarProduct (const itk::Point< ScalarType, NDimension > &v1, const itk::Point< ScalarType, NDimension > &v2)
 
template<class ScalarType >
double anima::ComputeScalarProduct (const vnl_vector< ScalarType > &v1, const vnl_vector< ScalarType > &v2)
 
template<class ScalarType , unsigned int NDimension>
double anima::ComputeScalarProduct (const vnl_vector_fixed< ScalarType, NDimension > &v1, const vnl_vector_fixed< ScalarType, NDimension > &v2)
 
template<class ScalarType >
double anima::ComputeScalarProduct (const std::vector< ScalarType > &v1, const std::vector< ScalarType > &v2)
 
template<class VectorType >
double anima::ExponentialSum (const VectorType &x, const unsigned int NDimension)
 
template<class ScalarType , unsigned int NDimension>
double anima::ExponentialSum (const itk::Vector< ScalarType, NDimension > &x)
 
template<class ScalarType >
double anima::ExponentialSum (const itk::VariableLengthVector< ScalarType > &x)
 
template<class ScalarType , unsigned int NDimension>
double anima::ExponentialSum (const itk::Point< ScalarType, NDimension > &x)
 
template<class ScalarType >
double anima::ExponentialSum (const vnl_vector< ScalarType > &x)
 
template<class ScalarType , unsigned int NDimension>
double anima::ExponentialSum (const vnl_vector_fixed< ScalarType, NDimension > &x)
 
template<class ScalarType >
double anima::ExponentialSum (const std::vector< ScalarType > &x)
 
template<class VectorType >
void anima::Normalize (const VectorType &v, const unsigned int NDimension, VectorType &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::Normalize (const itk::Vector< ScalarType, NDimension > &v, itk::Vector< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::Normalize (const itk::VariableLengthVector< ScalarType > &v, itk::VariableLengthVector< ScalarType > &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::Normalize (const itk::Point< ScalarType, NDimension > &v, itk::Point< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::Normalize (const vnl_vector< ScalarType > &v, vnl_vector< ScalarType > &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::Normalize (const vnl_vector_fixed< ScalarType, NDimension > &v, vnl_vector_fixed< ScalarType, NDimension > &resVec)
 
template<class ScalarType >
void anima::Normalize (const std::vector< ScalarType > &v, std::vector< ScalarType > &resVec)
 
template<class T1 , class T2 , class T3 >
void anima::ProjectOnOrthogonalPlane (const std::vector< T1 > &v, const std::vector< T2 > &normalVec, std::vector< T3 > &resVec)
 
template<class VectorType >
void anima::Revert (const VectorType &v, const unsigned int vSize, VectorType &resVec)
 
template<class ScalarType >
void anima::Revert (const std::vector< ScalarType > &v, std::vector< ScalarType > &resVec)
 
template<class ScalarType >
void anima::Revert (const itk::Point< ScalarType > &v, itk::Point< ScalarType > &resVec)
 
template<class ScalarType , unsigned int NDimension>
void anima::Revert (const vnl_vector_fixed< ScalarType, NDimension > &v, vnl_vector_fixed< ScalarType, NDimension > &resVec)
 
template<class T1 , class T2 , class T3 , class T4 >
void anima::RotateAroundAxis (const std::vector< T1 > &v, const T2 &phi, const std::vector< T3 > &normalVec, std::vector< T4 > &resVec)
 
template<class Vector3DType , class ScalarType >
void anima::RotateAroundAxis (const Vector3DType &v, const ScalarType &phi, const Vector3DType &normalVec, Vector3DType &resVec)
 
template<class VectorType >
void anima::TransformCartesianToSphericalCoordinates (const VectorType &v, VectorType &resVec)
 
template<class VectorType >
void anima::TransformSphericalToCartesianCoordinates (const VectorType &v, VectorType &resVec)
 
template<class VectorType >
void anima::TransformSphericalToCartesianCoordinates (double theta, double phi, double vectorNorm, VectorType &resVec)