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

Definition at line 248 of file vtkfigFigure.cxx.

249  {
250  //if (this->SubClassName()!="ScalarView") return;
251 
252  int i=isoline_filter->GetNumberOfContours();
253  if (i>0)
254  {
255  double isolevel=isoline_filter->GetValue(i-1);
256  RTMessage("isolevel["+ std::to_string(i-1)+ "]="+std::to_string(isolevel));
257  }
258  else
259  {
260  RTMessage("[Return] for isolevel[0]="+std::to_string(0.5*(state.real_vmin+state.real_vmax)));
261  }
262  }
void RTMessage(std::string msg)
Show string in message field.
vtkSmartPointer< vtkContourFilter > isoline_filter
Definition: vtkfigFigure.h:224
struct vtkfig::Figure::@0 state
figure state

+ Here is the call graph for this function: