Skip to content

Failure of 3D dicom dose plot when RadPy resized #14

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Open a 3D Dicom-RT dose file.
2. Plot it in a plot window.
3. Resize RadPy's main window.

What is the expected output? What do you see instead?

The viewing planes sliders should still work after resizing.  Instead they do 
not move and give the following traceback.

Traceback (most recent call last):
  File "enthought\enable\qt4\base_window.pyc", line 182, in mouseMoveEvent

  File "enthought\enable\qt4\base_window.pyc", line 120, in mouseMoveEvent

  File "enthought\enable\abstract_window.pyc", line 269, in _handle_mouse_event

  File "enthought\enable\base_tool.pyc", line 114, in dispatch

  File "enthought\enable\tools\drag_tool.pyc", line 109, in _dispatch_stateful_event

  File "enthought\enable\tools\drag_tool.pyc", line 155, in _drag_mouse_move

  File "radpy\plugins\BeamAnalysis\view\Plot3D.pyc", line 186, in dragging

  File "radpy\plugins\BeamAnalysis\view\Plot3D.pyc", line 203, in index_changed

  File "radpy\plugins\BeamAnalysis\view\Plot3D.pyc", line 367, in _index_callback

  File "radpy\plugins\BeamAnalysis\view\Plot3D.pyc", line 345, in _update_indices

  File "radpy\plugins\BeamAnalysis\view\Plot3D.pyc", line 217, in update_index

  File "enthought\chaco\base_2d_plot.pyc", line 119, in map_screen

  File "enthought\chaco\grid_mapper.pyc", line 111, in map_screen

  File "enthought\chaco\linear_mapper.pyc", line 54, in map_screen

TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 
'numpy.float64'

Original issue reported on code.google.com by flounder.sdt@gmail.com on 7 Oct 2011 at 6:51

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions