25 #ifndef vtkCompositePolyDataMapper2_h 26 #define vtkCompositePolyDataMapper2_h 28 #include "vtkRenderingOpenGL2Module.h" 72 void SetBlockVisibility(
unsigned int index,
bool visible);
73 bool GetBlockVisibility(
unsigned int index);
74 void RemoveBlockVisibility(
unsigned int index);
75 void RemoveBlockVisibilities();
77 VTK_LEGACY(
void RemoveBlockVisibilites());
84 void SetBlockColor(
unsigned int index,
double color[3]);
87 double color[3] = {r, g, b};
90 double* GetBlockColor(
unsigned int index);
91 void RemoveBlockColor(
unsigned int index);
92 void RemoveBlockColors();
99 void SetBlockOpacity(
unsigned int index,
double opacity);
100 double GetBlockOpacity(
unsigned int index);
101 void RemoveBlockOpacity(
unsigned int index);
102 void RemoveBlockOpacities();
112 vtkGetMacro(ColorMissingArraysWithNanColor,
bool)
133 return this->RenderedList;
164 std::map<const std::string, vtkCompositeMapperHelper2 *>
Helpers;
187 unsigned int &flat_index);
194 unsigned int &flat_index);
213 bool LastOpaqueCheckValue;
214 double ColorResult[3];
a PolyDataMapper for the OpenGL library
void ComputeBounds() override
Called in GetBounds().
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
vtkTypeUInt32 vtkMTimeType
mapper for composite dataset consisting of polygonal data.
std::vector< vtkPolyData * > GetRenderedList()
Accessor to the ordered list of PolyData that we end last drew.
record modification and/or execution time
Rendering attributes for a multi-block dataset.
std::stack< bool > Visibility
std::stack< bool > Pickability
abstract specification for renderers
Superclass for all pipeline executives in VTK.
std::map< vtkPolyData *, vtkCompositeMapperHelperData * > HelperDataMap
std::stack< double > Opacity
std::stack< vtkColor3d > AmbientColor
void SetBlockColor(unsigned int index, double r, double g, double b)
Set/get the color for a block given its flat index.
RenderBlockState BlockState
window superclass for vtkRenderWindow
vtkTimeStamp RenderValuesBuildTime
a simple class to control print indentation
std::map< const std::string, vtkCompositeMapperHelper2 * > Helpers
void Render(vtkRenderer *ren, vtkActor *act) override
This calls RenderPiece (in a for loop if streaming is necessary).
std::stack< vtkColor3d > DiffuseColor
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
std::stack< vtkColor3d > SpecularColor
std::vector< vtkPolyData * > RenderedList
bool GetIsOpaque() override
Returns if the mapper does not expect to have translucent geometry.
bool ColorMissingArraysWithNanColor
If the current 'color by' array is missing on some datasets, color these dataset by the LookupTable's...
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.