We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c8da29 + 6205981 commit b7ad95bCopy full SHA for b7ad95b
modules/viz/src/widget.cpp
@@ -202,6 +202,8 @@ double cv::viz::Widget::getRenderingProperty(int property) const
202
#else
203
case IMMEDIATE_RENDERING: std::cerr << "this property has no effect" << std::endl; break;
204
#endif
205
+ case AMBIENT: value = actor->GetProperty()->GetAmbient(); break;
206
+ case LIGHTING: value = actor->GetProperty()->GetLighting(); break;
207
case FONT_SIZE:
208
{
209
vtkTextActor* text_actor = vtkTextActor::SafeDownCast(actor);
0 commit comments