22#ifndef vtkCompositeCellGridMapper_h
23#define vtkCompositeCellGridMapper_h
28#include "vtkRenderingCoreModule.h"
35VTK_ABI_NAMESPACE_BEGIN
161 bool HasTranslucentGeometry =
false;
175 std::unique_ptr<vtkInternals> Internals;
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
represents an object (geometry & properties) in a rendered scene
map a vtkCellGrid to graphics primitives.
a class that renders hierarchical cell-grid data
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
vtkStateStorage TempState
void BuildRenderValues(vtkRenderer *renderer, vtkActor *actor, vtkDataObject *dobj, unsigned int &flatIndex)
This is the build method for creating the internal polydata mapper that do the actual work.
vtkGetStringTokenMacro(PointIdAttributeName)
vtkGetStringTokenMacro(ProcessIdAttributeName)
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeDataDisplayAttributes
bool HasOpaqueGeometry() override
Some introspection on the type of data the mapper will render used by props to determine if they shou...
vtkStringToken CompositeIdAttributeName
virtual void SetCompositeDataDisplayAttributes(vtkCompositeDataDisplayAttributes *)
vtkStateStorage RenderValuesState
void ReleaseGraphicsResources(vtkWindow *) override
Release the underlying resources associated with this mapper.
static vtkCompositeCellGridMapper * New()
vtkCompositeCellGridMapper()
vtkMTimeType GetMTime() override
Account for mtime of vtkCompositeDataDisplayAttributes.
void SetProcessIdArrayName(const char *)
FIXME: These are temporary.
void SetPointIdArrayName(const char *)
vtkStateStorage TranslucentState
vtkStringToken PointIdAttributeName
bool HasTranslucentPolygonalGeometry() override
Some introspection on the type of data the mapper will render used by props to determine if they shou...
vtkStringToken CellIdAttributeName
vtkSetStringTokenMacro(CellIdAttributeName)
Set/get the name of the cell ID attribute used during selection.
vtkSetStringTokenMacro(PointIdAttributeName)
Set/get the name of the point ID attribute used during selection.
vtkStringToken ProcessIdAttributeName
Names of attributes.
~vtkCompositeCellGridMapper() override
vtkSetStringTokenMacro(ProcessIdAttributeName)
Set/get the name of the process ID attribute used during selection.
double * GetBounds() override
Standard vtkProp method to get 3D bounds of a 3D prop.
void SetCellIdArrayName(const char *)
vtkGetStringTokenMacro(CompositeIdAttributeName)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExecutive * CreateDefaultExecutive() override
We need to override this method because the standard streaming demand driven pipeline is not what we ...
void SetCompositeIdArrayName(const char *)
virtual vtkCellGridMapper * MakeAMapper()
BuildRenderValues uses this for each mapper.
void ComputeBounds()
Need to loop over the hierarchy to compute bounds.
vtkSetStringTokenMacro(CompositeIdAttributeName)
Set/get the name of the composite ID attribute used during selection.
bool RecursiveHasTranslucentGeometry(vtkDataObject *dobj, unsigned int &flat_index)
Some introspection on the type of data the mapper will render used by props to determine if they shou...
vtkGetStringTokenMacro(CellIdAttributeName)
void Render(vtkRenderer *ren, vtkActor *a) override
Standard method for rendering a mapper.
vtkGetSmartPointerMacro(CompositeDataDisplayAttributes, vtkCompositeDataDisplayAttributes)
Set/get a data structure that can be used to control per-object visibility, opacity,...
int FillInputPortInformation(int port, vtkInformation *info) override
Need to define the type of data handled by this mapper.
Rendering attributes for a multi-block dataset.
general representation of visualization data
Superclass for all pipeline executives in VTK.
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
Class to make storing and comparing state quick and easy.
Represent a string by its integer hash.
record modification and/or execution time
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)