-
- Downloads
Create vtkBoundedWidgetRepresentation to handle Widget Outline cropping
Different implicit representations implement a "crop at outline" feature, where the drawn widget is clipped by a bounding box composed of the input data bounding box extended to contain widget Origin. This factorizes this feature. We use inheritance and intermediate class (vtkBoundedWidgetRepresentation), to limit API evolution of concrete vtkImplicitXXXRepresentation. Ported classes: vtkImplicitConeRepresentation, vtkImplicitCylinderRepresentation, vtkImplicitAnnulusRepresentation vtkImplicitPlaneRepresentation Newly supported class: vtkImplicitFrustumRepresentation (it was using a fixed size, instead of dynamic one)
Showing
- Common/DataModel/vtkBoundingBox.cxx 16 additions, 0 deletionsCommon/DataModel/vtkBoundingBox.cxx
- Common/DataModel/vtkBoundingBox.h 23 additions, 0 deletionsCommon/DataModel/vtkBoundingBox.h
- Interaction/Widgets/CMakeLists.txt 1 addition, 0 deletionsInteraction/Widgets/CMakeLists.txt
- Interaction/Widgets/Testing/Cxx/TestImplicitAnnulusWidget.cxx 0 additions, 2 deletions...raction/Widgets/Testing/Cxx/TestImplicitAnnulusWidget.cxx
- Interaction/Widgets/vtkBoundedWidgetRepresentation.cxx 213 additions, 0 deletionsInteraction/Widgets/vtkBoundedWidgetRepresentation.cxx
- Interaction/Widgets/vtkBoundedWidgetRepresentation.h 230 additions, 0 deletionsInteraction/Widgets/vtkBoundedWidgetRepresentation.h
- Interaction/Widgets/vtkImplicitAnnulusRepresentation.cxx 25 additions, 177 deletionsInteraction/Widgets/vtkImplicitAnnulusRepresentation.cxx
- Interaction/Widgets/vtkImplicitAnnulusRepresentation.h 6 additions, 99 deletionsInteraction/Widgets/vtkImplicitAnnulusRepresentation.h
- Interaction/Widgets/vtkImplicitConeRepresentation.cxx 25 additions, 184 deletionsInteraction/Widgets/vtkImplicitConeRepresentation.cxx
- Interaction/Widgets/vtkImplicitConeRepresentation.h 6 additions, 98 deletionsInteraction/Widgets/vtkImplicitConeRepresentation.h
- Interaction/Widgets/vtkImplicitCylinderRepresentation.cxx 61 additions, 254 deletionsInteraction/Widgets/vtkImplicitCylinderRepresentation.cxx
- Interaction/Widgets/vtkImplicitCylinderRepresentation.h 8 additions, 100 deletionsInteraction/Widgets/vtkImplicitCylinderRepresentation.h
- Interaction/Widgets/vtkImplicitFrustumRepresentation.cxx 34 additions, 16 deletionsInteraction/Widgets/vtkImplicitFrustumRepresentation.cxx
- Interaction/Widgets/vtkImplicitFrustumRepresentation.h 4 additions, 40 deletionsInteraction/Widgets/vtkImplicitFrustumRepresentation.h
- Interaction/Widgets/vtkImplicitPlaneRepresentation.cxx 31 additions, 186 deletionsInteraction/Widgets/vtkImplicitPlaneRepresentation.cxx
- Interaction/Widgets/vtkImplicitPlaneRepresentation.h 7 additions, 88 deletionsInteraction/Widgets/vtkImplicitPlaneRepresentation.h
Loading
Please register or sign in to comment