25 #ifndef WTALAIRACHCONVERTER_H
26 #define WTALAIRACHCONVERTER_H
31 #include "core/common/math/WMatrix.h"
32 #include "core/common/math/linearAlgebra/WVectorFixed.h"
class to provide conversions between world or voxel space coordinates und Talairach coordinates
WVector3d getRp() const
getter for rp
WVector3d m_ihp_proj
projected interhemispherical point
void setLp(WVector3d lp)
setter for lp
WVector3d getLp() const
getter for lp
WVector3d m_ac
anterior commisure
WVector3d m_pc
inferior commisure
void setPp(WVector3d pp)
setter for pp
WVector3d ACPC2Talairach(const WVector3d point)
ACPC2Talairach.
void setRp(WVector3d rp)
setter for rp
virtual ~WTalairachConverter()
destructor
void setPc(WVector3d pc)
setter for pc
WVector3d getPc() const
getter for pc
WVector3d getIhp() const
getter for ihp
WVector3d m_rp
right point
WVector3d Canonical2ACPC(const WVector3d point)
Canonical2ACPC.
WVector3d m_ap
anterior point
WVector3d m_ip
inferior point
WMatrix< double > getRotMat()
getter for the rotation matrix
WVector3d getIp() const
getter for ip
WMatrix< double > m_rotMatInvert
the inverted rotation matrix
WVector3d getAc() const
getter for ac
void setSp(WVector3d sp)
setter for sp
WVector3d m_sp
superior point
WVector3d m_ihp
inter hemispherical point
WVector3d Canonical2Talairach(const WVector3d point)
Canonical2Talairach.
WVector3d Talairach2ACPC(const WVector3d point)
Talairach2ACPC.
void defineRotationMatrix()
helper routine to create the rotation matrix from the given points
void setIp(WVector3d ip)
setter for ip
WMatrix< double > getInvRotMat()
getter for the inverted rotation matrix
WMatrix< double > m_rotMat
the rotation matrix
void setIhp(WVector3d ihp)
setter for ihp
WTalairachConverter(WVector3d ac, WVector3d pc, WVector3d ihp)
constructor
WVector3d ACPC2Canonical(const WVector3d point)
ACPC2Canonical.
WVector3d getSp() const
getter for sp
void setAc(WVector3d ac)
setter for ac
WVector3d Talairach2Canonical(const WVector3d point)
Talairach2Canonical.
void setAp(WVector3d ap)
setter for ap
WVector3d m_pp
posterior point
WVector3d getAp() const
getter for ap
WVector3d getPp() const
getter for pp