21#ifndef vtkRemoteInteractionAdapter_h
22#define vtkRemoteInteractionAdapter_h
25#include "vtkWebCoreModule.h"
27VTK_ABI_NAMESPACE_BEGIN
50 double devicePixelRatio = 1.0,
double devicePixelRatioTolerance = 1e-5);
54 vtkSetMacro(DevicePixelRatio,
double);
55 vtkGetMacro(DevicePixelRatio,
double);
64 vtkSetMacro(DevicePixelRatioTolerance,
double);
65 vtkGetMacro(DevicePixelRatioTolerance,
double);
82 double DevicePixelRatio = 1.0;
83 double DevicePixelRatioTolerance = 1e-5;
a simple class to control print indentation
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.