16 #ifndef vtkOpenGLGlyph3DMapper_h
17 #define vtkOpenGLGlyph3DMapper_h
24 #include "vtkRenderingOpenGL2Module.h"
30 VTK_ABI_NAMESPACE_BEGIN
83 void SetLODTargetReduction(
vtkIdType index,
float targetReduction);
105 void SetupColorMapper();
117 class vtkOpenGLGlyph3DMapperEntry;
118 class vtkOpenGLGlyph3DMapperSubArray;
119 class vtkOpenGLGlyph3DMapperArray;
125 virtual void RebuildStructures(vtkOpenGLGlyph3DMapperSubArray* subarray,
vtkIdType numPts,
134 struct RenderBlockState
136 std::stack<double> Opacity;
137 std::stack<bool> Visibility;
138 std::stack<bool> Pickability;
139 std::stack<vtkColor3d>
Color;
141 RenderBlockState BlockState;
152 #define vtkOpenGLGlyph3DMapper_OVERRIDE_ATTRIBUTES \
153 vtkOpenGLGlyph3DMapper::CreateOverrideAttributes()
154 VTK_ABI_NAMESPACE_END
vtkOpenGLGlyph3D on the GPU.
Attribute for vtkObjectFactory overrides.
static vtkGlyph3DMapper * New()
void Render(vtkRenderer *ren, vtkActor *act) override
All the work is done is derived classes.
int GetNumberOfLODDistances()
Get the maximum number of LOD.
represents an object (geometry & properties) in a rendered scene
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
virtual void SetLODDistanceAndTargetReduction(vtkIdType index, float distance, float targetReduction)
Configure LODs.
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
virtual vtkIdType GetMaxNumberOfLOD()
Get the maximum number of LOD.
a simple class to control print indentation
vtkOpenGLGlyph3DMapperArray * GlyphValues
virtual void SetNumberOfLOD(vtkIdType nb)
Set the number of LOD.
int GetNumberOfLODTargetReductions()
Get the maximum number of LOD.
PolyDataMapper using OpenGL to render.
abstract class specifies interface to map data to graphics primitives
dynamic, self-adjusting array of bits
vtkIdType GetNumberOfLOD()
Get the maximum number of LOD.
general representation of visualization data
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.