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

Method AddInputDataObject

Common/ExecutionModel/vtkAlgorithm.cxx:2032–2041  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2030
2031//------------------------------------------------------------------------------
2032void vtkAlgorithm::AddInputDataObject(int port, vtkDataObject* input)
2033{
2034 if (input)
2035 {
2036 vtkTrivialProducer* tp = vtkTrivialProducer::New();
2037 tp->SetOutput(input);
2038 this->AddInputConnection(port, tp->GetOutputPort());
2039 tp->Delete();
2040 }
2041}
2042VTK_ABI_NAMESPACE_END

Callers 15

SaveTileBuildingsMethod · 0.80
ReadOBJMeshFunction · 0.80
AddInputDataObjectFunction · 0.80
AddInputDataInternalFunction · 0.80
Deserialize_vtkAlgorithmFunction · 0.80
RequestCompositeDataMethod · 0.80
TestGroupDataSetsFilterFunction · 0.80
MergeFunction · 0.80
SetPartitionCountFunction · 0.80
RequestDataMethod · 0.80
RedistributePTDMethod · 0.80

Calls 5

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

Tested by 3

ReadOBJMeshFunction · 0.64
TestGroupDataSetsFilterFunction · 0.64