#include <vtkSequencePass.h>
vtkSequencePass executes a list of render passes sequentially. This class allows to define a sequence of render passes at run time. The other solution to write a sequence of render passes is to write an effective subclass of vtkRenderPass.
As vtkSequencePass is a vtkRenderPass itself, it is possible to have a hierarchy of render passes built at runtime.
Definition at line 39 of file vtkSequencePass.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) |
virtual void | Render (const vtkRenderState *s) |
virtual void | ReleaseGraphicsResources (vtkWindow *w) |
virtual vtkRenderPassCollection * | GetPasses () |
virtual void | SetPasses (vtkRenderPassCollection *passes) |
Static Public Member Functions | |
static vtkSequencePass * | New () |
static int | IsTypeOf (const char *type) |
static vtkSequencePass * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSequencePass () | |
virtual | ~vtkSequencePass () |
Protected Attributes | |
vtkRenderPassCollection * | Passes |
vtkSequencePass::vtkSequencePass | ( | ) | [protected] |
virtual vtkSequencePass::~vtkSequencePass | ( | ) | [protected, virtual] |
static vtkSequencePass* vtkSequencePass::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkSequencePass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderPass.
static int vtkSequencePass::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkRenderPass.
virtual int vtkSequencePass::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkRenderPass.
static vtkSequencePass* vtkSequencePass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderPass.
void vtkSequencePass::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.
virtual void vtkSequencePass::Render | ( | const vtkRenderState * | s | ) | [virtual] |
Perform rendering according to a render state s
.
Implements vtkRenderPass.
virtual void vtkSequencePass::ReleaseGraphicsResources | ( | vtkWindow * | w | ) | [virtual] |
Release graphics resources and ask components to release their own resources.
Reimplemented from vtkRenderPass.
virtual vtkRenderPassCollection* vtkSequencePass::GetPasses | ( | ) | [virtual] |
The ordered list of render passes to execute sequentially. If the pointer is NULL or the list is empty, it is silently ignored. There is no warning. Initial value is a NULL pointer.
virtual void vtkSequencePass::SetPasses | ( | vtkRenderPassCollection * | passes | ) | [virtual] |
The ordered list of render passes to execute sequentially. If the pointer is NULL or the list is empty, it is silently ignored. There is no warning. Initial value is a NULL pointer.
vtkRenderPassCollection* vtkSequencePass::Passes [protected] |
Definition at line 63 of file vtkSequencePass.h.