30#ifndef vtkPanoramicProjectionPass_h
31#define vtkPanoramicProjectionPass_h
34#include "vtkRenderingOpenGL2Module.h"
62 vtkGetMacro(CubeResolution,
unsigned int);
63 vtkSetMacro(CubeResolution,
unsigned int);
84 vtkGetMacro(ProjectionType,
int);
85 vtkSetClampMacro(ProjectionType,
int, Equirectangular, Azimuthal);
97 vtkGetMacro(Angle,
double);
98 vtkSetClampMacro(Angle,
double, 90.0, 360.0);
107 vtkGetMacro(Interpolate,
bool);
108 vtkSetMacro(Interpolate,
bool);
109 vtkBooleanMacro(Interpolate,
bool);
129 unsigned int CubeResolution = 300;
130 int ProjectionType = Equirectangular;
131 double Angle = 180.0;
132 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