View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011790 | VTK | (No Category) | public | 2011-02-03 04:25 | 2013-06-05 16:24 | ||||
Reporter | John Stark | ||||||||
Assigned To | Jean-Christophe Fillion-Robin | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows | OS | XP | OS Version | 64 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | 5.8 | |||||||
Summary | 0011790: vtkBoxWidget2 does not respect interaction filters. | ||||||||
Description | vtkBoxWidget2 has several attributes that would appear from the documentation to control the interaction, namely : TranslationEnabled, ScalingEnabled and RotationEnabled. However, when I set some these to false, I see no change in the available interactions. | ||||||||
Steps To Reproduce | // Requires this input : // vtkImageData * image; // And these to display : // vtkRenderWindowInteractor * iren; // vtkRenderer * ren; typedef vtkSmartPointer<vtkBoxWidget2> vtkBoxWidget2Pointer; typedef vtkSmartPointer<vtkBoxRepresentation> vtkBoxRepresentationPointer; vtkBoxRepresentationPointer boxRep (vtkBoxRepresentationPointer::New()); boxRep->PlaceWidget( image->GetBounds() ); boxRep->HandlesOn(); vtkBoxWidget2Pointer boxWidget = vtkBoxWidget2Pointer::New(); boxWidget->SetInteractor( iren ); boxWidget->SetRepresentation( boxRep ); boxWidget->On(); boxWidget->TranslationEnabledOff(); boxWidget->ScalingEnabledOff(); boxWidget->RotationEnabledOn(); ren->AddViewProp( boxRep ); | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0025787) Eric Monson (reporter) 2011-03-15 12:10 |
I have a patch up on Gerrit that should address this issue: http://review.source.kitware.com/#change,1206 [^] (Sorry, it looks like I didn't catch a few terminal spaces before submitting...) |
(0025791) John Stark (reporter) 2011-03-16 06:03 |
These changes look good to me, many thanks. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-02-03 04:25 | John Stark | New Issue | |
2011-03-15 12:10 | Eric Monson | Note Added: 0025787 | |
2011-03-16 06:03 | John Stark | Note Added: 0025791 | |
2011-08-10 14:00 | John Biddiscombe | Source_changeset_attached | => VTK master dcb7cc21 |
2013-06-05 16:22 | Jean-Christophe Fillion-Robin | Assigned To | => Jean-Christophe Fillion-Robin |
2013-06-05 16:22 | Jean-Christophe Fillion-Robin | Status | backlog => tabled |
2013-06-05 16:24 | Jean-Christophe Fillion-Robin | Status | tabled => closed |
2013-06-05 16:24 | Jean-Christophe Fillion-Robin | Resolution | open => fixed |
2013-06-05 16:24 | Jean-Christophe Fillion-Robin | Fixed in Version | => 5.8 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |