VTKFIG  0.20.20181114
Easy VTK based in situ visualization
void vtkfig::Figure::RTInitAnnotations ( )

Init annotations.

Called by RTAddAnnotations() or RTMessage()

Definition at line 728 of file vtkfigFigure.cxx.

729  {
730  if (!annot)
731  {
732 
733  annot= vtkSmartPointer<vtkCornerAnnotation>::New();
734  auto textprop=annot->GetTextProperty();
735  annot->SetMinimumFontSize(8);
736  annot->SetMaximumFontSize(20);
737  textprop->ItalicOff();
738  textprop->BoldOn();
739  textprop->SetFontSize(8);
740  textprop->SetFontFamilyToCourier();
741  textprop->SetColor(0,0,0);
742  }
743 
744  }
vtkSmartPointer< vtkCornerAnnotation > annot
The following items are declared in the base class in order to allow easy coding of interaction...
Definition: vtkfigFigure.h:199