28 #ifndef vtkThreadedImageAlgorithm_h
29 #define vtkThreadedImageAlgorithm_h
31 #include "vtkCommonExecutionModelModule.h"
54 int extent[6],
int threadId);
59 int extent[6],
int threadId);
65 vtkGetMacro(EnableSMP,
bool);
73 static void SetGlobalDefaultEnableSMP(
bool enable);
74 static bool GetGlobalDefaultEnableSMP();
82 vtkSetVector3Macro(MinimumPieceSize,
int);
83 vtkGetVector3Macro(MinimumPieceSize,
int);
94 vtkGetMacro(DesiredBytesPerPiece,
vtkIdType);
105 vtkSetClampMacro(SplitMode,
int, 0, 2);
109 vtkGetMacro(SplitMode,
int);
117 vtkSetClampMacro( NumberOfThreads,
int, 1, VTK_MAX_THREADS );
118 vtkGetMacro( NumberOfThreads,
int );
124 virtual int SplitExtent(
int splitExt[6],
int startExt[6],
135 static
bool GlobalDefaultEnableSMP;
147 int MinimumPieceSize[3];
187 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.
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkIdType DesiredBytesPerPiece