25 #ifndef vtkCompositePolyDataMapper2_h 26 #define vtkCompositePolyDataMapper2_h 28 #include "vtkRenderingOpenGLModule.h" 65 void SetBlockVisibility(
unsigned int index,
bool visible);
66 bool GetBlockVisibility(
unsigned int index) const;
67 void RemoveBlockVisibility(
unsigned int index);
68 void RemoveBlockVisibilites();
75 void SetBlockColor(
unsigned int index,
double color[3]);
76 void SetBlockColor(
unsigned int index,
double r,
double g,
double b)
78 double color[3] = {r, g, b};
79 this->SetBlockColor(index, color);
81 double* GetBlockColor(
unsigned int index);
82 void RemoveBlockColor(
unsigned int index);
83 void RemoveBlockColors();
90 void SetBlockOpacity(
unsigned int index,
double opacity);
91 double GetBlockOpacity(
unsigned int index);
92 void RemoveBlockOpacity(
unsigned int index);
93 void RemoveBlockOpacities();
137 bool LastOpaqueCheckValue;
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
rendering attributes for a multi-block dataset.
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
void ComputeBounds() override
Called in GetBounds().
vtkPainter * SelectionCompositePainter
Superclass for all pipeline executives in VTK.
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.