Lines Matching refs:actor
201 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(widget)); in showWidget() local
202 if (actor) in showWidget()
206 actor->SetUserMatrix(matrix); in showWidget()
207 actor->Modified(); in showWidget()
210 vtkFollower *follower = vtkFollower::SafeDownCast(actor); in showWidget()
249 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); in setWidgetPose() local
250 CV_Assert("Widget is not 3D." && actor); in setWidgetPose()
253 actor->SetUserMatrix(matrix); in setWidgetPose()
254 actor->Modified(); in setWidgetPose()
264 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); in updateWidgetPose() local
265 CV_Assert("Widget is not 3D." && actor); in updateWidgetPose()
267 vtkSmartPointer<vtkMatrix4x4> matrix = actor->GetUserMatrix(); in updateWidgetPose()
276 actor->SetUserMatrix(matrix); in updateWidgetPose()
277 actor->Modified(); in updateWidgetPose()
287 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); in getWidgetPose() local
288 CV_Assert("Widget is not 3D." && actor); in getWidgetPose()
290 return Affine3d(*actor->GetUserMatrix()->Element); in getWidgetPose()
321 bool cv::viz::Viz3d::VizImpl::removeActorFromRenderer(vtkSmartPointer<vtkProp> actor) in removeActorFromRenderer() argument
327 if (current_actor == actor) in removeActorFromRenderer()
329 renderer_->RemoveActor(actor); in removeActorFromRenderer()
485 vtkProp3D *actor = vtkProp3D::SafeDownCast(it->second); in resetCameraViewpoint() local
486 CV_Assert("Widget is not 3D." && actor); in resetCameraViewpoint()
487 camera_pose = actor->GetUserMatrix(); in resetCameraViewpoint()
524 vtkActor * actor; in setRepresentation() local
529 while ((actor = actors->GetNextActor()) != NULL) in setRepresentation()
530 actor->GetProperty()->SetRepresentationToPoints(); in setRepresentation()
535 while ((actor = actors->GetNextActor()) != NULL) in setRepresentation()
536 actor->GetProperty()->SetRepresentationToSurface(); in setRepresentation()
541 while ((actor = actors->GetNextActor()) != NULL) in setRepresentation()
542 actor->GetProperty()->SetRepresentationToWireframe(); in setRepresentation()