28#ifndef vtkCompositePolyDataMapper2_h
29#define vtkCompositePolyDataMapper2_h
31#include "vtkRenderingOpenGLModule.h"
81 double color[3] = {r, g, b};
140 bool LastOpaqueCheckValue;
rendering attributes for a multi-block dataset.
mapper for composite dataset consisting of polygonal data.
void RemoveBlockVisibility(unsigned int index)
void SetBlockColor(unsigned int index, double color[3])
Set/get the color for a block given its flat index.
virtual void UpdatePainterInformation()
Called when the PainterInformation becomes obsolete.
virtual void ComputeBounds()
Need to loop over the hierarchy to compute bounds.
static vtkCompositePolyDataMapper2 * New()
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
double GetBlockOpacity(unsigned int index)
void SetBlockVisibility(unsigned int index, bool visible)
Set/get the visibility for a block given its flat index.
double * GetBlockColor(unsigned int index)
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
vtkCompositePolyDataMapper2()
bool GetBlockVisibility(unsigned int index) const
void RemoveBlockVisibilites()
void SetBlockOpacity(unsigned int index, double opacity)
Set/get the opacity for a block given its flat index.
vtkCompositeDataDisplayAttributes * GetCompositeDataDisplayAttributes()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void RemoveBlockColor(unsigned int index)
vtkPainter * SelectionCompositePainter
virtual int FillInputPortInformation(int port, vtkInformation *info)
Need to define the type of data handled by this mapper.
vtkExecutive * CreateDefaultExecutive()
We need to override this method because the standard streaming demand driven pipeline is not what we ...
void SetBlockColor(unsigned int index, double r, double g, double b)
~vtkCompositePolyDataMapper2()
void RemoveBlockOpacity(unsigned int index)
void RemoveBlockOpacities()
void SetCompositeDataDisplayAttributes(vtkCompositeDataDisplayAttributes *attributes)
Set/get the composite data set attributes.
Superclass for all pipeline executives in VTK.
a simple class to control print indentation
PolyDataMapper using painters.
Abstract class for drawing poly data.
record modification and/or execution time
vtkTypeUInt64 vtkMTimeType