MCPcopy Create free account
hub / github.com/Kitware/VTK / AddDataObjectInput

Method AddDataObjectInput

Rendering/Annotation/vtkXYPlotActor.cxx:578–584  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Add a data object to the list of data to plot.

Source from the content-addressed store, hash-verified

576//------------------------------------------------------------------------------
577// Add a data object to the list of data to plot.
578void vtkXYPlotActor::AddDataObjectInput(vtkDataObject* in)
579{
580 vtkTrivialProducer* tp = vtkTrivialProducer::New();
581 tp->SetOutput(in);
582 this->AddDataObjectInputConnection(tp->GetOutputPort());
583 tp->Delete();
584}
585
586//------------------------------------------------------------------------------
587// Remove a data object from the list of data to plot.

Callers 4

AddUserCurvesPointMethod · 0.95
xyPlot2.pyFile · 0.80
xyPlot3.pyFile · 0.80

Calls 5

DeleteMethod · 0.65
NewFunction · 0.50
SetOutputMethod · 0.45
GetOutputPortMethod · 0.45

Tested by

no test coverage detected