MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010427 | VTK | (No Category) | public | 2010-03-17 07:10 | 2016-08-12 09:55 |
| Reporter | Yoyi | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0010427: vtkPointWidget::TranslationModeOff does not work | ||||
| Description | Hello, if would like to disable translation mode in PointWidget, but TranslationModeOff seem to be not working, ie, even disabling the transaltion it continues doing when it is triggered by the MiddleButton. I have check it in Examples/GUI/Tcl/ProbeWithPointWidget.tcl Looking at the cxx code else if ( this->State == vtkPointWidget::Translating ) { if ( !this->WaitingForMotion || this->WaitCount++ > 3 ) { this->ConstraintAxis = this->DetermineConstraintAxis(this->ConstraintAxis,pickPoint); this->Translate(prevPickPoint, pickPoint); } else { return; //avoid the extra render } } I can see that Translate is invoked regardless it is enabled or not. I think that a check to this->Cursor3D->GetTranslationMode() should be added to the condition: if ( this->State == vtkPointWidget::Translating && this->Cursor3D->GetTranslationMode() ) is correct? best regards, Jorge | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-03-17 07:10 | Yoyi | New Issue | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037154 | |||
| 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 | |||||
|
|
|||||
|
|
||||