61#ifndef vtkCellGridIsocontour_h
62#define vtkCellGridIsocontour_h
66#include "vtkFiltersCellGridModule.h"
71#include <unordered_map>
73VTK_ABI_NAMESPACE_BEGIN
98 using CandidateCells = std::unordered_map<vtkStringToken, vtkSmartPointer<vtkIdTypeArray>>;
138 void operator=(
const Query&) =
delete;
A function defined over the physical domain of a vtkCellGrid.
A cell-grid query for the cells that may hold an isocontour.
const CandidateCells & GetCandidateCells() const
Return the cells that may hold the isocontour, by cell type.
int GetMaximumOrder() const
Return the highest order of the attribute's basis among the cell types that have candidate cells (0 w...
vtkCellAttribute * CellAttribute
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool Initialize() override
Forget the cells found by a previous run.
virtual void SetCellAttribute(vtkCellAttribute *)
std::unordered_map< vtkStringToken, vtkSmartPointer< vtkIdTypeArray > > CandidateCells
The IDs of the cells that may hold the isocontour, by cell type.
void AddCandidateCells(vtkStringToken cellType, vtkIdTypeArray *cellIds, int order)
Called by a responder: the cells cellIds of type cellType may hold the isocontour,...
CandidateCells Candidates
Extract an isosurface of a scalar cell-attribute of curved cells.
vtkPolyData * GetIsocontourPointsOutput()
Return the second output: the isocontour points (see OutputIsocontourPoints).
void SetIsovalue(double isovalue)
bool InterpolateAttributes
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *ouInfo) override
This is called by the superclass.
static vtkCellGridIsocontour * New()
~vtkCellGridIsocontour() override=default
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ParticleRelaxationIterations
bool OutputIsocontourPoints
vtkCellGridQuery()=default
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Allocate and hold a VTK object.
concrete dataset represents vertices, lines, polygons, and triangle strips
Represent a string by its integer hash.