Lines Matching full:actor
63 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
64 actor->SetMapper(mapper);
66 WidgetAccessor::setProp(*this, actor);
94 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
95 actor->SetMapper(mapper);
97 WidgetAccessor::setProp(*this, actor);
123 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
124 actor->SetMapper(mapper);
125 actor->GetProperty()->LightingOff();
127 WidgetAccessor::setProp(*this, actor);
175 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
176 actor->SetMapper(mapper);
178 WidgetAccessor::setProp(*this, actor);
204 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
205 actor->GetProperty()->LightingOff();
206 actor->SetMapper(mapper);
208 WidgetAccessor::setProp(*this, actor);
247 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
248 actor->SetMapper(mapper);
250 WidgetAccessor::setProp(*this, actor);
292 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
293 actor->SetMapper(mapper);
295 WidgetAccessor::setProp(*this, actor);
335 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
336 actor->SetMapper(mapper);
338 WidgetAccessor::setProp(*this, actor);
379 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
380 actor->SetMapper(mapper);
382 WidgetAccessor::setProp(*this, actor);
413 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
414 actor->SetMapper(mapper);
416 WidgetAccessor::setProp(*this, actor);
458 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
459 actor->SetMapper(mapper);
461 WidgetAccessor::setProp(*this, actor);
495 vtkSmartPointer<vtkFollower> actor = vtkSmartPointer<vtkFollower>::New();
496 actor->SetMapper(mapper);
497 actor->SetPosition(position.x, position.y, position.z);
498 actor->SetScale(text_scale);
499 WidgetAccessor::setProp(*this, actor);
503 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
504 actor->SetMapper(mapper);
505 actor->SetPosition(position.x, position.y, position.z);
506 actor->SetScale(text_scale);
507 actor->GetProperty()->LightingOff();
508 WidgetAccessor::setProp(*this, actor);
516 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this));
517 CV_Assert("This widget does not support text." && actor);
520 vtkPolyDataMapper *mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper());
531 vtkFollower *actor = vtkFollower::SafeDownCast(WidgetAccessor::getProp(*this));
532 CV_Assert("This widget does not support text." && actor);
534 vtkPolyDataMapper *mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper());
552 vtkSmartPointer<vtkTextActor> actor = vtkSmartPointer<vtkTextActor>::New();
553 actor->SetDisplayPosition(pos.x, pos.y);
554 actor->SetInput(text.c_str());
556 actor->GetProperty()->SetDisplayLocationToForeground();
558 vtkSmartPointer<vtkTextProperty> tprop = actor->GetTextProperty();
567 WidgetAccessor::setProp(*this, actor);
578 vtkTextActor *actor = vtkTextActor::SafeDownCast(WidgetAccessor::getProp(*this));
579 CV_Assert("This widget does not support text." && actor);
580 actor->SetInput(text.c_str());
585 vtkTextActor *actor = vtkTextActor::SafeDownCast(WidgetAccessor::getProp(*this));
586 CV_Assert("This widget does not support text." && actor);
587 return actor->GetInput();
618 vtkSmartPointer<vtkActor2D> actor = vtkSmartPointer<vtkActor2D>::New();
619 actor->SetMapper(image_mapper);
620 actor->SetPosition(rect.x, rect.y);
621 actor->GetProperty()->SetDisplayLocationToForeground();
623 WidgetAccessor::setProp(*this, actor);
630 vtkActor2D *actor = vtkActor2D::SafeDownCast(WidgetAccessor::getProp(*this));
631 CV_Assert("This widget does not support overlay image." && actor);
633 vtkImageMapper *mapper = vtkImageMapper::SafeDownCast(actor->GetMapper());
691 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
692 actor->SetMapper(mapper);
693 actor->SetTexture(texture);
694 actor->GetProperty()->ShadingOff();
695 actor->GetProperty()->LightingOff();
697 WidgetAccessor::setProp(*this, actor);
719 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this));
720 CV_Assert("This widget does not support 3D image." && actor);
728 actor->SetTexture(texture);
796 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
797 actor->SetMapper(mapper);
799 WidgetAccessor::setProp(*this, actor);
816 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
817 actor->SetMapper(mapper);
819 WidgetAccessor::setProp(*this, actor);
833 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
834 actor->SetMapper(mapper);
836 WidgetAccessor::setProp(*this, actor);
868 vtkSmartPointer<vtkActor> actor = getActor(image_widget);
869 actor->GetMapper()->SetInputConnection(append_filter->GetOutputPort());
870 WidgetAccessor::setProp(*this, actor);
900 vtkSmartPointer<vtkActor> actor = getActor(image_widget);
901 actor->GetMapper()->SetInputConnection(append_filter->GetOutputPort());
902 WidgetAccessor::setProp(*this, actor);
950 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
951 actor->SetMapper(mapper);
953 WidgetAccessor::setProp(*this, actor);
985 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
986 actor->SetMapper(mapper);
988 WidgetAccessor::setProp(*this, actor);
1011 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
1012 actor->SetMapper(mapper);
1014 WidgetAccessor::setProp(*this, actor);
1079 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
1080 actor->SetMapper(mapper);
1082 WidgetAccessor::setProp(*this, actor);