21#ifndef vtkPanoramicProjectionPass_h
22#define vtkPanoramicProjectionPass_h
25#include "vtkRenderingOpenGL2Module.h"
28VTK_ABI_NAMESPACE_BEGIN
56 vtkGetMacro(CubeResolution,
unsigned int);
57 vtkSetMacro(CubeResolution,
unsigned int);
78 vtkGetMacro(ProjectionType,
int);
79 vtkSetClampMacro(ProjectionType,
int, Equirectangular, Azimuthal);
91 vtkGetMacro(Angle,
double);
92 vtkSetClampMacro(Angle,
double, 90.0, 360.0);
101 vtkGetMacro(Interpolate,
bool);
102 vtkSetMacro(Interpolate,
bool);
103 vtkBooleanMacro(Interpolate,
bool);
123 unsigned int CubeResolution = 300;
124 int ProjectionType = Equirectangular;
125 double Angle = 180.0;
126 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