#include <vtkOpenGLProperty.h>
vtkOpenGLProperty is a concrete implementation of the abstract class vtkProperty. vtkOpenGLProperty interfaces to the OpenGL rendering library.
Definition at line 33 of file vtkOpenGLProperty.h.
vtkOpenGLProperty::vtkOpenGLProperty | ( | ) | [protected] |
vtkOpenGLProperty::~vtkOpenGLProperty | ( | ) | [protected] |
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.
virtual void vtkOpenGLProperty::PostRender | ( | vtkActor * | a, | |
vtkRenderer * | r | |||
) | [virtual] |
This method is called after the actor has been rendered. Don't call this directly. This method cleans up any shaders allocated.
Reimplemented from vtkProperty.
virtual void vtkOpenGLProperty::ReleaseGraphicsResources | ( | vtkWindow * | win | ) | [virtual] |
Release any graphics resources that are being consumed by this property. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkProperty.
virtual vtkShader2Collection* vtkOpenGLProperty::GetShader2Collection | ( | ) | [virtual] |
Get the collection of property shaders. If Material is not set/or not loaded properly, this will return null.
void vtkOpenGLProperty::SetShader2Collection | ( | vtkShader2Collection * | ) |
Get the collection of property shaders. If Material is not set/or not loaded properly, this will return null.
virtual vtkGLSLShaderDeviceAdapter2* vtkOpenGLProperty::GetShaderDeviceAdapter2 | ( | ) | [virtual] |
Get the object that can pass vertex attribute to a vtkShaderProgram2.
virtual vtkShaderProgram2* vtkOpenGLProperty::GetCurrentShaderProgram2 | ( | ) | [virtual] |
Get the vtkShaderProgram2 object in use.
void vtkOpenGLProperty::LoadMultiTexturingExtensions | ( | vtkRenderer * | ren | ) | [protected] |
Load OpenGL extensions for multi texturing.
virtual void vtkOpenGLProperty::ReadFrameworkMaterial | ( | ) | [protected, virtual] |
Read this->Material from new style shaders.
Reimplemented from vtkProperty.
vtkShader2Collection* vtkOpenGLProperty::Shader2Collection [protected] |
Definition at line 87 of file vtkOpenGLProperty.h.
vtkShaderProgram2* vtkOpenGLProperty::CachedShaderProgram2 [protected] |
Definition at line 89 of file vtkOpenGLProperty.h.
Definition at line 90 of file vtkOpenGLProperty.h.
vtkShaderProgram2* vtkOpenGLProperty::PropProgram [protected] |
Definition at line 91 of file vtkOpenGLProperty.h.
vtkShader2* vtkOpenGLProperty::DefaultMainVS [protected] |
Definition at line 93 of file vtkOpenGLProperty.h.
vtkShader2* vtkOpenGLProperty::DefaultMainFS [protected] |
Definition at line 94 of file vtkOpenGLProperty.h.
vtkShader2* vtkOpenGLProperty::DefaultPropVS [protected] |
Definition at line 95 of file vtkOpenGLProperty.h.
vtkShader2* vtkOpenGLProperty::DefaultPropFS [protected] |
Definition at line 96 of file vtkOpenGLProperty.h.
bool vtkOpenGLProperty::UseDefaultMainVS [protected] |
Definition at line 97 of file vtkOpenGLProperty.h.
bool vtkOpenGLProperty::UseDefaultMainFS [protected] |
Definition at line 98 of file vtkOpenGLProperty.h.
bool vtkOpenGLProperty::UseDefaultPropVS [protected] |
Definition at line 99 of file vtkOpenGLProperty.h.
bool vtkOpenGLProperty::UseDefaultPropFS [protected] |
Definition at line 100 of file vtkOpenGLProperty.h.
Definition at line 101 of file vtkOpenGLProperty.h.
Definition at line 103 of file vtkOpenGLProperty.h.