22#ifndef vtkOpenGLStickMapper_h
23#define vtkOpenGLStickMapper_h
26#include "vtkRenderingOpenGL2Module.h"
39 vtkSetStringMacro(ScaleArray);
46 vtkSetStringMacro(OrientationArray);
53 vtkSetStringMacro(SelectionIdArray);
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
PolyDataMapper using OpenGL to render.
use imposters to draw cylinders
void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act) override
Set the shader parameters related to the actor/mapper.
bool GetNeedToRebuildBufferObjects(vtkRenderer *ren, vtkActor *act) override
Does the VBO/IBO need to be rebuilt.
void ReplaceShaderValues(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act) override
Perform string replacements on the shader templates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderPieceDraw(vtkRenderer *ren, vtkActor *act) override
Implemented by sub classes.
void SetCameraShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act) override
Set the shader parameters related to the Camera.
static vtkOpenGLStickMapper * New()
void GetShaderTemplate(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act) override
Create the basic shaders before replacement.
~vtkOpenGLStickMapper() override
const char * SelectionIdArray
void BuildBufferObjects(vtkRenderer *ren, vtkActor *act) override
Update the VBO to contain point based values.
const char * OrientationArray
abstract specification for renderers