[vtkusers] How to communicate between vtkPiecewiseFunctionand vtkDataArray
Yi-Yu Chou
chouyiyu at hotmail.com
Thu Aug 12 12:28:04 EDT 2004
Dear Amy,
Because python doesn't support pointer, I can't use GetDataPointer method
in my program....
In this situation I must setup a piecewise function for the data array
without using vtkPiecewiseFunction.
Do you have any idea about how to do it ?
Thanks in advance !!!!
Best,
Yi-Yu
>From: Amy Henderson <amy.henderson at kitware.com>
>To: vtkusers at vtk.org
>Subject: Re: [vtkusers] How to communicate between vtkPiecewiseFunctionand
vtkDataArray
>Date: Wed, 11 Aug 2004 15:27:12 -0400
>
>Hi Yi-Yu,
>
>You can get the underlying double array from the
>vtkPiecewiseFunction using the GetDataPointer method. You can pass
>this array to a vtkDoubleArray using its SetArray method. (You will
>also need to fill in the size of the array and whether
>vtkDoubleArray is responsible for deleting the double array you
>passed in.)
>
>- Amy
>
>At 03:21 PM 8/11/2004, Yi-Yu Chou wrote:
>>Dear vtk users,
>>
>>Is it possible to use vtkPiecewiseFunctions to build a vtkDataArray
>>?
>>Please give me some ideas.
>>Thanks a lot !!!
>>
>>Yi-Yu
>>
>>_________________________________________________________________
>>下載最新版本的 MSN
>>Messenger:和朋友在線上聊天,用有趣的表情符號傳達心意!
>>http://messenger.msn.com.tw/
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages
>>on-topic. Check the FAQ at:
>><http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
_________________________________________________________________
日日免費隨時學英語和普通話 http://go.msnserver.com/HK/46164.asp
More information about the vtkusers
mailing list