Go to the documentation of this file.
43 #ifndef vtkShadowMapBakerPass_h
44 #define vtkShadowMapBakerPass_h
46 #include "vtkRenderingOpenGLModule.h"
119 vtkGetMacro(Resolution,
unsigned int);
134 vtkGetMacro(PolygonOffsetFactor,
float);
151 vtkGetMacro(PolygonOffsetUnits,
float);
virtual void SetCompositeZPass(vtkRenderPass *compositeZPass)
internal class which encapsulates OpenGL frame buffer object.
vtkShadowMapBakerPassTextures * GetShadowMaps()
INTERNAL USE ONLY Internally used by vtkShadowMapBakerPass and vtkShadowMapPass.
a virtual light for 3D rendering
bool GetNeedUpdate()
INTERNAL USE ONLY.
virtual void SetOpaquePass(vtkRenderPass *opaquePass)
vtkFrameBufferObject * FrameBufferObject
Graphics resources.
vtkRenderPass * OpaquePass
vtkShadowMapBakerPass()
Default constructor.
record modification and/or execution time
void CheckSupport(vtkOpenGLRenderWindow *w)
Check if shadow mapping is supported by the current OpenGL context.
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
void BuildCameraLight(vtkLight *light, double *boundingBox, vtkCamera *lcamera)
Build a camera from spot light parameters.
virtual ~vtkShadowMapBakerPass()
Destructor.
window superclass for vtkRenderWindow
vtkTimeStamp LastRenderTime
void PointNearFar(double *v, double *pt, double *dir, double &mNear, double &mFar, bool initialized)
Helper method to compute the mNearest point in a given direction.
vtkShadowMapBakerPassTextures * ShadowMaps
vtkShadowMapBakerPassLightCameras * LightCameras
bool GetHasShadows()
INTERNAL USE ONLY.
a simple class to control print indentation
a virtual camera for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkInformationIntegerKey * RECEIVER()
static vtkInformationIntegerKey * OCCLUDER()
If this key exists on the PropertyKeys of a prop, the prop is viewed as a light occluder (ie it casts...
vtkShadowMapBakerPassLightCameras * GetLightCameras()
INTERNAL USE ONLY.
vtkRenderPass * CompositeZPass
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
float PolygonOffsetFactor
static vtkShadowMapBakerPass * New()
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
Context in which a vtkRenderPass will render.
bool LightCreatesShadow(vtkLight *l)
INTERNAL USE ONLY.
Implement a builder of shadow map pass.
void BoxNearFar(double *bb, double *pt, double *dir, double &mNear, double &mFar)
Compute the min/max of the projection of a box in a given direction.
Perform part of the rendering of a vtkRenderer.