Beispiel #1
0
    def Execute(self):

        if self.Surface == None:
            self.PrintError('Error: No Surface.')

        surfmesh = vtkvmtk.vtkvmtkSurfMeshWrapper()
        surfmesh.SetInputData(self.Surface)
        surfmesh.SetNodeSpacing(self.NodeSpacing)
        surfmesh.Update()

        self.Surface = surfmesh.GetOutput()
Beispiel #2
0
    def Execute(self):

        if self.Surface == None:
            self.PrintError('Error: No Surface.')

        surfmesh = vtkvmtk.vtkvmtkSurfMeshWrapper()
        surfmesh.SetInputData(self.Surface)
        surfmesh.SetNodeSpacing(self.NodeSpacing)
        surfmesh.Update()

        self.Surface = surfmesh.GetOutput()
    def Execute(self):

        if self.Surface == None:
            self.PrintError('Error: No Surface.')

        surfmesh = vtkvmtk.vtkvmtkSurfMeshWrapper()
        surfmesh.SetInput(self.Surface)
        surfmesh.SetNodeSpacing(self.NodeSpacing)
        surfmesh.Update()

        self.Surface = surfmesh.GetOutput()

        if self.Surface.GetSource():
            self.Surface.GetSource().UnRegisterAllOutputs()