16#ifndef vtkWasmSceneManager_h
17#define vtkWasmSceneManager_h
21#include "vtkSerializationManagerModule.h"
23VTK_ABI_NAMESPACE_BEGIN
42 bool SetSize(vtkTypeUInt32 identifier,
int width,
int height);
50 bool Render(vtkTypeUInt32 identifier);
76 typedef void (*ObserverCallbackF)(vtkTypeUInt32,
const char*);
86 vtkTypeUInt32 identifier, std::string eventName, ObserverCallbackF callback);
a simple class to control print indentation
vtkObjectManager maintains internal instances of vtkSerializer and a vtkDeserializer to serialize and...
vtkWasmSceneManager provides additional functionality that relates to a vtkRenderWindow and user inte...
bool StopEventLoop(vtkTypeUInt32 identifier)
Stop event loop of the vtkRenderWindowInteractor object at identifier.
bool Initialize() override
Loads the default (de)serialization handlers and constructors for VTK classes.
bool SetSize(vtkTypeUInt32 identifier, int width, int height)
Set the size of the vtkRenderWindow object at identifier to the supplied dimesions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkWasmSceneManager() override
static vtkWasmSceneManager * New()
bool RemoveObserver(vtkTypeUInt32 identifier, unsigned long tag)
Stop observing the object at identifier.
unsigned long AddObserver(vtkTypeUInt32 identifier, std::string eventName, ObserverCallbackF callback)
Observes eventName event emitted by an object registered at identifier and invokes callback with the ...
bool StartEventLoop(vtkTypeUInt32 identifier)
Start event loop of the vtkRenderWindowInteractor object at identifier.
bool ResetCamera(vtkTypeUInt32 identifier)
Reset the active camera of the vtkRenderer object at identifier.
bool Render(vtkTypeUInt32 identifier)
Render the vtkRenderWindow object at identifier.