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

Method SetRepresentationFromInput

Views/Core/vtkView.cxx:108–113  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

106
107//------------------------------------------------------------------------------
108vtkDataRepresentation* vtkView::SetRepresentationFromInput(vtkDataObject* input)
109{
110 vtkSmartPointer<vtkTrivialProducer> tp = vtkSmartPointer<vtkTrivialProducer>::New();
111 tp->SetOutput(input);
112 return this->SetRepresentationFromInputConnection(tp->GetOutputPort());
113}
114
115//------------------------------------------------------------------------------
116vtkDataRepresentation* vtkView::CreateDefaultRepresentation(vtkAlgorithmOutput* conn)

Callers 6

TestIconGlyphFilterFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
slotOpenSQLiteDBMethod · 0.80

Calls 4

NewFunction · 0.50
SetOutputMethod · 0.45
GetOutputPortMethod · 0.45

Tested by 2

TestIconGlyphFilterFunction · 0.64