<div>I am writing my vtk-programs in c++. I have a matrix of eigenshapes, a meanshape and a vector of eigenmodes.</div>
<div>In order to visualize these (PCA-visualization) i need to somehow multiply them in vtk with a variance vector containing weights.</div>
<div>&nbsp;</div>
<div>so</div>
<div>&nbsp;</div>
<div>meanshape+eigenshapes*(weights*eigenmodes)</div>
<div>&nbsp;</div>
<div>this will result in a vector which i then need to reshape into a 3D volume before i can visualize it as an isosurface, using the vtkContourFilter, in vtk.</div>
<div>&nbsp;</div>
<div>These operations are very easily done in matlab, but how can i do these matrix multiplications and matrix reshaping in VTK?</div>
<div>&nbsp;</div>
<div>I&nbsp; hope someone can help me out.</div>
<div>Thank you very much</div>