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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by jongui, Tue Jan 30 22:34:27 2007 UTC revision 949 by jongui, Fri Feb 2 05:33:05 2007 UTC
# Line 6  import vtk Line 6  import vtk
6    
7  class Probe:  class Probe:
8      """      """
9      Class that defines the probe. The class sample data values at      Class that defines the probe. This class samples data values at
10      specified point locations.      the specified point locations.
11      """      """
12    
13      def __init__(self, object, source):      def __init__(self, object, source):
# Line 23  class Probe: Line 23  class Probe:
23          self.__object = object          self.__object = object
24          self.__source = source          self.__source = source
25          self.__vtk_probe_filter = vtk.vtkProbeFilter()          self.__vtk_probe_filter = vtk.vtkProbeFilter()
26    
27            self.__setupProbe()
28    
29        def __setupProbe(self):
30            """
31            Setup the probe.
32            """
33    
34          self.__setInput()          self.__setInput()
35          self.__setSource()          self.__setSource()
36    
# Line 42  class Probe: Line 50  class Probe:
50    
51      def _getOutput(self):      def _getOutput(self):
52          """          """
53          Return the probe.          Return the output for the probe.
54    
55          @rtype: vtkDataSet          @rtype: vtkDataSet
56          @return: Data set          @return: Data set

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.26