[vtkusers] Re: Filenumber using vtkImageWriter - do not start with a 0

Goodwin Lawlor goodwin.lawlor at ucd.ie
Thu Mar 3 12:25:48 EST 2005


Hi Peter,

Try changing the z dimensions in the WholeExtent.

int wext[6];

image->GetWholeExtent(wext);
wext[4] = wext[4]+100;
wext[5]  = wext[5] + 100
image->SetWholeExtent(wext);

hth

Goodwin



"Boettcher, Dr. Peter" <Boettcher at kleintierklinik.uni-leipzig.de> wrote in
message
news:83FB51056FB3664CB2A09728F5E9187714BBE8 at email.ktk.uni-leipzig.de...
Is there a way to force vtkImageWriter starting with a user defined number,
instead of 0 during filename generation for 2D-image files (0.raw, 1.raw,
2.raw ... instead of 10.raw, 11.raw, 13.raw, ...)?
Looking at Set FilePrefix and FilePattern I wasn't able to do so.

Regards - Peter.




------------------------------------
P. Böttcher, Dr med vet, DipECVS
European Veterinary Specialist in Surgery




_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list