22 #ifndef vtkOpenGLSphereMapper_h 23 #define vtkOpenGLSphereMapper_h 25 #include "vtkRenderingOpenGL2Module.h" 33 void PrintSelf(ostream& os,
vtkIndent indent) override;
39 vtkSetStringMacro(ScaleArray);
47 vtkSetMacro(Radius,
float);
48 vtkGetMacro(Radius,
float);
64 ~vtkOpenGLSphereMapper() override;
69 void GetShaderTemplate(
76 void ReplaceShaderValues(
90 const
char *ScaleArray;
99 virtual
void CreateVBO(
101 unsigned char *colors,
int colorComponents,
110 vtkOpenGLSphereMapper(const vtkOpenGLSphereMapper&) = delete;
111 void operator=(const vtkOpenGLSphereMapper&) = delete;
PolyDataMapper using OpenGL to render.
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
draw spheres using imposters
Vertex or Fragment shader, combined into a ShaderProgram.