Go to the documentation of this file.
23 #ifndef vtkOpenGLProperty_h
24 #define vtkOpenGLProperty_h
26 #include "vtkRenderingOpenGLModule.h"
107 static void SetMaterialProperties(
unsigned int face,
108 double ambient,
const double ambient_color[3],
109 double diffuse,
const double diffuse_color[3],
110 double specular,
const double specular_color[3],
double specular_power,
129 bool using_shader_program2);
134 void LoadMultiTexturingExtensions(
vtkRenderer* ren);
static vtkProperty * New()
Construct object with object color, ambient color, diffuse color, specular color, and edge color whit...
an adapter to pass generic vertex attributes to the rendering pipeline. .SECTION This class is an ada...
a list of Shader2 objects.
virtual void AddShaderVariable(const char *name, int numVars, int *x)
Provide values to initialize shader variables.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkShader2 * DefaultMainVS
vtkShaderProgram2 * CachedShaderProgram2
vtkShaderProgram2 * LastRendererShaderProgram2
window superclass for vtkRenderWindow
vtkShader2 * DefaultPropFS
vtkShader2 * DefaultPropVS
vtkShaderProgram2 * CurrentShaderProgram2
virtual vtkShaderDeviceAdapter2 * GetShaderDeviceAdapter2()
Get the vtkShaderDeviceAdapter2 if set, returns null otherwise.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *win)
Release any graphics resources that are being consumed by this property.
vtkShaderProgram2 * PropProgram
virtual void BackfaceRender(vtkActor *, vtkRenderer *)
This method renders the property as a backface property.
virtual void PostRender(vtkActor *, vtkRenderer *)
This method is called after the actor has been rendered.
adapter to pass generic vertex attributes to the rendering pipeline to be used in a vtkShaderProgram2...
abstract specification for renderers
vtkShaderProgram2 * LastPropProgram
vtkShader2 * DefaultMainFS
represent surface properties of a geometric object
vtkGLSLShaderDeviceAdapter2 * ShaderDeviceAdapter2
virtual void Render(vtkActor *, vtkRenderer *)
This method causes the property to set up whatever is required for its instance variables.