20#include <vtkInteractorStyleTrackballCamera.h>
23class vtkDataSetMapper;
26class vtkUnstructuredGridAlgorithm;
void setHighlightActor(bool on)
vtkDataSetMapper * _selectedMapper
The mapper for highlighting the selected cell.
void OnChar() override
Handles key press events.
void OnKeyDown() override
Handles key down events.
void elementPicked(vtkUnstructuredGridAlgorithm const *const, unsigned)
Emitted when a mesh element has been picked.
void cursorChanged(Qt::CursorShape)
Emitted when the cursor shape was changed due to alternate mouse action mode.
void clearElementView()
Emitted when the current object type cannot be handled by the element model.
void pickableDataObject(vtkDataObject *object)
Sets the highlightable vtk object.
vtkDataObject * _data
The vtk object to pick.
void removeHighlightActor()
Removes the highlight actor from the visible scene.
~VtkCustomInteractorStyle() override
vtkActor * _selectedActor
The actor for highlighting the selected cell.
VtkCustomInteractorStyle()
vtkTypeMacro(VtkCustomInteractorStyle, vtkInteractorStyleTrackballCamera)
void highlightActor(vtkProp3D *actor)
bool _alternateMouseActions
void requestViewUpdate()
Emitted when something was picked.
void OnLeftButtonDown() override
Handles left mouse button events (picking).
void OnKeyUp() override
Handles key up events.
static VtkCustomInteractorStyle * New()
void OnRightButtonDown() override
Handles middle mouse button events (rotation point picking).