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]);
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;
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
virtual void UpdatePainterInformation()
Called when the PainterInformation becomes obsolete.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
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.
vtkPainter * SelectionCompositePainter
Superclass for all pipeline executives in VTK.
vtkTypeUInt64 vtkMTimeType
void SetBlockColor(unsigned int index, double r, double g, double b)
Set/get the color for a block given its flat index.
virtual void ComputeBounds()
Called in GetBounds().
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPainterPolyDataMapper * New()
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
Abstract class for drawing poly data.
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
PolyDataMapper using painters.