+
+ // Actor Fill_Port_Text
+
+ //------------
+ double xInic = 0;
+ double yInic = 0;
+ double zInic = 900;
+ vtkCellArray *strip = vtkCellArray::New();
+ vtkPolyData *pdFill = vtkPolyData::New();
+ _fillObjectActor = vtkActor::New();
+ _fillPolyMapper = vtkPolyDataMapper::New();
+ _pts = vtkPoints::New();
+
+ _pts->SetNumberOfPoints(4);
+ _pts->SetPoint(0, xInic , yInic , zInic );
+ _pts->SetPoint(1, xInic+50 , yInic , zInic );
+ _pts->SetPoint(2, xInic+50 , yInic+50 , zInic );
+ _pts->SetPoint(3, xInic , yInic+50 , zInic );
+ strip->InsertNextCell(5);
+ strip->InsertCellPoint(0);
+ strip->InsertCellPoint(1);
+ strip->InsertCellPoint(2);
+ strip->InsertCellPoint(0);
+ strip->InsertCellPoint(3);
+ pdFill->SetPoints( _pts );
+ pdFill->SetStrips( strip );
+ _fillPolyMapper->SetInput(pdFill);
+ _fillObjectActor->SetMapper(_fillPolyMapper);
+ _fillObjectActor->GetProperty()->SetColor(PORTFILL_NH_R,PORTFILL_NH_G,PORTFILL_NH_B);
+ _fillPolyMapper->Modified();
+
+ _baseView->GetRenderer()->AddActor( _fillObjectActor );