------------------------------------------------------------------------------
| 106 | |
| 107 | //------------------------------------------------------------------------------ |
| 108 | vtkDataRepresentation* 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 | //------------------------------------------------------------------------------ |
| 116 | vtkDataRepresentation* vtkView::CreateDefaultRepresentation(vtkAlgorithmOutput* conn) |