24 #include <pcl/pcl_exports.h> 27 #include "vtkMapper.h" 28 #include "vtkSmartPointer.h" 30 class vtkOpenGLRenderWindow;
33 class vtkRenderWindow;
35 class vtkShaderProgram2;
38 class PCL_DEPRECATED(1, 13, "The OpenGL backend of VTK is deprecated. Please switch to the OpenGL2 backend.")
52 void Render(vtkRenderer *ren, vtkActor *act)
override;
57 void SetInput(vtkPolyData *input);
58 void SetInput(vtkDataSet *input);
59 vtkPolyData *GetInput();
63 this->program = program;
68 void Update()
override;
73 double *GetBounds()
override;
75 {this->Superclass::GetBounds(bounds);};
115 virtual void ComputeBounds();
125 int FillInputPortInformation(
int, vtkInformation*)
override;
127 void createShaders(vtkOpenGLRenderWindow* win);
128 void createVBOs(vtkRenderWindow* win);
void SetProgram(vtkSmartPointer< vtkShaderProgram2 > program)
vtkVertexBufferObject * vertexVbo
~vtkVertexBufferObjectMapper()
vtkVertexBufferObject * normalVbo
vtkVertexBufferObject * indiceVbo
void GetBounds(double bounds[6]) override
vtkVertexBufferObject * colorVbo
vtkSmartPointer< vtkShaderProgram2 > program
#define PCL_DEPRECATED(Major, Minor, Message)
macro for compatibility across compilers and help remove old deprecated items for the Major...
Defines all the PCL and non-PCL macros used.