VTK
|
Implement the lights render pass. More...
#include <vtkLightsPass.h>
Public Types | |
typedef vtkRenderPass | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkLightsPass * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkLightsPass () | |
virtual | ~vtkLightsPass () |
Implement the lights render pass.
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 39 of file vtkLightsPass.h.
Reimplemented from vtkRenderPass.
Definition at line 43 of file vtkLightsPass.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRenderPass.
virtual vtkObjectBase* vtkLightsPass::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRenderPass.
vtkLightsPass* vtkLightsPass::NewInstance | ( | ) | const |
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.