------------------------------------------------------------------------------
| 98 | |
| 99 | //------------------------------------------------------------------------------ |
| 100 | vtkDataRepresentation* 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 | //------------------------------------------------------------------------------ |
| 108 | vtkDataRepresentation* vtkView::SetRepresentationFromInput(vtkDataObject* input) |