Go to the documentation of this file.
24 #ifndef vtkGenericCompositePolyDataMapper2_h
25 #define vtkGenericCompositePolyDataMapper2_h
27 #include "vtkRenderingOpenGL2Module.h"
36 class vtkCompositeMapperHelper;
117 std::map<const vtkDataSet *, vtkCompositeMapperHelper *>
Helpers;
144 unsigned int &flat_index);
152 friend class vtkCompositeMapperHelper;
155 unsigned long int LastOpaqueCheckTime;
156 bool LastOpaqueCheckValue;
157 double ColorResult[3];
void RemoveBlockVisibilites()
std::stack< vtkColor3d > AmbientColor
GLboolean GLboolean GLboolean b
virtual void RenderGeneric(vtkRenderer *ren, vtkActor *act)
double * GetBlockColor(unsigned int index)
void CopyMapperValuesToHelper(vtkCompositeMapperHelper *helper)
std::stack< bool > Visibility
void RenderBlock(vtkRenderer *renderer, vtkActor *actor, vtkDataObject *dobj, unsigned int &flat_index)
bool GetShaderInitialized(vtkShaderProgram *)
record modification and/or execution time
vtkGenericCompositePolyDataMapper2()
vtkExecutive * CreateDefaultExecutive()
#define vtkTypeMacro(thisClass, superclass)
void SetBlockColor(unsigned int index, double color[3])
virtual void ComputeBounds()
std::stack< vtkColor3d > SpecularColor
void RemoveBlockOpacities()
void PrintSelf(ostream &os, vtkIndent indent)
void ReleaseGraphicsResources(vtkWindow *)
std::stack< vtkColor3d > DiffuseColor
bool GetBlockVisibility(unsigned int index) const
void RemoveBlockColor(unsigned int index)
window superclass for vtkRenderWindow
rendering attributes for a multi-block dataset.
void SetShaderInitialized(vtkShaderProgram *, bool)
Superclass for all pipeline executives in VTK.
~vtkGenericCompositePolyDataMapper2()
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkGenericCompositePolyDataMapper2 * New()
The ShaderProgram uses one or more Shader objects.
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void SetBlockVisibility(unsigned int index, bool visible)
std::map< const vtkDataSet *, vtkCompositeMapperHelper * > Helpers
void RemoveBlockVisibility(unsigned int index)
virtual bool GetIsOpaque()
GLdouble GLdouble GLdouble r
void SetCompositeDataDisplayAttributes(vtkCompositeDataDisplayAttributes *attributes)
double GetBlockOpacity(unsigned int index)
abstract specification for renderers
vtkCompositeDataDisplayAttributes * GetCompositeDataDisplayAttributes()
void SetBlockColor(unsigned int index, double r, double g, double b)
general representation of visualization data
void FreeGenericStructures()
std::map< const vtkShaderProgram *, bool > ShadersInitialized
void RemoveBlockOpacity(unsigned int index)
a PolyDataMapper for the OpenGL library
mapper for composite dataset consisting of polygonal data.
std::stack< double > Opacity
void SetBlockOpacity(unsigned int index, double opacity)
RenderBlockState BlockState