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

Method AddDataSetInput

Rendering/Annotation/vtkXYPlotActor.cxx:405–411  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

403
404//------------------------------------------------------------------------------
405void vtkXYPlotActor::AddDataSetInput(vtkDataSet* ds, const char* arrayName, int component)
406{
407 vtkTrivialProducer* tp = vtkTrivialProducer::New();
408 tp->SetOutput(ds);
409 this->AddDataSetInputConnection(tp->GetOutputPort(), arrayName, component);
410 tp->Delete();
411}
412
413//------------------------------------------------------------------------------
414// Add a dataset and array to the list of data to plot.

Callers 4

AddDataSetInputFunction · 0.80
xyPlot.pyFile · 0.80
TestXYPlotActorFunction · 0.80

Calls 5

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

Tested by 1

TestXYPlotActorFunction · 0.64