#include <vtkLightsPass.h>
Render the lights.
This pass expects an initialized camera. It disables all the lights, apply transformations for lights following the camera, and turn on the enables lights.
Definition at line 38 of file vtkLightsPass.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) |
Static Public Member Functions | |
static vtkLightsPass * | New () |
static int | IsTypeOf (const char *type) |
static vtkLightsPass * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkLightsPass () | |
virtual | ~vtkLightsPass () |
vtkLightsPass::vtkLightsPass | ( | ) | [protected] |
Default constructor.
virtual vtkLightsPass::~vtkLightsPass | ( | ) | [protected, virtual] |
Destructor.
static vtkLightsPass* vtkLightsPass::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkLightsPass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderPass.
static int vtkLightsPass::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.
virtual int vtkLightsPass::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.
static vtkLightsPass* vtkLightsPass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderPass.
void vtkLightsPass::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 vtkLightsPass::Render | ( | const vtkRenderState * | s | ) | [virtual] |
Perform rendering according to a render state s
.
Implements vtkRenderPass.