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) const;
74 void RemoveBlockVisibility(
unsigned int index);
75 void RemoveBlockVisibilites();
82 void SetBlockColor(
unsigned int index,
double color[3]);
83 void SetBlockColor(
unsigned int index,
double r,
double g,
double b)
85 double color[3] = {r, g, b};
88 double* GetBlockColor(
unsigned int index);
89 void RemoveBlockColor(
unsigned int index);
90 void RemoveBlockColors();
97 void SetBlockOpacity(
unsigned int index,
double opacity);
98 double GetBlockOpacity(
unsigned int index);
99 void RemoveBlockOpacity(
unsigned int index);
100 void RemoveBlockOpacities();
110 vtkGetMacro(ColorMissingArraysWithNanColor,
bool)
131 return this->RenderedList;
153 void ComputeBounds() VTK_OVERRIDE;
161 int CurrentFlatIndex;
184 unsigned int &flat_index);
191 unsigned int &flat_index);
210 bool LastOpaqueCheckValue;
211 double ColorResult[3];
a PolyDataMapper for the OpenGL library
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
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
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for all pipeline executives in VTK.
std::stack< double > Opacity
std::stack< vtkColor3d > AmbientColor
RenderBlockState BlockState
window superclass for vtkRenderWindow
vtkTimeStamp RenderValuesBuildTime
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).
std::stack< vtkColor3d > DiffuseColor
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.