<div dir="ltr">Hi all,<br><br>I need to access the scalar values in a vtkImageData at a huge list of (random) points.<br><br>Currentlt I ma using imgData-&gt;GetScalarComponentAsDouble(x,y,z,0).<br><br>But it is slow. This is the key step in the function I will be using. Is there any other way to access it rapidly, may be with the pointer to scalar values?<br>
<br>I need to copy the values to a std::vector.<br><br>Any suggestions?<br><br>Thanks<br><br>Jothy<br clear="all"><br><br>
</div>