41#ifndef vtkBlockProperties_h
42#define vtkBlockProperties_h
45#include "vtkViewsScivisModule.h"
48VTK_ABI_NAMESPACE_BEGIN
75 void SetColor(
unsigned int index,
double r,
double g,
double b);
76 void GetColor(
unsigned int index,
double color[3]);
void SetMapper(vtkCompositePolyDataMapper *mapper)
The mapper these properties are applied to, and the representation that has to be up to date before a...
void SetRepresentation(vtkAlgorithm *representation)
The mapper these properties are applied to, and the representation that has to be up to date before a...
double GetOpacity(unsigned int index)
How opaque the block at index is, in place of the representation's own opacity.
~vtkBlockProperties() override
void SetVisibility(unsigned int index, bool visible)
Whether the block at index is drawn.
void SetColor(unsigned int index, double r, double g, double b)
The color of the block at index, in place of the color the whole representation is drawn in.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetColor(unsigned int index, double color[3])
The color of the block at index, in place of the color the whole representation is drawn in.
static vtkBlockProperties * New()
void Reset()
Forget everything set per block, so that every block is drawn like the rest of the representation aga...
bool GetVisibility(unsigned int index)
Whether the block at index is drawn.
void SetOpacity(unsigned int index, double opacity)
How opaque the block at index is, in place of the representation's own opacity.
vtkCompositeDataDisplayAttributes * GetDisplayAttributes()
The attributes object these are stored in, for what is not covered here: per-block textures,...
Rendering attributes for a multi-block dataset.
a class that renders hierarchical polygonal data
a simple class to control print indentation
a weak reference to a vtkObject.