| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010981 | VTK | (No Category) | public | 2010-07-12 11:17 | 2016-08-12 09:55 | ||||
| Reporter | Eric Monson | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS X | OS Version | 10.6.4 | |||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0010981: vtkPropAssembly can't turn off visilibity of sub-assembly | ||||||||
| Description | If you try to turn off the visibility of a sub-assembly of a vtkPropAssembly, ResetCamera ignores the supposedly invisible element, but it is in fact still visible. In Steps To Reproduce I'll put a Python script that demonstrates the problem. (The vtkAssembly that contains a sphere should be invisible, but it's not, although the camera reset centers on the cube alone.) | ||||||||
| Steps To Reproduce | import vtk sphere = vtk.vtkSphereSource() sphMapper = vtk.vtkPolyDataMapper() sphMapper.SetInputConnection(sphere.GetOutputPort()) sphActor = vtk.vtkActor() sphActor.SetMapper(sphMapper) cube = vtk.vtkCubeSource() cubeMapper = vtk.vtkPolyDataMapper() cubeMapper.SetInputConnection(cube.GetOutputPort()) cubeActor = vtk.vtkActor() cubeActor.SetMapper(cubeMapper) cubeActor.SetPosition(1,1,1) sphAssemb = vtk.vtkAssembly() sphAssemb.AddPart(sphActor) mothAssemb = vtk.vtkPropAssembly() mothAssemb.AddPart(cubeActor) mothAssemb.AddPart(sphAssemb) sphAssemb.SetVisibility(0) mothAssemb.SetVisibility(1) ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) ren.AddViewProp(mothAssemb) ren.ResetCamera() renWin.Render() iren.Start() | ||||||||
| Additional Information | This may be related to bug 10979: http://www.vtk.org/Bug/view.php?id=10979 [^] | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0037185) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-07-12 11:17 | Eric Monson | New Issue | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037185 | |
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |