Home | History | Annotate | Download | only in src

Lines Matching full:actor

200     // Get the actor and set the user matrix
201 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(widget));
202 if (actor)
204 // If the actor is 3D, apply pose
206 actor->SetUserMatrix(matrix);
207 actor->Modified();
209 // If the actor is a vtkFollower, then it should always face the camera
210 vtkFollower *follower = vtkFollower::SafeDownCast(actor);
249 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second);
250 CV_Assert("Widget is not 3D." && actor);
253 actor->SetUserMatrix(matrix);
254 actor->Modified();
264 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second);
265 CV_Assert("Widget is not 3D." && actor);
267 vtkSmartPointer<vtkMatrix4x4> matrix = actor->GetUserMatrix();
276 actor->SetUserMatrix(matrix);
277 actor->Modified();
287 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second);
288 CV_Assert("Widget is not 3D." && actor);
290 return Affine3d(*actor->GetUserMatrix()->Element);
321 bool cv::viz::Viz3d::VizImpl::removeActorFromRenderer(vtkSmartPointer<vtkProp> actor)
327 if (current_actor == actor)
329 renderer_->RemoveActor(actor);
485 vtkProp3D *actor = vtkProp3D::SafeDownCast(it->second);
486 CV_Assert("Widget is not 3D." && actor);
487 camera_pose = actor->GetUserMatrix();
524 vtkActor * actor;
529 while ((actor = actors->GetNextActor()) != NULL)
530 actor->GetProperty()->SetRepresentationToPoints();
535 while ((actor = actors->GetNextActor()) != NULL)
536 actor->GetProperty()->SetRepresentationToSurface();
541 while ((actor = actors->GetNextActor()) != NULL)
542 actor->GetProperty()->SetRepresentationToWireframe();