[vtkusers] How to get Output from PolyDataTransformFilter

Rene_Wohlgethan rwohlgethan at icqmail.com
Wed Feb 16 07:15:45 EST 2011


Good Afternoon,


 its me again :)


Is there a possibility to get the "whole" Data of a TransformPolyDataFilter
into a new PolyData?


I tried

vtkPolyData *Poly1 = vtkPolyData::New();
	   
        Poly1->DeepCopy(MarchingCubeTransformFilter->GetOutput());


       vtkPolyDataMapper *PolyMapper = vtkPolyDataMapper::New();
       PolyMapper->SetInput(Poly1);

       vtkActor *PolyActor = vtkActor::New();
       PolyActor->SetMapper(PolyMapper);

 ren->AddActor(PolyActor);


But when i run this, there is nothing visible in the Renderwindow, so i
think  there is something wrong with :

Poly1->DeepCopy(MarchingCubeTransformFilter->GetOutput());


I looked quite a while and also searched for this Case, but i coulnd´t find
something about this case.


Perhaps someone of you knows how to solve this ?


Thanks a lot!


René

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-get-Output-from-PolyDataTransformFilter-tp3387532p3387532.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list