View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001411VTK(No Category)public2004-12-08 22:502016-08-12 09:54
ReporterAndrew Maclean 
Assigned ToDave DeMarle 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001411: vtkImageViewer2 - Render() problem.
DescriptionTaken from one of Will's exercises (reorganized exercises, exercise3b_answer.cxx):

Any code like this executes once only if the viewer is of type vtkImageViewer2:

  for (i = 1; i < 93; ++i)
    {
    viewer->SetZSlice(i);
    
    // compute the string
    sprintf(tstr,"Slice: %i",i);
    tactor->SetInput(tstr);

    // we must reset the clipping range for each slice or set it ahead of
    // time because they are positioned in world coordinates
    viewer->GetRenderer()->ResetCameraClippingRange();
    viewer->Render();
   }

What happens is that after the first render the next call to Render() hangs.

If the viewer is of type vtkImageViewer the code works OK.

The problem is in both Windows XP and Linux.
Using .NET under XP or gcc3.3 under Linux.
TagsNo tags attached.
Project
Type
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0001789)
Mathieu Malaterre (developer)
2004-12-09 18:42

I cannot reproduce the problem on Linux, gcc3.3. What version of VTK are you using ?

BTW the CVS version of VTK doesn't need anymore the line:

viewer->GetRenderer()->ResetCameraClippingRange();

Because by default the vtkImageViewer2 is: AutoResetCameraClippingRangeOn

HTH
(0001836)
Mathieu Malaterre (developer)
2004-12-22 22:37

Closing the bug as author did not respond.
(0001845)
Andrew Maclean (reporter)
2004-12-23 18:18

please don't close this.

This fails under VTK 4.5, VC 7.1 and gcc-3.3.4. While Will was over here in Sydney, he was also able to see the problem.

I responded by e-mail a few weeks ago to your enquiries.
(0001847)
Andrew Maclean (reporter)
2004-12-23 18:26

Fails in the development version of VTK, namely VTK4.5. Will Schroeder, while he was out here also saw this behaviour. Compilers used: Windows XP/VC7.1, Lunix - Debian gcc-3.3.4

Thanks
   Andrew
(0030943)
Jean-Christophe Fillion-Robin (manager)
2013-06-05 17:13

Does the problem still occur with VTK 5.10 ? VTK 6 ?
(0031213)
Dave DeMarle (administrator)
2013-07-22 19:10

If the bug persists in 6.0.0, please reopen.
(0036756)
Kitware Robot (administrator)
2016-08-12 09:54

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.

- Issue History
Date Modified Username Field Change
2008-11-30 09:20 Mathieu Malaterre Status @30@ => tabled
2008-11-30 09:20 Mathieu Malaterre Assigned To Mathieu Malaterre => David Cole
2011-01-19 10:09 David Cole Assigned To David Cole =>
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-06-05 17:13 Jean-Christophe Fillion-Robin Note Added: 0030943
2013-07-22 19:10 Dave DeMarle Note Added: 0031213
2013-07-22 19:10 Dave DeMarle Status backlog => expired
2013-07-22 19:10 Dave DeMarle Assigned To => Dave DeMarle
2015-01-11 08:24 Utkarsh Ayachit Source_changeset_attached => ParaView master 1f7cf89a
2016-08-12 09:54 Kitware Robot Note Added: 0036756
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker