[vtkusers] How to communicate between vtkPiecewiseFunction and vtkDataArray
Amy Henderson
amy.henderson at kitware.com
Wed Aug 11 15:27:12 EDT 2004
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
>
>_________________________________________________________________
>¤U¸ü³Ì·sª©¥»ªº MSN Messenger¡G©MªB¤Í¦b½u¤W²á¤Ñ¡A¥Î¦³½ìªºªí±¡²Å¸¹¶Ç¹F¤ß·N!
>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
More information about the vtkusers
mailing list