[vtkusers] Is it possible using VTK..??
Rakesh Patil
rakeshthp at in.com
Fri Mar 5 23:10:35 EST 2010
Hi,I am not sure what you mean by solid boundary and soft boundary .These are the property of the polyline.. A region has a boundary. That boundary can be rigid boundary or a soft one through which water can pass for example.. this boundary is represented using polyline.. How to keep track of this property.??But when you pick the paticular polyline , you know which prop is thatby say making an ActorCollection and finding the Prop in there.I didnt find any example of this class. How do i use this..?? Anyways, will give it a try..CellPicker has a GetProp Function. From the Prop you can get your Databack.Will try this also..Thanks RegardsRakesh Patil Original message From:Darshan Pai< darshanpai at gmail.com >Date: 06 Mar 10 01:59:42Subject:Re: [vtkusers] Is it possible using VTK..??To: Rakesh Patil I am not sure what you mean by solid boundary and soft boundary .But when you pick the paticular polyline , you know which prop is that by say making an ActorCollection and finding the
Prop in there . CellPicker has a GetProp Function. From the Prop you can get your Data back. RegardsDarshanOn Fri, Mar 5, 2010 at 10:35 AM, Rakesh Patilwrote: Dear users,I'm back again with is it possible question.. I have a set of polylines.. Each polyline is having its own polydata.. Now i select this data using vtkCellPicker. After selecting, I need to draw a circle around this polyline. Is this possible..?? Let me remind you, there are several polylines, and only one polyline is to be selected... Now the problem is after picking this polyline,how will i come to know which polyline is selected and how to get the data of that polyline..?? Secondly, this polyline defines a boundary.A solid boundary, and soft boundary.. The circle is to be drawn only if the polyline is a solid boundary. So this checking how can be done.?I have attached a sample image file how i want the output to be.. Any ideas ..?? ThanksRegardsRakesh PatilDear vtkusers ! Get Yourself a cool, short @in.com
Email ID now! Powered by www.kitware.comVisit other Kitware opensource projects at http://www.kitware.com/opensource/opensource.htmlPlease keep messages ontopic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTKFAQFollow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100306/de830846/attachment.htm>
More information about the vtkusers
mailing list