MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010982 | VTK | (No Category) | public | 2010-07-12 11:25 | 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 and Ubuntu | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0010982: vtkPropAssembly crashes when trying to add sub-PropAssembly | ||||
| Description | I can add a vtkAssembly to a vtkPropAssembly, but if I try to add a vtkPropAssembly to another vtkPropAssembly I get a Segmentation fault. I'll add a Python script to show this in Steps To Reproduce. | ||||
| 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.vtkPropAssembly() sphAssemb.AddPart(sphActor) mothAssemb = vtk.vtkPropAssembly() mothAssemb.AddPart(cubeActor) mothAssemb.AddPart(sphAssemb) 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 | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-07-12 11:25 | Eric Monson | New Issue | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037186 | |||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||