This class is for users who want to develop their own widgets using VTK library API. :
More...
#include <opencv2/viz/widget_accessor.hpp>
|
static vtkSmartPointer< vtkProp > | getProp (const Widget &widget) |
| Returns vtkProp of a given widget.
|
|
static void | setProp (Widget &widget, vtkSmartPointer< vtkProp > prop) |
| Sets vtkProp of a given widget.
|
|
This class is for users who want to develop their own widgets using VTK library API. :
◆ getProp()
static vtkSmartPointer< vtkProp > cv::viz::WidgetAccessor::getProp |
( |
const Widget & | widget | ) |
|
|
static |
Returns vtkProp of a given widget.
- Parameters
-
widget | Widget whose vtkProp is to be returned. |
- Note
- vtkProp has to be down cast appropriately to be modified.
◆ setProp()
static void cv::viz::WidgetAccessor::setProp |
( |
Widget & | widget, |
|
|
vtkSmartPointer< vtkProp > | prop ) |
|
static |
Sets vtkProp of a given widget.
- Parameters
-
widget | Widget whose vtkProp is to be set. |
prop | A vtkProp. |
The documentation for this struct was generated from the following file: