[vtkusers] (no subject)

Yixun Liu yxliu at fudan.edu.cn
Mon Aug 21 21:26:37 EDT 2006


Hi,

You can
this->vtkImage3D->GetPointData()->GetScalars()->SetValue(i, value);

or, assuming image type is short

short *data =  this->vtkImage3D->GetScalarPointer(), then...

Cheers,

Yixun Liu



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060822/1a31eee8/attachment.htm>


More information about the vtkusers mailing list