[Paraview] python programmable filter

John Biddiscombe biddisco at cscs.ch
Mon May 11 02:23:43 EDT 2009


> What does //BTX and //ETX means 
Begin TCL Exclude
End TCL Exclude.

VTK was originally wrapped for use with TCL -hence the name choice. The 
original parser code used BTX/ETX to mark pieces that couldn't be 
wrapped and should be skipped.

> ? how to know if a method is automaticlly or not ?

Look at the source code. You can usually guess which function are not 
likely to be wrapped. If they have pointers to structs etc they are 
usually not wrapped.

JB

>
> Thanks,
> Nehme
>  
> On Sun, 10 May 2009 08:10:09 +0200 (CEST)
>  Jean Favre <jfavre at cscs.ch> wrote:
>>
>> On 10, May 2009 03:38 AM, Nehme Bilal <nbilal at mirarco.org> wrote:
>>
>>> Hi,
>>> I am using vtkKdTree in a python programmable filter. I
>>> would like to use:
>>> void vtkKdTree::FindPointsWithinRadius(double R,
>>> const double x[3],
>>> vtkIdList* result)
>>
>>
>> the method is not available. It is enclosed into a //BTX //ETX in the
>> source code of VTK/Filtering/vtkKdTree.h and does not get automatically
>> wrapped by Python.
>>
>> Jean --
>> Swiss National Supercomputer Center
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the ParaView mailing list