Ignore:
Timestamp:
Apr 11, 2007, 5:54:03 AM (18 years ago)
Author:
jack
Message:

More work on the traited visualiser. Not working yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/visualiser_new/features.py

    r4354 r4365  
    1 from enthought.traits.api import Callable, Float, HasTraits, Instance, Range, Trait, true, Tuple
     1from enthought.traits.api import Callable, Float, HasTraits, Instance, List, Range, Trait, true, Tuple
    22from vtk import vtkActor
    33
     
    1111                         Range(0.0, 1.0)))
    1212    opacity = Range(0.0, 1.0, 1.0)
    13     actor = Instance(vtkActor, ())
     13    def __init__(self, *args, **kwargs):
     14        self.actor = vtkActor()
    1415
    1516class HeightFeature(Feature):
Note: See TracChangeset for help on using the changeset viewer.