![]() |
OpenCV
4.1.0
Open Source Computer Vision
|
Base class of all widgets. Widget is implicitly shared. More...
#include <opencv2/viz/widgets.hpp>
Public Member Functions | |
| Widget () | |
| Widget (const Widget &other) | |
| virtual | ~Widget () |
| template<typename _W > | |
| _W | cast () const |
| Casts a widget to another. | |
| double | getRenderingProperty (int property) const |
| Returns rendering property of the widget. | |
| Widget & | operator= (const Widget &other) |
| void | setRenderingProperty (int property, double value) |
| Sets rendering property of the widget. | |
Static Public Member Functions | |
| static Widget | fromPlyFile (const String &file_name) |
| Creates a widget from ply file. | |
Friends | |
| struct | WidgetAccessor |
Base class of all widgets. Widget is implicitly shared.
| cv::viz::Widget::Widget | ( | ) |
| cv::viz::Widget::Widget | ( | const Widget & | other | ) |
|
virtual |
Creates a widget from ply file.
| file_name | Ply file name. |
| double cv::viz::Widget::getRenderingProperty | ( | int | property | ) | const |
Returns rendering property of the widget.
| property | Property. |
Rendering property can be one of the following:
REPRESENTATION: Expected values are
IMMEDIATE_RENDERING:
SHADING: Expected values are
| void cv::viz::Widget::setRenderingProperty | ( | int | property, |
| double | value | ||
| ) |
Sets rendering property of the widget.
| property | Property that will be modified. |
| value | The new value of the property. |
Rendering property can be one of the following:
REPRESENTATION: Expected values are
IMMEDIATE_RENDERING:
SHADING: Expected values are
|
friend |
1.8.3