11#ifndef vtkGLSLModCamera_h
12#define vtkGLSLModCamera_h
18#include "vtkRenderingOpenGL2Module.h"
23VTK_ABI_NAMESPACE_BEGIN
39 std::string& tessControlShader, std::string& tessEvalShader, std::string& geometryShader,
45 vtkActor* vtkNotUsed(actor))
override
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
Implement model-view-projection transforms in the OpenGL renderer.
bool IsUpToDate(vtkOpenGLRenderer *vtkNotUsed(renderer), vtkAbstractMapper *vtkNotUsed(mapper), vtkActor *vtkNotUsed(actor)) override
vtkNew< vtkMatrix3x3 > TempMatrix3
~vtkGLSLModCamera() override
bool SetShaderParameters(vtkOpenGLRenderer *renderer, vtkShaderProgram *program, vtkAbstractMapper *mapper, vtkActor *actor, vtkOpenGLVertexArrayObject *VAO=nullptr) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool CoordinateShiftAndScaleInUse
void EnableShiftScale(bool coordShiftAndScaleInUse, vtkMatrix4x4 *ssMatrix)
vtkNew< vtkMatrix4x4 > TempMatrix4
static vtkGLSLModCamera * New()
bool ApplyShiftAndScaleFromShader
bool ReplaceShaderValues(vtkOpenGLRenderer *renderer, std::string &vertexShader, std::string &tessControlShader, std::string &tessEvalShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkActor *actor) override
Abstract interfaces to replace shader values and apply parameters as uniform values.
vtkSmartPointer< vtkMatrix4x4 > SSMatrix
Abstract class that helps you develop modifier for VTK GLSL shaders.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
Allocate and hold a VTK object.
The VertexArrayObject class uses, or emulates, vertex array objects.
The ShaderProgram uses one or more Shader objects.
Hold a reference to a vtkObjectBase instance.