VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageProcessingPass Class Reference

Convenient class for post-processing passes. render pass. More...

#include <vtkImageProcessingPass.h>

Inheritance diagram for vtkImageProcessingPass:
Inheritance graph
[legend]
Collaboration diagram for vtkImageProcessingPass:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkRenderPass Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageProcessingPassNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void ReleaseGraphicsResources (vtkWindow *w)
virtual vtkRenderPassGetDelegatePass ()
virtual void SetDelegatePass (vtkRenderPass *delegatePass)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkImageProcessingPassSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageProcessingPass ()
virtual ~vtkImageProcessingPass ()
void RenderDelegate (const vtkRenderState *s, int width, int height, int newWidth, int newHeight, vtkFrameBufferObject *fbo, vtkTextureObject *target)

Protected Attributes

vtkRenderPassDelegatePass

Detailed Description

Convenient class for post-processing passes. render pass.

Abstract class with some convenient methods frequently used in subclasses.

See also:
vtkRenderPass vtkGaussianBlurPass vtkSobelGradientMagnitudePass

Definition at line 39 of file vtkImageProcessingPass.h.


Member Typedef Documentation

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

Definition at line 42 of file vtkImageProcessingPass.h.


Constructor & Destructor Documentation

Default constructor. DelegatePass is set to NULL.

virtual vtkImageProcessingPass::~vtkImageProcessingPass ( ) [protected, virtual]

Destructor.


Member Function Documentation

static int vtkImageProcessingPass::IsTypeOf ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

virtual int vtkImageProcessingPass::IsA ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

virtual vtkObjectBase* vtkImageProcessingPass::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

void vtkImageProcessingPass::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 vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

Release graphics resources and ask components to release their own resources.

Precondition:
w_exists: w!=0

Reimplemented from vtkRenderPass.

Reimplemented in vtkSobelGradientMagnitudePass, and vtkGaussianBlurPass.

Delegate for rendering the image to be processed. If it is NULL, nothing will be rendered and a warning will be emitted. It is usually set to a vtkCameraPass or to a post-processing pass. Initial value is a NULL pointer.

virtual void vtkImageProcessingPass::SetDelegatePass ( vtkRenderPass delegatePass) [virtual]

Delegate for rendering the image to be processed. If it is NULL, nothing will be rendered and a warning will be emitted. It is usually set to a vtkCameraPass or to a post-processing pass. Initial value is a NULL pointer.

void vtkImageProcessingPass::RenderDelegate ( const vtkRenderState s,
int  width,
int  height,
int  newWidth,
int  newHeight,
vtkFrameBufferObject fbo,
vtkTextureObject target 
) [protected]

Render delegate with a image of different dimensions than the original one.

Precondition:
s_exists: s!=0
fbo_exists: fbo!=0
fbo_has_context: fbo->GetContext()!=0
target_exists: target!=0
target_has_context: target->GetContext()!=0

Member Data Documentation

Definition at line 80 of file vtkImageProcessingPass.h.


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