3
ÌœŸW  ã               @   s\   d Z ddlmZ ddlmZmZmZ ddlmZ ddl	m
Z
 ddlmZ G dd„ de
ƒZd	S )
zModule documentation goes here.é    )ÚInstance)ÚViewÚGroupÚItem)Útvtk)ÚModule)ÚActorc               @   s0   e Zd ZdZeeƒZdd„ Zdd„ Zdd„ Z	dS )	ÚMyModuler   c             C   s   dS )a  Override this method so that it *creates* the tvtk
        pipeline.

        This method is invoked when the object is initialized via
        `__init__`.  Note that at the time this method is called, the
        tvtk data pipeline will *not* yet be setup.  So upstream data
        will not be available.  The idea is that you simply create the
        basic objects and setup those parts of the pipeline not
        dependent on upstream sources and filters.  You should also
        set the `actors` attribute up at this point.
        N© )Úselfr
   r
   úa/home/yuhw/wc/wire-cell-python/venv/lib/python3.6/site-packages/mayavi/modules/skeleton_module.pyÚsetup_pipeline   s    zMyModule.setup_pipelinec             C   s
   d| _ dS )zêOverride this method so that it *updates* the tvtk pipeline
        when data upstream is known to have changed.

        This method is invoked (automatically) when any of the inputs
        sends a `pipeline_changed` event.
        TN)Zpipeline_changed)r   r
   r
   r   Úupdate_pipeline5   s    zMyModule.update_pipelinec             C   s
   d| _ dS )zÌOverride this method so that it flushes the vtk pipeline if
        that is necessary.

        This method is invoked (automatically) when any of the inputs
        sends a `data_changed` event.
        TN)Zdata_changed)r   r
   r
   r   Úupdate_dataB   s    	zMyModule.update_dataN)
Ú__name__Ú
__module__Ú__qualname__Ú__version__r   r   Zactorr   r   r   r
   r
   r
   r   r	      s
   	r	   N)Ú__doc__Ú
traits.apir   Útraitsui.apir   r   r   Útvtk.apir   Zmayavi.core.moduler   Zmayavi.components.actorr   r	   r
   r
   r
   r   Ú<module>   s   