| 93 | } |
| 94 | |
| 95 | void vtkVolumeMapper::SetInputData(vtkDataSet* genericInput) |
| 96 | { |
| 97 | if (vtkImageData* imageData = vtkImageData::SafeDownCast(genericInput)) |
| 98 | { |
| 99 | this->SetInputData(imageData); |
| 100 | } |
| 101 | else if (vtkRectilinearGrid* rectGrid = vtkRectilinearGrid::SafeDownCast(genericInput)) |
| 102 | { |
| 103 | this->SetInputData(rectGrid); |
| 104 | } |
| 105 | else |
| 106 | { |
| 107 | vtkErrorMacro("The SetInput method of this mapper requires either" |
| 108 | << " a vtkImageData or a vtkRectilinearGrid as input"); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | void vtkVolumeMapper::SetInputData(vtkImageData* input) |
| 113 | { |
no outgoing calls