Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Int3d08
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Petr Cermak
Int3d08
Commits
fc3ae838
Commit
fc3ae838
authored
4 months ago
by
Petr Cermak
Browse files
Options
Downloads
Patches
Plain Diff
Do not use SetRenderPointsAsSpheres because of bug in Radeon OpenGL
parent
ef76bc3f
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/rspace/rset.py
+1
-1
1 addition, 1 deletion
src/rspace/rset.py
src/rspace/vtkscan.py
+1
-1
1 addition, 1 deletion
src/rspace/vtkscan.py
src/viewer3D/viewer.py
+1
-1
1 addition, 1 deletion
src/viewer3D/viewer.py
with
3 additions
and
3 deletions
src/rspace/rset.py
+
1
−
1
View file @
fc3ae838
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/rspace/vtkscan.py
+
1
−
1
View file @
fc3ae838
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
src/viewer3D/viewer.py
+
1
−
1
View file @
fc3ae838
...
...
@@ -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
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment