------------------------------------------------------------------------------
| 220 | |
| 221 | //------------------------------------------------------------------------------ |
| 222 | int vtkSQLDatabaseGraphSource::RequestDataObject( |
| 223 | vtkInformation*, vtkInformationVector**, vtkInformationVector*) |
| 224 | { |
| 225 | vtkGraph* output = 0; |
| 226 | if (this->Directed) |
| 227 | { |
| 228 | output = vtkDirectedGraph::New(); |
| 229 | } |
| 230 | else |
| 231 | { |
| 232 | output = vtkUndirectedGraph::New(); |
| 233 | } |
| 234 | this->GetExecutive()->SetOutputData(0, output); |
| 235 | output->Delete(); |
| 236 | |
| 237 | return 1; |
| 238 | } |
| 239 | |
| 240 | //------------------------------------------------------------------------------ |
| 241 | int vtkSQLDatabaseGraphSource::RequestData( |
nothing calls this directly
no test coverage detected