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

Update all actors belonging to figure.

Definition at line 778 of file vtkfigFigure.cxx.

779  {
780  SetVMinMax();
781  if (SubClassName()!="XYPlot")
782  RTCalcTransform();
783 
784  for (auto actor: actors) {auto m=actor->GetMapper(); if (m) m->Update();}
785  for (auto actor: ctxactors) {auto m=actor->GetScene(); if (m) m->SetDirty(true);}
786  for (auto actor: actors2d){auto m=actor->GetMapper(); if (m) m->Update();}
787  }
std::vector< vtkSmartPointer< vtkActor > > actors
Definition: vtkfigFigure.h:539
void SetVMinMax()
Set minmax values from data.
void RTCalcTransform()
Calculate transformation to unit cube This shall be applied to all data.
std::vector< vtkSmartPointer< vtkContextActor > > ctxactors
The different actor lists.
Definition: vtkfigFigure.h:538
std::vector< vtkSmartPointer< vtkActor2D > > actors2d
Definition: vtkfigFigure.h:540
virtual std::string SubClassName()
Get subclass name (for s-c communication, should be replaced by tag.
Definition: vtkfigFigure.h:384

+ Here is the call graph for this function: