------------------------------------------------------------------------------
| 115 | |
| 116 | //------------------------------------------------------------------------------ |
| 117 | void vtkImageData::CopyInformationToPipeline(vtkInformation* info) |
| 118 | { |
| 119 | // Let the superclass copy information to the pipeline. |
| 120 | this->Superclass::CopyInformationToPipeline(info); |
| 121 | |
| 122 | // Copy the spacing, origin, direction, and scalar info |
| 123 | info->Set(vtkDataObject::SPACING(), this->Spacing, 3); |
| 124 | info->Set(vtkDataObject::ORIGIN(), this->Origin, 3); |
| 125 | info->Set(vtkDataObject::DIRECTION(), this->DirectionMatrix->GetData(), 9); |
| 126 | vtkDataObject::SetPointDataActiveScalarInfo( |
| 127 | info, this->GetScalarType(), this->GetNumberOfScalarComponents()); |
| 128 | } |
| 129 | |
| 130 | //------------------------------------------------------------------------------ |
| 131 | // Graphics filters reallocate every execute. Image filters try to reuse |
no test coverage detected