28 #ifndef vtkThreadedImageAlgorithm_h 29 #define vtkThreadedImageAlgorithm_h 31 #include "vtkCommonExecutionModelModule.h" 51 int extent[6],
int threadId);
54 virtual void ThreadedExecute(
61 vtkGetMacro(EnableSMP,
bool);
62 vtkSetMacro(EnableSMP,
bool);
69 static void SetGlobalDefaultEnableSMP(
bool enable);
70 static bool GetGlobalDefaultEnableSMP();
78 vtkSetVector3Macro(MinimumPieceSize,
int);
79 vtkGetVector3Macro(MinimumPieceSize,
int);
89 vtkSetMacro(DesiredBytesPerPiece,
vtkIdType);
90 vtkGetMacro(DesiredBytesPerPiece,
vtkIdType);
101 vtkSetClampMacro(SplitMode,
int, 0, 2);
105 vtkGetMacro(SplitMode,
int);
113 vtkSetClampMacro(NumberOfThreads,
int, 1, VTK_MAX_THREADS);
114 vtkGetMacro(NumberOfThreads,
int);
120 virtual int SplitExtent(
int splitExt[6],
int startExt[6],
int num,
int total);
142 int MinimumPieceSize[3];
176 friend class vtkThreadedImageAlgorithmFunctor;
void SetSplitModeToSlab()
Set the method used to divide the volume into pieces.
A class for performing multithreaded execution.
Generic filter that has one input.
vtkMultiThreader * Threader
a simple class to control print indentation
topologically and geometrically regular array of data
void SetSplitModeToBlock()
Set the method used to divide the volume into pieces.
void SetSplitModeToBeam()
Set the method used to divide the volume into pieces.
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
static bool GlobalDefaultEnableSMP
vtkIdType DesiredBytesPerPiece