Skip to content
Snippets Groups Projects
Commit fc3ae838 authored by Petr Cermak's avatar Petr Cermak
Browse files

Do not use SetRenderPointsAsSpheres because of bug in Radeon OpenGL

parent ef76bc3f
Branches master
No related tags found
No related merge requests found
......@@ -473,4 +473,4 @@ class RSet():
self.mapper.SetInputData(self.data)
self.mapper.SetScalarRange(-1,1)
self.actor.SetMapper(self.mapper)
self.actor.GetProperty().SetRenderPointsAsSpheres(True)
\ No newline at end of file
#self.actor.GetProperty().SetRenderPointsAsSpheres(True)
\ No newline at end of file
......@@ -106,7 +106,7 @@ class VTKScan():
self.mapper.SetInputConnection(self.vtk_threshold.GetOutputPort())
self.actor = vtk.vtkActor()
self.actor.SetMapper(self.mapper)
self.actor.GetProperty().SetRenderPointsAsSpheres(True)
#self.actor.GetProperty().SetRenderPointsAsSpheres(True)
self.actor.GetProperty().SetPointSize(self.size)
#self.actor.GetMapper().GetLookupTable().SetScale(self.scale)
......
......@@ -225,7 +225,7 @@ class Viewer(QtWidgets.QMainWindow):
self.actor_scan = vtk.vtkActor()
self.actor_scan.SetMapper(mapper)
self.actor_scan.GetProperty().SetPointSize(4)
self.actor_scan.GetProperty().SetRenderPointsAsSpheres(2)
#self.actor_scan.GetProperty().SetRenderPointsAsSpheres(2)
def display(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment