21#ifndef vtkPanoramicProjectionPass_h
22#define vtkPanoramicProjectionPass_h
25#include "vtkRenderingOpenGL2Module.h"
27VTK_ABI_NAMESPACE_BEGIN
54 vtkGetMacro(CubeResolution,
unsigned int);
55 vtkSetMacro(CubeResolution,
unsigned int);
76 vtkGetMacro(ProjectionType,
int);
77 vtkSetClampMacro(ProjectionType,
int, Equirectangular, Azimuthal);
89 vtkGetMacro(Angle,
double);
90 vtkSetClampMacro(Angle,
double, 90.0, 360.0);
99 vtkGetMacro(Interpolate,
bool);
100 vtkSetMacro(Interpolate,
bool);
101 vtkBooleanMacro(Interpolate,
bool);
121 unsigned int CubeResolution = 300;
122 int ProjectionType = Equirectangular;
123 double Angle = 180.0;
124 bool Interpolate =
false;
Convenient class for post-processing passes.
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
Render pass that render the scene in a cubemap and project these six renderings to a single quad.
void InitOpenGLResources(vtkOpenGLRenderWindow *renWin)
void SetProjectionTypeToEquirectangular()
Get/Set the type of projection.
static vtkPanoramicProjectionPass * New()
void Project(vtkOpenGLRenderWindow *renWin)
~vtkPanoramicProjectionPass() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderOnFace(const vtkRenderState *s, int index)
void Render(const vtkRenderState *s) override
Perform rendering according to a render state.
vtkPanoramicProjectionPass()=default
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
void SetProjectionTypeToAzimuthal()
Get/Set the type of projection.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow