def setUp(self):

        self.datafiles = getDataFiles(DATADIR)
        ref = read_vtkpd(self.datafiles[0])
        self.representer = statismo.vtkPolyDataRepresenter.Create(ref, statismo.vtkPolyDataRepresenter.RIGID)        
        self.dataManager = statismo.DataManager_vtkPD.Create(self.representer)
        
        datasets = map(read_vtkpd, self.datafiles)
        for (dataset, filename) in zip(datasets, self.datafiles):        
            self.dataManager.AddDataset(dataset, filename)
    def setUp(self):

        self.datafiles = getDataFiles(DATADIR)
        ref = read_vtkpd(self.datafiles[0])
        self.representer = statismo.vtkStandardMeshRepresenter.Create(ref)
        self.dataManager = statismo.DataManager_vtkPD.Create(self.representer)

        datasets = map(read_vtkpd, self.datafiles)
        for (dataset, filename) in zip(datasets, self.datafiles):
            self.dataManager.AddDataset(dataset, filename)
 def setUp(self):
     self.datafiles = getDataFiles(DATADIR)
     ref = read_vtkpd(self.datafiles[0])
         
     self.representer = statismo.vtkStandardMeshRepresenter.Create(ref)        
Example #4
0
    def setUp(self):
        self.datafiles = getDataFiles(DATADIR)
        ref = read_vtkpd(self.datafiles[0])

        self.representer = statismo.vtkPolyDataRepresenter.Create(
            ref, statismo.vtkPolyDataRepresenter.RIGID)
 def setUp(self):
     self.datafiles = getDataFiles(DATADIR)
     ref = read_vtkpd(self.datafiles[0])
         
     self.representer = statismo.vtkStandardMeshRepresenter.Create(ref)        
Example #6
0
 def setUp(self):
     self.datafiles = getDataFiles(DATADIR)
     ref = read_vtkpd(self.datafiles[0])
         
     self.representer = statismo.vtkPolyDataRepresenter.Create(ref, statismo.vtkPolyDataRepresenter.RIGID)