Go to the documentation of this file.
28 #ifndef vtkCompositePolyDataMapper2_h
29 #define vtkCompositePolyDataMapper2_h
31 #include "vtkRenderingOpenGL2Module.h"
75 void SetBlockVisibility(
unsigned int index,
bool visible);
76 bool GetBlockVisibility(
unsigned int index);
77 void RemoveBlockVisibility(
unsigned int index);
78 void RemoveBlockVisibilities();
80 VTK_LEGACY(
void RemoveBlockVisibilites());
87 void SetBlockColor(
unsigned int index,
double color[3]);
90 double color[3] = {r, g, b};
93 double* GetBlockColor(
unsigned int index);
94 void RemoveBlockColor(
unsigned int index);
95 void RemoveBlockColors();
102 void SetBlockOpacity(
unsigned int index,
double opacity);
103 double GetBlockOpacity(
unsigned int index);
104 void RemoveBlockOpacity(
unsigned int index);
105 void RemoveBlockOpacities();
114 vtkSetMacro(ColorMissingArraysWithNanColor,
bool)
115 vtkGetMacro(ColorMissingArraysWithNanColor,
bool)
116 vtkBooleanMacro(ColorMissingArraysWithNanColor,
bool)
137 int idx,
int port,
int connection,
int fieldAssociation,
const char*
name)
override;
139 int idx,
int port,
int connection,
int fieldAssociation,
int fieldAttributeType)
override;
148 return this->RenderedList;
156 std::vector<unsigned int> &pixeloffsets,
194 std::map<const std::string, vtkCompositeMapperHelper2 *>
Helpers;
217 unsigned int &flat_index);
224 unsigned int &flat_index);
243 bool LastOpaqueCheckValue;
244 double ColorResult[3];
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
std::vector< vtkPolyData * > RenderedList
bool ColorMissingArraysWithNanColor
If the current 'color by' array is missing on some datasets, color these dataset by the LookupTable's...
vtkTimeStamp RenderValuesBuildTime
std::stack< double > Opacity
std::stack< bool > Visibility
record modification and/or execution time
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
static vtkOpenGLPolyDataMapper * New()
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
mapper for composite dataset consisting of polygonal data.
window superclass for vtkRenderWindow
Rendering attributes for a multi-block dataset.
std::stack< vtkColor3d > AmbientColor
std::stack< bool > Pickability
Superclass for all pipeline executives in VTK.
bool GetIsOpaque() override
Returns if the mapper does not expect to have translucent geometry.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void Render(vtkRenderer *ren, vtkActor *act) override
This calls RenderPiece (in a for loop if streaming is necessary).
void SetBlockColor(unsigned int index, double r, double g, double b)
std::map< const std::string, vtkCompositeMapperHelper2 * > Helpers
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
std::map< vtkPolyData *, vtkCompositeMapperHelperData * > HelperDataMap
abstract superclass for all actors, volumes and annotations
virtual void InitializeHelpersBeforeRendering(vtkRenderer *vtkNotUsed(ren), vtkActor *vtkNotUsed(act))
This method is called before RenderPiece is called on helpers.
std::stack< vtkColor3d > SpecularColor
std::stack< vtkColor3d > DiffuseColor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
void ProcessSelectorPixelBuffers(vtkHardwareSelector *sel, std::vector< unsigned int > &pixeloffsets, vtkProp *prop) override
allows a mapper to update a selections color buffers Called from a prop which in turn is called from ...
void ComputeBounds() override
Called in GetBounds().
general representation of visualization data
PolyDataMapper using OpenGL to render.
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
Set the input data arrays that this algorithm will process.
RenderBlockState BlockState
vtkTypeUInt32 vtkMTimeType
std::vector< vtkPolyData * > GetRenderedList()
Accessor to the ordered list of PolyData that we end last drew.