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