24#ifndef vtkWebApplication_h
25#define vtkWebApplication_h
28#include "vtkWebCoreModule.h"
151 vtkInternals* Internals;
a simple class to control print indentation
class used to assign Id to any VTK object and be able to retrieve it base on its id.
create a window for renderers to draw into
dynamic, self-adjusting array of unsigned char
bool HandleInteractionEvent(vtkRenderWindow *view, vtkWebInteractionEvent *event)
Communicate mouse interaction to a view.
static vtkWebApplication * New()
vtkTypeUInt32 GetNumberOfEncoderThreads()
Set the number of worker threads to use for image encoding.
const char * GetWebGLBinaryData(vtkRenderWindow *view, const char *id, int partIndex)
Return the binary data given the part index and the webGL object piece id in the scene.
static std::string GetObjectId(vtkObject *obj)
Return a hexadecimal formatted string of the VTK object's memory address, useful for uniquely identif...
vtkUnsignedCharArray * StillRenderToBuffer(vtkRenderWindow *view, vtkMTimeType time=0, int quality=100)
Render a view and obtain the rendered image.
const char * StillRenderToString(vtkRenderWindow *view, vtkMTimeType time=0, int quality=100)
Render a view and obtain the rendered image.
void SetNumberOfEncoderThreads(vtkTypeUInt32)
Set the number of worker threads to use for image encoding.
void InvalidateCache(vtkRenderWindow *view)
Invalidate view cache.
vtkUnsignedCharArray * InteractiveRender(vtkRenderWindow *view, int quality=50)
Render a view and obtain the rendered image.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkWebApplication() override
vtkMTimeType LastStillRenderToMTime
vtkUnsignedCharArray * StillRender(vtkRenderWindow *view, int quality=100)
Render a view and obtain the rendered image.
const char * GetWebGLSceneMetaData(vtkRenderWindow *view)
Return the Meta data description of the input scene in JSON format.
bool GetHasImagesBeingProcessed(vtkRenderWindow *)
StillRenderToString() need not necessary returns the most recently rendered image.
vtkObjectIdMap * GetObjectIdMap()
vtkTypeUInt32 vtkMTimeType