------------------------------------------------------------------------------
| 62 | |
| 63 | //------------------------------------------------------------------------------ |
| 64 | void vtkAxisAlignedReflectionFilter::ComputeBounds(vtkDataObject* input, double bounds[6]) |
| 65 | { |
| 66 | vtkDataSet* inputDS = vtkDataSet::SafeDownCast(input); |
| 67 | vtkCompositeDataSet* inputCD = vtkCompositeDataSet::SafeDownCast(input); |
| 68 | |
| 69 | if (inputDS) |
| 70 | { |
| 71 | inputDS->GetBounds(bounds); |
| 72 | } |
| 73 | else if (inputCD) |
| 74 | { |
| 75 | inputCD->GetBounds(bounds); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | //------------------------------------------------------------------------------ |
| 80 | bool vtkAxisAlignedReflectionFilter::ProcessPDC(vtkPartitionedDataSetCollection* inputPDC, |