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

Method SetInputData

Interaction/Widgets/vtk3DWidget.cxx:184–190  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

182
183//------------------------------------------------------------------------------
184void vtk3DWidget::SetInputData(vtkDataSet* ds)
185{
186 vtkTrivialProducer* tp = vtkTrivialProducer::New();
187 tp->SetOutput(ds);
188 this->SetInputConnection(tp->GetOutputPort());
189 tp->Delete();
190}
191
192//------------------------------------------------------------------------------
193vtkDataSet* vtk3DWidget::GetInput()

Calls 5

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

Tested by 15

testBugMethod · 0.36
TestPointWidgetFunction · 0.36
CreateHexahedronActorFunction · 0.36
CreatePyramidActorFunction · 0.36
CreateTetraActorFunction · 0.36
CreateVoxelActorFunction · 0.36
CreateWedgeActorFunction · 0.36
TestPlaneWidgetFunction · 0.36