#include <vtkMesaLight.h>
vtkMesaLight is a concrete implementation of the abstract class vtkLight. vtkMesaLight interfaces to the Mesa rendering library.
Definition at line 29 of file vtkMesaLight.h.
Public Types | |
typedef vtkLight | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Render (vtkRenderer *ren, int light_index) |
Static Public Member Functions | |
static vtkMesaLight * | New () |
static int | IsTypeOf (const char *type) |
static vtkMesaLight * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMesaLight () | |
~vtkMesaLight () |
typedef vtkLight vtkMesaLight::Superclass |
vtkMesaLight::vtkMesaLight | ( | ) | [inline, protected] |
Definition at line 40 of file vtkMesaLight.h.
vtkMesaLight::~vtkMesaLight | ( | ) | [inline, protected] |
Definition at line 41 of file vtkMesaLight.h.
static vtkMesaLight* vtkMesaLight::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* vtkMesaLight::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkLight.
static int vtkMesaLight::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 vtkLight.
virtual int vtkMesaLight::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 vtkLight.
static vtkMesaLight* vtkMesaLight::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkLight.
virtual void vtkMesaLight::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
void vtkMesaLight::Render | ( | vtkRenderer * | ren, | |
int | light_index | |||
) | [virtual] |
Implement base class method.
Reimplemented from vtkLight.