[vtkusers] How to get Output from PolyDataTransformFilter

Bill Lorensen bill.lorensen at gmail.com
Wed Feb 16 08:08:19 EST 2011


Try
MarchingCubeTransformFilter->Update() before you do the deep copy.


On Wed, Feb 16, 2011 at 7:15 AM, Rene_Wohlgethan
<rwohlgethan at icqmail.com> wrote:
>
> 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.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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