28 #include "WCoordConverter.h" 
   29 #include "core/common/WBoundingBox.h" 
   30 #include "core/common/math/WLinearAlgebraFunctions.h" 
   37     m_coordinateSystemMode( CS_WORLD )
 
   90             return static_cast<int>( 
w2t( tmp )[1] + 0.5 );
 
  112             return static_cast<int>( 
w2t( tmp )[0] + 0.5 );
 
  134             return static_cast<int>( 
w2t( tmp )[2] + 0.5 );
 
std::shared_ptr< WTalairachConverter > getTalairachConverter()
getter for the talairach converter pointer
 
WVector3d worldCoordTransformed(WPosition point)
Transforms world coordinates.
 
int numberToCsZ(int number)
converts a number on the z axis according to the currently selected coordinate system
 
WVector3d w2t(WVector3d in)
transforms a vector from the world coordinate system to the talairach system
 
WVector3d operator()(WVector3d in)
Operator ()
 
WMatrix< double > m_rotMat
the rotation matrix to use
 
WBoundingBox m_boundingBox
bounding box of the wholy volume as provided by the dataset
 
int numberToCsX(int number)
converts a number on the x axis according to the currently selected coordinate system
 
std::shared_ptr< WTalairachConverter > m_talairachConverter
pointer to talairach convert for easy access
 
void setBoundingBox(WBoundingBox boundingBox)
Sets the bounding box of the volume.
 
coordinateSystemMode getCoordinateSystemMode()
getter for coordinate system mode
 
WVector3d c2w(WVector3d in)
transforms a vector from the canonical to the world coordinate system system
 
WVector3d w2c(WVector3d in)
transforms a vector from the world coordinate system to the canonical system
 
void setTalairachConverter(std::shared_ptr< WTalairachConverter > tc)
setter for the talairach converter pointer
 
int numberToCsY(int number)
converts a number on the y axis according to the currently selected coordinate system
 
void setCoordinateSystemMode(coordinateSystemMode mode)
setter for coordinate system mode
 
WBoundingBox getBoundingBox()
Gets the bounding box.
 
WVector3d t2w(WVector3d in)
transforms a vector from the canonical system to the world coordinate system
 
coordinateSystemMode m_coordinateSystemMode
the currently selected coordinate system mode
 
WCoordConverter(WMatrix< double > rotMat, WVector3d origin=WVector3d(0, 0, 0), WVector3d scale=WVector3d(1.0, 1.0, 1.0))
standard constructor
 
virtual ~WCoordConverter()
destructor
 
This only is a 3d double vector.