MCPcopy Create free account
hub / github.com/Kitware/VTK / InvokeExecuteDataCallbacks

Method InvokeExecuteDataCallbacks

IO/Image/vtkImageImport.cxx:437–454  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

435
436//------------------------------------------------------------------------------
437void vtkImageImport::InvokeExecuteDataCallbacks()
438{
439 if (this->UpdateDataCallback)
440 {
441 tryCatchMacro(
442 (this->UpdateDataCallback)(this->CallbackUserData), "Calling UpdateDataCallback: ");
443 }
444 if (this->DataExtentCallback)
445 {
446 tryCatchMacro(this->SetDataExtent((this->DataExtentCallback)(this->CallbackUserData)),
447 "Calling DataExtentCallback: ");
448 }
449 if (this->BufferPointerCallback)
450 {
451 tryCatchMacro(this->SetImportVoidPointer((this->BufferPointerCallback)(this->CallbackUserData)),
452 "Calling BufferPointerCallback: ");
453 }
454}
455
456//------------------------------------------------------------------------------
457// In the past, this class made no distinction between whole extent and

Callers 1

Calls 2

SetImportVoidPointerMethod · 0.95
SetDataExtentMethod · 0.80

Tested by

no test coverage detected