[vtkusers] Help, please. vtkStreamingDemandDrivenPipeline Update extent error
Kevin H. Hobbs
hobbsk at ohiou.edu
Tue Feb 17 13:06:15 EST 2009
On Tue, 2009-02-17 at 08:57 -0800, Marty Humperdink wrote:
> I've run the programs through the command line and just by clicking the icon and get the same error in each case.
I was hoping the error would be written to the console.
> So one question here is how can I create a blank image data that covers the coordinate range of say x: -50 to +50, y: -50 to +50, and z: -50 to +50? I think I might be misunderstanding the difference between SetExtents and SetDimensions in vtkImageData...
vtkImageData * image = vtkImageData::New();
image->SetOrigin( -50, -50, -50 );
image->SetSpacing( 0.5, 0.5, 0.5 );
image->SetDimensions( 200, 200, 200 );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090217/3e8435e3/attachment.pgp>
More information about the vtkusers
mailing list