VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkLightsPass Class Reference

Implement the lights render pass. More...

#include <vtkLightsPass.h>

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

List of all members.

Public Types

typedef vtkRenderPass Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkLightsPassNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (const vtkRenderState *s)

Static Public Member Functions

static vtkLightsPassNew ()
static int IsTypeOf (const char *type)
static vtkLightsPassSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkLightsPass ()
virtual ~vtkLightsPass ()

Detailed Description

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.

See also:
vtkRenderPass
Tests:
vtkLightsPass (Tests)

Definition at line 39 of file vtkLightsPass.h.


Member Typedef Documentation

Reimplemented from vtkRenderPass.

Definition at line 43 of file vtkLightsPass.h.


Constructor & Destructor Documentation

Default constructor.

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

Destructor.


Member Function Documentation

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.

Reimplemented from vtkRenderPass.

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

Reimplemented from vtkRenderPass.

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.

Precondition:
s_exists: s!=0

Implements vtkRenderPass.


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