Go to the documentation of this file.
41 #ifndef vtkShadowMapPass_h
42 #define vtkShadowMapPass_h
44 #include "vtkRenderingOpenGL2Module.h"
54 class vtkShadowMapPassTextures;
55 class vtkShadowMapPassLightCameras;
88 virtual void SetShadowMapBakerPass(
98 virtual void SetOpaqueSequence(
vtkRenderPass *opaqueSequence);
106 return this->ShadowTransforms; }
114 return this->ShadowTextureUnits; }
126 return this->FragmentDeclaration; }
128 return this->FragmentImplementation; }
163 vtkShadowMapPassTextures *ShadowMaps;
164 vtkShadowMapPassLightCameras *LightCameras;
169 void BuildShaderCode();
vtkRenderPass * OpaqueSequence
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
a virtual light for 3D rendering
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
std::vector< int > ShadowTextureUnits
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
std::string FragmentImplementation
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
std::vector< double > ShadowMapTransforms()
get the matricies for all the shadow maps.
std::string GetFragmentImplementation()
Implement a shadow mapping render pass.
window superclass for vtkRenderWindow
std::string FragmentDeclaration
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
a virtual camera for 3D rendering
std::string GetFragmentDeclaration()
Get the shader code to compute light factors based on a mappers vertexVC variable.
Context in which a vtkRenderPass will render.
std::vector< float > ShadowAttenuation
std::vector< int > GetShadowMapTextureUnits()
get the texture units for the shadow maps for each light.
std::vector< double > ShadowTransforms
Implement a builder of shadow map pass.
Perform part of the rendering of a vtkRenderer.