View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016030 | VTK | (No Category) | public | 2016-03-16 05:27 | 2016-08-12 09:55 | ||||
Reporter | Marc Mörig | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016030: vtkBoxRepresentation always highlights first selected face | ||||||||
Description | vtkBoxWidget2 / vtkBoxRepresentation When I select and move a face, this face gets highlighted. When I move a different face later on, always the first selected face gets highlighted. This fixed face can be reset by disabling/re-enabling the widget, so I suspect some internal pipeline doesn't get updated properly. However, the following change in vtkBoxRepresentation::HighlightFace(int cellId) fixes the issue for me diff --git a/Interaction/Widgets/vtkBoxRepresentation.cxx b/Interaction/Widgets/vtkBoxRepresentation. index e2fc1ee..f6c583c 100644 --- a/Interaction/Widgets/vtkBoxRepresentation.cxx +++ b/Interaction/Widgets/vtkBoxRepresentation.cxx @@ -1282,8 +1282,8 @@ void vtkBoxRepresentation::HighlightFace(int cellId) vtkIdType *pts; vtkCellArray *cells = this->HexFacePolyData->GetPolys(); this->HexPolyData->GetCellPoints(cellId, npts, pts); - this->HexFacePolyData->Modified(); cells->ReplaceCell(0,npts,pts); + cells->Modified(); this->CurrentHexFace = cellId; this->HexFace->SetProperty(this->SelectedFaceProperty); if ( !this->CurrentHandle ) | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037459) Kitware Robot (administrator) 2016-08-12 09:55 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-03-16 05:27 | Marc Mörig | New Issue | |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037459 | |
2016-08-12 09:55 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |