23#ifndef vtkHyperTreeGridMapper_h
24#define vtkHyperTreeGridMapper_h
30#include "vtkRenderingHyperTreeGridModule.h"
34VTK_ABI_NAMESPACE_BEGIN
62 using Superclass::SetInputConnection;
85 vtkGetMacro(UseAdaptiveDecimation,
bool);
86 vtkSetMacro(UseAdaptiveDecimation,
bool);
87 vtkBooleanMacro(UseAdaptiveDecimation,
bool);
137 bool UseAdaptiveDecimation =
false;
150 std::set<unsigned int> BlocksShown;
151 std::set<unsigned int> BlocksHidden;
156 void ApplyBlockVisibilities();
represents an object (geometry & properties) in a rendered scene
Rendering attributes for a multi-block dataset.
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
map vtkHyperTreeGrid to graphics primitives
void SetInputDataObject(int port, vtkDataObject *input) override
Sets the data-object as an input on the given port index.
void SetInputDataObject(vtkDataObject *input) override
bool GetBlockVisibility(unsigned int index)
Set/get the visibility for a block given its flat index.
void SetBlockVisibility(unsigned int index, bool visible)
Set/get the visibility for a block given its flat index.
double * GetBounds() override
For this mapper, the bounds correspond to the output for the internal surface filter which may be res...
void RemoveBlockVisibility(unsigned int index)
Set/get the visibility for a block given its flat index.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetCompositeDataDisplayAttributes(vtkCompositeDataDisplayAttributes *attributes)
Set/get the composite data set attributes.
vtkSmartPointer< vtkPolyDataMapper > Mapper
void GetBoundsComposite(double bounds[6])
For this mapper, the bounds correspond to the output for the internal surface filter which may be res...
void GetBounds(double bounds[6]) override
For this mapper, the bounds correspond to the output for the internal surface filter which may be res...
vtkCompositeDataDisplayAttributes * GetCompositeDataDisplayAttributes()
Set/get the composite data set attributes.
void Render(vtkRenderer *ren, vtkActor *act) override
Use the internal PolyData Mapper to do the rendering of the HTG transformed by the current SurfaceFil...
~vtkHyperTreeGridMapper() override
vtkSmartPointer< vtkCompositeDataSet > UpdateWithDecimation(vtkCompositeDataSet *htg, vtkRenderer *ren)
Generate a new composite were each leave is decimated if required.
static vtkHyperTreeGridMapper * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkCompositeDataSet > Input
void RemoveBlockVisibilities()
Set/get the visibility for a block given its flat index.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
create a window for renderers to draw into
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.