 |
VTK
9.1.0
|
Go to the documentation of this file.
22 #ifndef vtkOpenGLSphereMapper_h
23 #define vtkOpenGLSphereMapper_h
26 #include "vtkRenderingOpenGL2Module.h"
39 vtkSetStringMacro(ScaleArray);
47 vtkSetMacro(Radius,
float);
48 vtkGetMacro(Radius,
float);
float Radius
This value will be used for the radius is the scale array is not provided.
vtkOpenGLSphereMapper()
allows a mapper to update a selections color buffers Called from a prop which in turn is called from ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkOpenGLSphereMapper() override
This value will be used for the radius is the scale array is not provided.
static vtkOpenGLSphereMapper * New()
virtual void CreateVBO(vtkPolyData *poly, vtkIdType numPts, unsigned char *colors, int colorComponents, vtkIdType nc, float *sizes, vtkIdType ns, vtkRenderer *ren)
This value will be used for the radius is the scale array is not provided.
void Render(vtkRenderer *ren, vtkActor *act) override
This calls RenderPiece (twice when transparent)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void ReplaceShaderValues(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act) override
Perform string replacements on the shader templates.
void RenderPieceDraw(vtkRenderer *ren, vtkActor *act) override
This value will be used for the radius is the scale array is not provided.
void SetCameraShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act) override
Set the shader parameters related to the Camera.
bool Invert
This value will be used for the radius is the scale array is not provided.
abstract specification for renderers
void BuildBufferObjects(vtkRenderer *ren, vtkActor *act) override
Update the VBO to contain point based values.
concrete dataset represents vertices, lines, polygons, and triangle strips
void GetShaderTemplate(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act) override
Create the basic shaders before replacement.
draw spheres using imposters
PolyDataMapper using OpenGL to render.
void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act) override
Set the shader parameters related to the actor/mapper.
const char * ScaleArray
This value will be used for the radius is the scale array is not provided.