[vtkusers] FunctionValues is missing from the Python binding of vtk-5.8??
Yifei Li
yifli82 at gmail.com
Thu Nov 10 09:54:27 EST 2011
Here is the list of methods in vtkCellLocatorInterpolatedVelocityField on
my computer:
>>> import vtk
>>> vtk.vtkCellLocatorInterpolatedVelocityField.__dict__
{'GetCellLocatorPrototype': <built-in method GetCellLocatorPrototype of
vtkclass object at 0x110e53a70>, 'NewInstance': <built-in method
NewInstance of vtkclass object at 0x110e53a70>, 'AddDataSet': <built-in
method AddDataSet of vtkclass object at 0x110e53a70>, 'SafeDownCast':
<built-in method SafeDownCast of vtkclass object at 0x110e53a70>, '
GetLastCellLocator': <built-in method GetLastCellLocator of vtkclass object
at 0x110e53a70>, 'CopyParameters': <built-in method CopyParameters of
vtkclass object at 0x110e53a70>, 'SetLastCellId': <built-in method
SetLastCellId of vtkclass object at 0x110e53a70>, 'GetClassName': <built-in
method GetClassName of vtkclass object at 0x110e53a70>, 'IsA': <built-in
method IsA of vtkclass object at 0x110e53a70>, 'SetCellLocatorPrototype':
<built-in method SetCellLocatorPrototype of vtkclass object at 0x110e53a70>}
On Wed, Nov 9, 2011 at 10:55 PM, Yifei Li <yifli82 at gmail.com> wrote:
> FYI: I turned the program into C++ and it compiled successfully on the
> SAME machine.
>
> Dear VTK developers, can you look into this problem? It's really annoying.
>
> BTW, my development machine is a MacBook Pro running Lion. If you need
> more information, let me know.
>
> Yifei
>
>
> On Wed, Nov 9, 2011 at 8:44 PM, Yifei Li <yifli82 at gmail.com> wrote:
>
>> Hi all,
>>
>> I got AttributeError: FunctionValues when I run the following code:
>>
>> func = vtkCellLocatorInterpolatedVelocityField()
>> func.AddDataSet(structured_grid)
>> func.FunctionValues(point, tangent)
>>
>>
>> Is this a bug? Any help is appreciated.
>>
>> Yifei
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111110/f50c770a/attachment.htm>
More information about the vtkusers
mailing list