44 #ifndef vtkShadowMapBakerPass_h
45 #define vtkShadowMapBakerPass_h
47 #include "vtkRenderingOpenGL2Module.h"
87 virtual void SetOpaqueSequence(
vtkRenderPass *opaqueSequence);
98 virtual void SetCompositeZPass(
vtkRenderPass *compositeZPass);
108 vtkGetMacro(Resolution,
unsigned int);
118 bool GetHasShadows();
129 bool LightCreatesShadow(
vtkLight *l);
137 std::vector<vtkSmartPointer<vtkTextureObject> > *GetShadowMaps();
145 std::vector<vtkSmartPointer<vtkCamera> > *GetLightCameras();
155 bool GetNeedUpdate();
182 void PointNearFar(
double *v,
195 void BoxNearFar(
double *bb,
206 void BuildCameraLight(
vtkLight *light,
220 unsigned int Resolution;
record modification and/or execution time
std::vector< vtkSmartPointer< vtkTextureObject > > * ShadowMaps
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
Context in which a vtkRenderPass will render.
vtkRenderPass * OpaqueSequence
a simple class to control print indentation
a virtual camera for 3D rendering
a virtual light for 3D rendering
std::vector< vtkSmartPointer< vtkCamera > > * LightCameras
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
internal class which encapsulates OpenGL frame buffer object.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
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...
Perform part of the rendering of a vtkRenderer.
Implement a builder of shadow map pass.