#include <vtkOpenGLProperty.h>
vtkOpenGLProperty is a concrete implementation of the abstract class vtkProperty. vtkOpenGLProperty interfaces to the OpenGL rendering library.
Definition at line 29 of file vtkOpenGLProperty.h.
Public Types | |
typedef vtkProperty | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Render (vtkActor *a, vtkRenderer *ren) |
void | BackfaceRender (vtkActor *a, vtkRenderer *ren) |
Static Public Member Functions | |
static vtkOpenGLProperty * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLProperty * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkOpenGLProperty () | |
~vtkOpenGLProperty () |
vtkOpenGLProperty::vtkOpenGLProperty | ( | ) | [inline, protected] |
Definition at line 43 of file vtkOpenGLProperty.h.
vtkOpenGLProperty::~vtkOpenGLProperty | ( | ) | [inline, protected] |
Definition at line 44 of file vtkOpenGLProperty.h.
static vtkOpenGLProperty* vtkOpenGLProperty::New | ( | ) | [static] |
Construct object with object color, ambient color, diffuse color, specular color, and edge color white; ambient coefficient=0; diffuse coefficient=0; specular coefficient=0; specular power=1; Gouraud shading; and surface representation. Backface and frontface culling are off.
Reimplemented from vtkProperty.
virtual const char* vtkOpenGLProperty::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkProperty.
static int vtkOpenGLProperty::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 vtkProperty.
virtual int vtkOpenGLProperty::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 vtkProperty.
static vtkOpenGLProperty* vtkOpenGLProperty::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkProperty.
virtual void vtkOpenGLProperty::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 vtkProperty.
void vtkOpenGLProperty::Render | ( | vtkActor * | a, | |
vtkRenderer * | ren | |||
) | [virtual] |
Implement base class method.
Reimplemented from vtkProperty.
void vtkOpenGLProperty::BackfaceRender | ( | vtkActor * | a, | |
vtkRenderer * | ren | |||
) | [virtual] |
Implement base class method.
Reimplemented from vtkProperty.