28 #ifndef vtkCompositePolyDataMapper2_h 29 #define vtkCompositePolyDataMapper2_h 31 #include "vtkRenderingOpenGLModule.h" 68 void SetBlockVisibility(
unsigned int index,
bool visible);
69 bool GetBlockVisibility(
unsigned int index)
const;
70 void RemoveBlockVisibility(
unsigned int index);
71 void RemoveBlockVisibilities();
72 VTK_LEGACY(
void RemoveBlockVisibilites());
79 void SetBlockColor(
unsigned int index,
double color[3]);
82 double color[3] = {r, g, b};
85 double* GetBlockColor(
unsigned int index);
86 void RemoveBlockColor(
unsigned int index);
87 void RemoveBlockColors();
94 void SetBlockOpacity(
unsigned int index,
double opacity);
95 double GetBlockOpacity(
unsigned int index);
96 void RemoveBlockOpacity(
unsigned int index);
97 void RemoveBlockOpacities();
141 bool LastOpaqueCheckValue;
rendering attributes for a multi-block dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void UpdatePainterInformation()
Called when the PainterInformation becomes obsolete.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
vtkTypeUInt32 vtkMTimeType
mapper for composite dataset consisting of polygonal data.
record modification and/or execution time
void ComputeBounds() override
Called in GetBounds().
vtkPainter * SelectionCompositePainter
Superclass for all pipeline executives in VTK.
void SetBlockColor(unsigned int index, double r, double g, double b)
Set/get the color for a block given its flat index.
a simple class to control print indentation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
static vtkPainterPolyDataMapper * New()
Abstract class for drawing poly data.
bool GetIsOpaque() override
Returns if the mapper does not expect to have translucent geometry.
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
PolyDataMapper using painters.
vtkSmartPointer< vtkCompositeDataDisplayAttributesLegacy > CompositeAttributes
Composite data set attributes.