------------------------------------------------------------------------------
| 223 | |
| 224 | //------------------------------------------------------------------------------ |
| 225 | vtkAlgorithmOutput* vtkDataRepresentation::GetInternalSelectionOutputPort(int port, int conn) |
| 226 | { |
| 227 | // First make sure the convert domain filter is up to date. |
| 228 | if (!this->GetInternalAnnotationOutputPort(port, conn)) |
| 229 | { |
| 230 | return nullptr; |
| 231 | } |
| 232 | |
| 233 | // Output port 1 of the convert domain filter is the current selection |
| 234 | // that was contained in the linked annotation. |
| 235 | std::pair<int, int> p(port, conn); |
| 236 | if (this->Implementation->ConvertDomainInternal.find(p) != |
| 237 | this->Implementation->ConvertDomainInternal.end()) |
| 238 | { |
| 239 | return this->Implementation->ConvertDomainInternal[p]->GetOutputPort(1); |
| 240 | } |
| 241 | return nullptr; |
| 242 | } |
| 243 | |
| 244 | //------------------------------------------------------------------------------ |
| 245 | void vtkDataRepresentation::Select(vtkView* view, vtkSelection* selection, bool extend) |
no test coverage detected