/[escript]/trunk/pyvisi/py_src/probe.py
ViewVC logotype

Annotation of /trunk/pyvisi/py_src/probe.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 943 - (hide annotations)
Mon Jan 29 07:22:43 2007 UTC (13 years, 6 months ago) by jongui
File MIME type: text/x-python
File size: 450 byte(s)
new pyvisi files
1 jongui 943 """
2     @author: John NGUI
3     """
4    
5     import vtk
6    
7     class Probe:
8     def __init__(self, object, source):
9     self.__object = object
10     self.__source = source
11     self.__vtk_probe_filter = vtk.vtkProbeFilter()
12     self.__setInput()
13     self.__setSource()
14    
15     def __setInput(self):
16     self.__vtk_probe_filter.SetInput(self.__source)
17    
18     def __setSource(self):
19     self.__vtk_probe_filter.SetSource(self.__object)
20    
21     def _getOutput(self):
22     return self.__vtk_probe_filter.GetOutput()
23    

  ViewVC Help
Powered by ViewVC 1.1.26