[vtkusers] Problems with python bindings.
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Aug 21 16:13:42 EDT 2000
hi,
There is a fairly irritating problem with the python
bindings. Doing a dir() on a vtkObject fails to show any of the
inherited methods.
For instance:
<python> a = vtkActor ()
<python> dir (a)
['ApplyProperties', 'BuildPaths', 'GetActors', 'GetBackfaceProperty',
'GetBounds', 'GetClassName', 'GetMTime', 'GetMapper', 'GetNextPart',
'GetNumberOfParts', 'GetProperty', 'GetRedrawMTime', 'GetTexture',
'InitPartTraversal', 'ReleaseGraphicsResources', 'Render',
'RenderOpaqueGeometry', 'RenderTranslucentGeometry',
'SetBackfaceProperty', 'SetMapper', 'SetProperty', 'SetTexture',
'ShallowCopy', 'Update']
<python>
which doesnt reveal all of the methods one can invoke on an actor.
Specifically the vtkProp3D methods are missing. Calling the method
still works though.
<python> a.RotateX (10)
<python>
Is there a way around or a fix?
TIA.
prabhu
More information about the vtkusers
mailing list