27 #ifndef vtkCompositePolyDataMapper2_h
28 #define vtkCompositePolyDataMapper2_h
30 #include "vtkRenderingOpenGLModule.h"
61 void SetBlockVisibility(
unsigned int index,
bool visible);
62 bool GetBlockVisibility(
unsigned int index)
const;
63 void RemoveBlockVisibility(
unsigned int index);
64 void RemoveBlockVisibilites();
69 void SetBlockColor(
unsigned int index,
double color[3]);
72 double color[3] = {r, g, b};
73 this->SetBlockColor(index, color);
75 double* GetBlockColor(
unsigned int index);
76 void RemoveBlockColor(
unsigned int index);
77 void RemoveBlockColors();
82 void SetBlockOpacity(
unsigned int index,
double opacity);
83 double GetBlockOpacity(
unsigned int index);
84 void RemoveBlockOpacity(
unsigned int index);
85 void RemoveBlockOpacities();
117 unsigned long int LastOpaqueCheckTime;
118 bool LastOpaqueCheckValue;
virtual int FillInputPortInformation(int, vtkInformation *)
virtual void UpdatePainterInformation()
virtual vtkExecutive * CreateDefaultExecutive()
mapper for composite dataset consisting of polygonal data.
record modification and/or execution time
rendering attributes for a multi-block dataset.
vtkPainter * SelectionCompositePainter
Superclass for all pipeline executives in VTK.
void SetBlockColor(unsigned int index, double r, double g, double b)
virtual void ComputeBounds()
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
static vtkPainterPolyDataMapper * New()
virtual bool GetIsOpaque()
Abstract class for drawing poly data.
PolyDataMapper using painters.