[vtkusers] vtkTransformPolydataFilter ... how to get the transformed results

Giancarlo Amati ilferraresebono at hotmail.it
Thu Mar 11 07:16:29 EST 2010


yes.

From: murat.aydin at netcad.com.tr
To: vtkusers at vtk.org
Date: Thu, 11 Mar 2010 14:11:10 +0200
Subject: Re: [vtkusers] vtkTransformPolydataFilter ... how to get	the	transformed results






















Hi,

 

Did you call tpd->Update() before tpd->GetOutput()?


 

Regards

 

murat

 









From:
vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Giancarlo Amati

Sent: Thursday, March 11, 2010
2:10 PM

To: vtkusers at vtk.org

Subject: [vtkusers]
vtkTransformPolydataFilter ... how to get the transformed results



 

Hello everybody,



I have a vtkLineSource object L1. I apply a transformation with the
vtkTransformPolyDataFilter tpd.



so... as L1 is defined by 2 points, I have a transform TT which defines the
TransformPolyDataFilter.

So I need to retrieve those 2 points but after the transform, so I call:



vtkSmartPointer<vtkLineSource> tmplineDir =
vtkLineSource::SafeDownCast(tpd->GetOutput());



but the pointer it returns is NULL, causing of course a crash of the software.

what am I missing? :)



Many thanks.

Giancarlo











Lo spazio su Hotmail aumente con le tue esigenze... Vai
oltre i 5GB

 		 	   		  
_________________________________________________________________
Personalizza il tuo Messenger con nuove e divertenti Emoticon
http://www.pimpit.it/emoticon.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100311/bc75daf1/attachment.htm>


More information about the vtkusers mailing list