Go to the documentation of this file.
41 #ifndef vtkShadowMapBakerPass_h
42 #define vtkShadowMapBakerPass_h
44 #include "vtkRenderingOpenGL2Module.h"
84 virtual void SetOpaqueSequence(
vtkRenderPass *opaqueSequence);
95 virtual void SetCompositeZPass(
vtkRenderPass *compositeZPass);
105 vtkGetMacro(Resolution,
unsigned int);
115 bool GetHasShadows();
126 bool LightCreatesShadow(
vtkLight *l);
134 std::vector<vtkSmartPointer<vtkTextureObject> > *GetShadowMaps();
142 std::vector<vtkSmartPointer<vtkCamera> > *GetLightCameras();
152 bool GetNeedUpdate();
179 void PointNearFar(
double *v,
192 void BoxNearFar(
double *bb,
203 void BuildCameraLight(
vtkLight *light,
217 unsigned int Resolution;
std::vector< vtkSmartPointer< vtkTextureObject > > * ShadowMaps
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
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
std::vector< vtkSmartPointer< vtkCamera > > * LightCameras
window superclass for vtkRenderWindow
a simple class to control print indentation
abstracts an OpenGL texture object.
a virtual camera for 3D rendering
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkRenderPass * OpaqueSequence
Context in which a vtkRenderPass will render.
Implement a builder of shadow map pass.
Perform part of the rendering of a vtkRenderer.