------------------------------------------------------------------------------
| 31 | |
| 32 | //------------------------------------------------------------------------------ |
| 33 | VTK_ABI_NAMESPACE_BEGIN |
| 34 | vtkThreadedImageAlgorithm::vtkThreadedImageAlgorithm() |
| 35 | { |
| 36 | this->Threader = vtkMultiThreader::New(); |
| 37 | this->NumberOfThreads = this->Threader->GetNumberOfThreads(); |
| 38 | |
| 39 | // SMP default settings |
| 40 | this->EnableSMP = vtkThreadedImageAlgorithm::GlobalDefaultEnableSMP; |
| 41 | |
| 42 | // Splitting method |
| 43 | this->SplitMode = SLAB; |
| 44 | this->SplitPath[0] = 2; |
| 45 | this->SplitPath[1] = 1; |
| 46 | this->SplitPath[2] = 0; |
| 47 | this->SplitPathLength = 3; |
| 48 | |
| 49 | // Minimum block size |
| 50 | this->MinimumPieceSize[0] = 16; |
| 51 | this->MinimumPieceSize[1] = 1; |
| 52 | this->MinimumPieceSize[2] = 1; |
| 53 | |
| 54 | // The desired block size in bytes |
| 55 | this->DesiredBytesPerPiece = 65536; |
| 56 | } |
| 57 | |
| 58 | //------------------------------------------------------------------------------ |
| 59 | vtkThreadedImageAlgorithm::~vtkThreadedImageAlgorithm() |
nothing calls this directly
no test coverage detected