#include <vtkImageProcessingPass.h>
Abstract class with some convenient methods frequently used in subclasses.
Definition at line 38 of file vtkImageProcessingPass.h.
Public Types | |
typedef vtkRenderPass | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ReleaseGraphicsResources (vtkWindow *w) |
virtual vtkRenderPass * | GetDelegatePass () |
virtual void | SetDelegatePass (vtkRenderPass *delegatePass) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageProcessingPass * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageProcessingPass () | |
virtual | ~vtkImageProcessingPass () |
void | RenderDelegate (const vtkRenderState *s, int width, int height, int newWidth, int newHeight, vtkFrameBufferObject *fbo, vtkTextureObject *target) |
Protected Attributes | |
vtkRenderPass * | DelegatePass |
Reimplemented from vtkRenderPass.
Reimplemented in vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
Definition at line 41 of file vtkImageProcessingPass.h.
vtkImageProcessingPass::vtkImageProcessingPass | ( | ) | [protected] |
Default constructor. DelegatePass is set to NULL.
virtual vtkImageProcessingPass::~vtkImageProcessingPass | ( | ) | [protected, virtual] |
Destructor.
virtual const char* vtkImageProcessingPass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderPass.
Reimplemented in vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
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 vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
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 vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
static vtkImageProcessingPass* vtkImageProcessingPass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderPass.
Reimplemented in vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
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 vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
void vtkImageProcessingPass::ReleaseGraphicsResources | ( | vtkWindow * | w | ) | [virtual] |
Release graphics resources and ask components to release their own resources.
Reimplemented from vtkRenderPass.
Reimplemented in vtkGaussianBlurPass, and vtkSobelGradientMagnitudePass.
virtual vtkRenderPass* vtkImageProcessingPass::GetDelegatePass | ( | ) | [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.
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.
fbo_exists: fbo!=0
fbo_has_context: fbo->GetContext()!=0
target_exists: target!=0
target_has_context: target->GetContext()!=0
vtkRenderPass* vtkImageProcessingPass::DelegatePass [protected] |
Definition at line 79 of file vtkImageProcessingPass.h.