[vtkusers] DICOM images
John Drescher
drescherjm at gmail.com
Tue Jun 12 12:03:38 EDT 2012
On Tue, Jun 12, 2012 at 11:52 AM, Massi
<Massinissa.Bandou at usherbrooke.ca> wrote:
> Hi Jochen
> I was looking for an example of reading a dicom series. So I'm using
> QVTKWidget to display the result. I have the same code according to the
> example and I added the following code immediately after adding the
> usageTextActor:
> imageViewer->GetRenderer()->AddActor2D(usageTextActor);
> // I added this
> imageViewer->SetRenderWindow(widget.qvtkWidget->GetRenderWindow());
> imageViewer->Render();
> imageViewer->GetRenderer()->ResetCamera();
> imageViewer->Render();
>
> It shows the first slice and I can easily zoom in and out with the right
> click mouse but when I want to change the slice, it just doesn't work with
> the UP and Down keys. It crash with the left click mouse. Do you know why it
> does this?
>
Are you mixing debug and release in visual studio? Remember when you
use visual studio you can not safely have parts of your program
compiled in debug mode when other dlls are release or vise versa.
John
More information about the vtkusers
mailing list