Hi,<div><br></div><div>I have one matrix 512x512x108 and i want copy the values of all indices for any VTK data type but i dont want do:</div><div><br></div><div>for(int i = 0; i<512; i++){</div><div> for(int j=0; j<512; j++){</div>
<div> for(int k=0; k<108; k++){</div><div> imageData->SetScalarComponentFromFloat(i, j, k, 0, matrix[i][j][k]);</div><div> }</div><div> }</div><div>}</div><div><br></div><div>VTK have one way to do copy like imageData->DeepCopy(matrix) ?</div>
<div><br>-- <br>Ítalo Mendes<br><a href="http://ogre.irados.org">ogre.irados.org</a><br>
</div>