24#ifndef vtkRemoteInteractionAdapter_h
25#define vtkRemoteInteractionAdapter_h
28#include "vtkWebCoreModule.h"
30VTK_ABI_NAMESPACE_BEGIN
53 double devicePixelRatio = 1.0,
double devicePixelRatioTolerance = 1e-5);
57 vtkSetMacro(DevicePixelRatio,
double);
58 vtkGetMacro(DevicePixelRatio,
double);
67 vtkSetMacro(DevicePixelRatioTolerance,
double);
68 vtkGetMacro(DevicePixelRatioTolerance,
double);
85 double DevicePixelRatio = 1.0;
86 double DevicePixelRatioTolerance = 1e-5;
a simple class to control print indentation
abstract base class for most VTK objects
Map vtk-js interaction events to native VTK events.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRemoteInteractionAdapter()
void SetInteractor(vtkRenderWindowInteractor *iren)
static bool ProcessEvent(vtkRenderWindowInteractor *iren, const std::string &event, double devicePixelRatio=1.0, double devicePixelRatioTolerance=1e-5)
Static version of ProcessEvent(const std::string&)
bool ProcessEvent(const std::string &event)
Apply the vtk-js event to the internal RenderWindowInteractor.
~vtkRemoteInteractionAdapter() override
static vtkRemoteInteractionAdapter * New()
platform-independent render window interaction including picking and frame rate control.