Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkThreadedImageAlgorithm Class Reference

#include <vtkThreadedImageAlgorithm.h>

Inheritance diagram for vtkThreadedImageAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for vtkThreadedImageAlgorithm:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

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)

Static Public Member Functions

int IsTypeOf (const char *type)
vtkThreadedImageAlgorithmSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkThreadedImageAlgorithm ()
 ~vtkThreadedImageAlgorithm ()
virtual void RequestData (vtkInformation *request, vtkInformationVector *inputVector, vtkInformationVector *outputVector)

Protected Attributes

vtkMultiThreaderThreader
int NumberOfThreads

Member Typedef Documentation

typedef vtkImageAlgorithm vtkThreadedImageAlgorithm::Superclass
 

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, and vtkImageWrapPad.

Definition at line 48 of file vtkThreadedImageAlgorithm.h.


Constructor & Destructor Documentation

vtkThreadedImageAlgorithm::vtkThreadedImageAlgorithm  )  [protected]
 

vtkThreadedImageAlgorithm::~vtkThreadedImageAlgorithm  )  [protected]
 


Member Function Documentation

virtual const char* vtkThreadedImageAlgorithm::GetClassName  )  [virtual]
 

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, and vtkImageWrapPad.

int vtkThreadedImageAlgorithm::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, and vtkImageWrapPad.

virtual int vtkThreadedImageAlgorithm::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, and vtkImageWrapPad.

vtkThreadedImageAlgorithm* vtkThreadedImageAlgorithm::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, and vtkImageWrapPad.

void vtkThreadedImageAlgorithm::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageCast, vtkImageConstantPad, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageMaskBits, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, and vtkImageShiftScale.

virtual void vtkThreadedImageAlgorithm::ThreadedRequestData vtkInformation request,
vtkInformationVector inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  threadId
[virtual]
 

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.

Reimplemented in vtkImageConstantPad, vtkImageLogic, vtkImageMirrorPad, and vtkImageWrapPad.

virtual void vtkThreadedImageAlgorithm::ThreadedExecute vtkImageData inData,
vtkImageData outData,
int  extent[6],
int  threadId
[virtual]
 

Reimplemented in vtkImageCast, vtkImageDivergence, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLuminance, vtkImageMagnitude, vtkImageMaskBits, vtkImageNormalize, vtkImageRGBToHSI, vtkImageRGBToHSV, and vtkImageShiftScale.

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.

virtual void vtkThreadedImageAlgorithm::RequestData vtkInformation request,
vtkInformationVector inputVector,
vtkInformationVector outputVector
[protected, virtual]
 

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

vtkMultiThreader* vtkThreadedImageAlgorithm::Threader [protected]
 

Definition at line 85 of file vtkThreadedImageAlgorithm.h.

int vtkThreadedImageAlgorithm::NumberOfThreads [protected]
 

Definition at line 86 of file vtkThreadedImageAlgorithm.h.


The documentation for this class was generated from the following file: