48#ifndef vtkScivisSelector_h
49#define vtkScivisSelector_h
55#include "vtkViewsScivisModule.h"
58VTK_ABI_NAMESPACE_BEGIN
84 vtkGetMacro(Mode,
int);
97 vtkGetMacro(FieldAssociation,
int);
118 void SelectRegion(
int x0,
int y0,
int x1,
int y1,
bool extend =
false);
159 void GenerateSelection(
const int region[4],
vtkSelection* selection);
165 int FieldAssociation;
a simple class to control print indentation
Allocate and hold a VTK object.
void Clear()
Drop the current selection, on every representation in the view.
void SetModeToSurface()
How a screen region becomes a selection.
void SetFieldAssociation(int assoc)
Whether cells or points are selected: one of vtkDataObject::FIELD_ASSOCIATION_CELLS,...
void SetView(vtkScivisView *view)
The view this selects in.
void SetModeToFrustum()
How a screen region becomes a selection.
SelectionModeType
How a screen region becomes a selection.
~vtkScivisSelector() override
void SelectRegion(int x0, int y0, int x1, int y1, bool extend=false)
Select the screen-space region bounded by the two corner points, exactly as an interactive rubber-ban...
virtual void SetMode(int)
How a screen region becomes a selection.
void SelectCells()
Whether cells or points are selected: one of vtkDataObject::FIELD_ASSOCIATION_CELLS,...
static vtkScivisSelector * New()
void SelectPoints()
Whether cells or points are selected: one of vtkDataObject::FIELD_ASSOCIATION_CELLS,...
vtkScivisView * GetView()
The view this selects in.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A ready-made rendering assembly for scientific visualization.
data object that represents a "selection" in VTK.
Hold a reference to a vtkObjectBase instance.
a weak reference to a vtkObject.