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

Method AddRepresentationFromInput

Views/Core/vtkView.cxx:100–105  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

98
99//------------------------------------------------------------------------------
100vtkDataRepresentation* vtkView::AddRepresentationFromInput(vtkDataObject* input)
101{
102 vtkSmartPointer<vtkTrivialProducer> tp = vtkSmartPointer<vtkTrivialProducer>::New();
103 tp->SetOutput(input);
104 return this->AddRepresentationFromInputConnection(tp->GetOutputPort());
105}
106
107//------------------------------------------------------------------------------
108vtkDataRepresentation* vtkView::SetRepresentationFromInput(vtkDataObject* input)

Callers 5

TestVtkQtTableViewFunction · 0.80
mainFunction · 0.80

Calls 4

NewFunction · 0.50
SetOutputMethod · 0.45
GetOutputPortMethod · 0.45

Tested by 1

TestVtkQtTableViewFunction · 0.64