[vtkusers] vtk 6.0 trouble

bnsteel bnsteel at gmail.com
Fri Jul 12 15:18:36 EDT 2013


I wanted to add that I did change all of the SetInput calls to setInput Data,
and got everything to compile nicely with the new Modules.

when setting the data in my imageviewer 2:

	#ifdef _VTK510
		imageViewer2->SetInputConnection(bufferData->GetProducerPort());
	#else
		imageViewer2->SetInputData(bufferData);
       #endif
	imageViewer2->GetRenderer()->ResetCamera();
	imageViewer2->Render();

and when setting the data in my vtkSmartVolumeMapper:
	#ifdef _VTK510 
	   volFPMapper->SetInput(bufferData); 
      #else
	  // this does not seem to work, no data for renderer to render??
	  volFPMapper->SetInputData(bufferData); 
	  volFPMapper->Update();
      #endif 
	vol->SetMapper(volFPMapper);    



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtk-6-0-trouble-tp5721937p5721940.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list