[vtkusers] VTK Model and ITKImageBase itkImage_UC3

Sam sistephan at gmail.com
Sat Nov 20 20:41:26 EST 2010


David,

Update on the accumulator works but this still errors:
            modelStencilPolyData.SetOutputWholeExtent(extent);

            //modelStencilPolyData.Update();//  causes access violation
error

Also, here are the outputs in question.  What should I try?

dicomImage.GetDataExtent();

		[0]	0	
		[1]	255	
		[2]	0	
		[3]	255	
		[4]	0	
		[5]	159	

dicomImage.GetOutput().GetBounds();
		[0]	0.0	
		[1]	119.54400211572647
		[2]	0.0	
		[3]	119.54400211572647	
		[4]	0.0	
		[5]	25440.0	

model.GetBounds();
		[0]	-76.913497924804688
		[1]	62.542499542236328	
		[2]	-26.292299270629883
		[3]	75.544601440429688
		[4]	-53.995601654052734	
		[5]	27.033700942993164	
-- 
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-Model-and-ITKImageBase-itkImage-UC3-tp3273888p3274033.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list