1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00
This commit is contained in:
Kuang Fangjun
2018-06-02 19:16:56 +08:00
parent 40a61ec64e
commit ec42d87204
+1 -1
View File
@@ -528,7 +528,7 @@ void cv::viz::WText3D::setText(const String &text)
cv::String cv::viz::WText3D::getText() const
{
vtkFollower *actor = vtkFollower::SafeDownCast(WidgetAccessor::getProp(*this));
vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this));
CV_Assert("This widget does not support text." && actor);
vtkPolyDataMapper *mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper());