| 45 | } |
| 46 | |
| 47 | void mitk::LookupTableSource::GraftOutput(OutputType *graft) |
| 48 | { |
| 49 | OutputType *output = this->GetOutput(); |
| 50 | |
| 51 | if (output && graft) |
| 52 | { |
| 53 | // grab a handle to the bulk data of the specified data object |
| 54 | // output->SetPixelContainer( graft->GetPixelContainer() ); |
| 55 | |
| 56 | // copy the region ivars of the specified data object |
| 57 | // output->SetRequestedRegion( graft->GetRequestedRegion() ); |
| 58 | // output->SetLargestPossibleRegion( graft->GetLargestPossibleRegion() ); |
| 59 | // output->SetBufferedRegion( graft->GetBufferedRegion() ); |
| 60 | |
| 61 | // copy the meta-information |
| 62 | output->CopyInformation(graft); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | mitk::LookupTableSource::OutputType *mitk::LookupTableSource::GetOutput() |
| 67 | { |
nothing calls this directly
no test coverage detected