MCPcopy Create free account
hub / github.com/MITK/MITK / GraftOutput

Method GraftOutput

Modules/DataTypesExt/src/mitkLookupTableSource.cpp:47–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void 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
66mitk::LookupTableSource::OutputType *mitk::LookupTableSource::GetOutput()
67{

Callers

nothing calls this directly

Calls 2

GetOutputMethod · 0.95
CopyInformationMethod · 0.45

Tested by

no test coverage detected