22 #ifndef __vtkVertexBufferObjectMapper_h 23 #define __vtkVertexBufferObjectMapper_h 25 #include <pcl/pcl_exports.h> 27 #include "vtkMapper.h" 28 #include "vtkSmartPointer.h" 30 class vtkOpenGLRenderWindow;
33 class vtkRenderWindow;
35 class vtkShaderProgram2;
51 virtual void Render(vtkRenderer *ren, vtkActor *act);
56 void SetInput(vtkPolyData *input);
57 void SetInput(vtkDataSet *input);
58 vtkPolyData *GetInput();
62 this->program = program;
72 virtual double *GetBounds();
74 {this->Superclass::GetBounds(bounds);};
114 virtual void ComputeBounds();
124 virtual int FillInputPortInformation(
int, vtkInformation*);
126 void createShaders(vtkOpenGLRenderWindow* win);
127 void createVBOs(vtkRenderWindow* win);
void SetProgram(vtkSmartPointer< vtkShaderProgram2 > program)
virtual void GetBounds(double bounds[6])
vtkVertexBufferObject * vertexVbo
~vtkVertexBufferObjectMapper()
vtkVertexBufferObject * normalVbo
vtkVertexBufferObject * indiceVbo
vtkVertexBufferObject * colorVbo
vtkSmartPointer< vtkShaderProgram2 > program