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

Method SetInputData

Rendering/Annotation/vtkCubeAxesActor2D.cxx:181–187  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected