34 #ifndef vtkThreadedImageAlgorithm_h
35 #define vtkThreadedImageAlgorithm_h
37 #include "vtkCommonExecutionModelModule.h"
60 int extent[6],
int threadId);
65 int extent[6],
int threadId);
71 vtkGetMacro(EnableSMP,
bool);
79 static void SetGlobalDefaultEnableSMP(
bool enable);
80 static bool GetGlobalDefaultEnableSMP();
88 vtkSetVector3Macro(MinimumPieceSize,
int);
89 vtkGetVector3Macro(MinimumPieceSize,
int);
100 vtkGetMacro(DesiredBytesPerPiece,
vtkIdType);
111 vtkSetClampMacro(SplitMode,
int, 0, 2);
115 vtkGetMacro(SplitMode,
int);
123 vtkSetClampMacro( NumberOfThreads,
int, 1, VTK_MAX_THREADS );
124 vtkGetMacro( NumberOfThreads,
int );
130 virtual int SplitExtent(
int splitExt[6],
int startExt[6],
141 static
bool GlobalDefaultEnableSMP;
153 int MinimumPieceSize[3];
193 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