[vtkusers] is demand driven pipeline wrapped in python?

Dominik Szczerba dominik at itis.ethz.ch
Thu Feb 26 06:14:27 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Many thanks Mathieu, but I already figured it out meanwhile.
ipython is an excellent 'debugging' tool in such cases: tab expansion on
a class instance will tell immediately what is wrapped and what is not :)

regards,
Dominik

Mathieu Malaterre wrote:
> On Sun, Feb 22, 2009 at 9:33 AM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> by doing
>>
>> executive.SetUpdateTimeSteps(0,0.0)
>>
>> I am getting an error:
>>
>> AttributeError: SetUpdateTimeSteps
>>
>> Or did I forget to import something?
> 
> double* are not wrap AFAIK (in this particular case it would be nice
> to have double*+length mapped to a PyList).
> 
> You only have access to:
> 
>>>> import vtk
>>>> help(vtk.vtkStreamingDemandDrivenPipeline().SetUpdateTimeStep)
> Help on built-in function SetUpdateTimeStep:
> 
> SetUpdateTimeStep(...)
>     V.SetUpdateTimeStep(int, float) -> int
>     C++: int SetUpdateTimeStep (int port, double time);
> 
>      Get/Set the update extent for output ports that use Temporal Extents
> 
> 


- --
Dominik Szczerba, Ph.D.
Computational Physics Group
IT'IS Foundation for Research
http://www.itis.ethz.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkmmeZMACgkQ/EBMh9bUuzKSKwCdFs3kTGf0QBUDSn50Ym6r30qb
Q/gAnjzFhY8M/EVkLPk/0Hsx+cwDwzoJ
=yXFT
-----END PGP SIGNATURE-----



More information about the vtkusers mailing list