Generic filter that has one input..
More...
#include <vtkThreadedImageAlgorithm.h>
Inherits vtkImageAlgorithm.
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId) |
|
|
virtual void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) |
|
|
virtual void | SetNumberOfThreads (int) |
|
virtual int | GetNumberOfThreads () |
|
|
virtual int | SplitExtent (int splitExt[6], int startExt[6], int num, int total) |
|
Generic filter that has one input..
vtkThreadedImageAlgorithm is a filter superclass that hides much of the pipeline complexity. It handles breaking the pipeline execution into smaller extents so that the vtkImageData limits are observed. It also provides support for multithreading. If you don't need any of this functionality, consider using vtkSimpleImageToImageAlgorithm instead.
- See Also
- vtkSimpleImageToImageAlgorithm
- Examples:
- vtkThreadedImageAlgorithm (Examples)
Definition at line 38 of file vtkThreadedImageAlgorithm.h.
vtkThreadedImageAlgorithm::vtkThreadedImageAlgorithm |
( |
| ) |
|
|
protected |
vtkThreadedImageAlgorithm::~vtkThreadedImageAlgorithm |
( |
| ) |
|
|
protected |
virtual const char* vtkThreadedImageAlgorithm::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkThreadedImageAlgorithm::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkThreadedImageAlgorithm::IsA |
( |
const char * |
type | ) |
|
|
virtual |
void vtkThreadedImageAlgorithm::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
virtual void vtkThreadedImageAlgorithm::ThreadedExecute |
( |
vtkImageData * |
inData, |
|
|
vtkImageData * |
outData, |
|
|
int |
extent[6], |
|
|
int |
threadId |
|
) |
| |
|
virtual |
virtual void vtkThreadedImageAlgorithm::SetNumberOfThreads |
( |
int |
| ) |
|
|
virtual |
Get/Set the number of threads to create when rendering
virtual int vtkThreadedImageAlgorithm::GetNumberOfThreads |
( |
| ) |
|
|
virtual |
Get/Set the number of threads to create when rendering
virtual int vtkThreadedImageAlgorithm::SplitExtent |
( |
int |
splitExt[6], |
|
|
int |
startExt[6], |
|
|
int |
num, |
|
|
int |
total |
|
) |
| |
|
virtual |
Putting this here until I merge graphics and imaging streaming.
This is called by the superclass. This is the method you should override.
int vtkThreadedImageAlgorithm::NumberOfThreads |
|
protected |
The documentation for this class was generated from the following file: