Skip to content
Snippets Groups Projects
Commit 913a0c09 authored by Michael Reuter's avatar Michael Reuter
Browse files

Refs #6697. Changing to new call for W matrix.

parent 7ba88175
Branches add_pycharm_environment_file
No related tags found
No related merge requests found
...@@ -88,7 +88,8 @@ void vtkDataSetToNonOrthogonalDataSet::execute() ...@@ -88,7 +88,8 @@ void vtkDataSetToNonOrthogonalDataSet::execute()
API::IMDHistoWorkspace_const_sptr infoWs = boost::dynamic_pointer_cast<const API::IMDHistoWorkspace>(ws); API::IMDHistoWorkspace_const_sptr infoWs = boost::dynamic_pointer_cast<const API::IMDHistoWorkspace>(ws);
m_numDims = infoWs->getNumDims(); m_numDims = infoWs->getNumDims();
Geometry::OrientedLattice oLatt = infoWs->getExperimentInfo(0)->sample().getOrientedLattice(); Geometry::OrientedLattice oLatt = infoWs->getExperimentInfo(0)->sample().getOrientedLattice();
Kernel::DblMatrix wTrans = infoWs->getWTransf(); std::vector<double> wMatArr = infoWs->getExperimentInfo(0)->run().getPropertyValueAsType<std::vector<double > >("W_MATRIX");
Kernel::DblMatrix wTrans(wMatArr);
API::CoordTransform *transform = infoWs->getTransformToOriginal(); API::CoordTransform *transform = infoWs->getTransformToOriginal();
Kernel::Matrix<coord_t> affMat = transform->makeAffineMatrix(); Kernel::Matrix<coord_t> affMat = transform->makeAffineMatrix();
this->createSkewInformation(oLatt, wTrans, affMat); this->createSkewInformation(oLatt, wTrans, affMat);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment