예제 #1
0
 def __init__(self):
     ReaderBaseBase.__init__(self,
                             nOutputPorts=1, outputType='vtkMultiBlockDataSet')
     # Properties:
     self._dataselection = vtk.vtkDataArraySelection()
     self._dataselection.AddObserver("ModifiedEvent", _helpers.create_modified_callback(self))
     self.__names = []
     self.__data = dict()
     self.__project = None
예제 #2
0
파일: fileio.py 프로젝트: laserman781/PVGeo
 def __init__(self, **kwargs):
     ReaderBaseBase.__init__(self, outputType='vtkImageData', **kwargs)
     self.__reader = espatools.RasterSetReader(yflip=True)
     self.__raster = None
     self.__cast = True
     self.__scheme = 'infrared'
     # Properties:
     self._dataselection = vtk.vtkDataArraySelection()
     self._dataselection.AddObserver("ModifiedEvent", _helpers.create_modified_callback(self))