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

Method vtkThreadedImageAlgorithm

Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:33–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

31
32//------------------------------------------------------------------------------
33VTK_ABI_NAMESPACE_BEGIN
34vtkThreadedImageAlgorithm::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//------------------------------------------------------------------------------
59vtkThreadedImageAlgorithm::~vtkThreadedImageAlgorithm()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
GetNumberOfThreadsMethod · 0.45

Tested by

no test coverage detected