VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkRIBLight Class Reference

RIP Light. More...

#include <vtkRIBLight.h>

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

List of all members.

Public Types

typedef vtkLight Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ShadowsOn ()
virtual void ShadowsOff ()
virtual void SetShadows (int)
virtual int GetShadows ()
void Render (vtkRenderer *ren, int index)

Static Public Member Functions

static vtkRIBLightNew ()
static int IsTypeOf (const char *type)
static vtkRIBLightSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRIBLight ()
 ~vtkRIBLight ()

Protected Attributes

vtkLightLight
int Shadows

Detailed Description

RIP Light.

vtkRIBLight is a subclass of vtkLight that allows the user to specify light source shaders and shadow casting lights for use with RenderMan.

See also:
vtkRIBExporter
Tests:
vtkRIBLight (Tests)

Definition at line 35 of file vtkRIBLight.h.


Member Typedef Documentation

Reimplemented from vtkLight.

Definition at line 39 of file vtkRIBLight.h.


Constructor & Destructor Documentation

vtkRIBLight::vtkRIBLight ( ) [protected]
vtkRIBLight::~vtkRIBLight ( ) [protected]

Member Function Documentation

static vtkRIBLight* vtkRIBLight::New ( ) [static]

Create a light with the focal point at the origin and its position set to (0,0,1). The light is a SceneLight, its color is white (black ambient, white diffuse, white specular), intensity=1, the light is turned on, positional lighting is off, ConeAngle=30, AttenuationValues=(1,0,0), Exponent=1 and the TransformMatrix is NULL.

Reimplemented from vtkLight.

virtual const char* vtkRIBLight::GetClassName ( ) [virtual]

Reimplemented from vtkLight.

static int vtkRIBLight::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 vtkLight.

virtual int vtkRIBLight::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 vtkLight.

static vtkRIBLight* vtkRIBLight::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkLight.

void vtkRIBLight::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 vtkLight.

virtual void vtkRIBLight::ShadowsOn ( ) [virtual]
virtual void vtkRIBLight::ShadowsOff ( ) [virtual]
virtual void vtkRIBLight::SetShadows ( int  ) [virtual]
virtual int vtkRIBLight::GetShadows ( ) [virtual]
void vtkRIBLight::Render ( vtkRenderer ,
int   
) [virtual]

Abstract interface to renderer. Each concrete subclass of vtkLight will load its data into the graphics system in response to this method invocation. The actual loading is performed by a vtkLightDevice subclass, which will get created automatically.

Reimplemented from vtkLight.


Member Data Documentation

Definition at line 51 of file vtkRIBLight.h.

Definition at line 52 of file vtkRIBLight.h.


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