Esempio n. 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()
Esempio n. 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()
Esempio n. 3
0
    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()