Go to the documentation of this file.
27 #ifndef vtkWebApplication_h
28 #define vtkWebApplication_h
31 #include "vtkWebCoreModule.h"
55 vtkSetClampMacro(ImageEncoding,
int, ENCODING_NONE, ENCODING_BASE64);
56 vtkGetMacro(ImageEncoding,
int);
69 vtkSetClampMacro(ImageCompression,
int, COMPRESSION_NONE, COMPRESSION_JPEG);
70 vtkGetMacro(ImageCompression,
int);
153 vtkInternals* Internals;
void InvalidateCache(vtkRenderWindow *view)
Invalidate view cache.
vtkMTimeType LastStillRenderToMTime
void SetNumberOfEncoderThreads(vtkTypeUInt32)
Set the number of worker threads to use for image encoding.
defines ParaViewWeb application interface.
bool HandleInteractionEvent(vtkRenderWindow *view, vtkWebInteractionEvent *event)
Communicate mouse interaction to a view.
dynamic, self-adjusting array of unsigned char
abstract base class for most VTK objects
static std::string GetObjectId(vtkObject *obj)
Return a hexadecimal formatted string of the VTK object's memory address, useful for uniquely identif...
const char * GetWebGLSceneMetaData(vtkRenderWindow *view)
Return the Meta data description of the input scene in JSON format.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnsignedCharArray * InteractiveRender(vtkRenderWindow *view, int quality=50)
const char * StillRenderToString(vtkRenderWindow *view, vtkMTimeType time=0, int quality=100)
a simple class to control print indentation
static vtkWebApplication * New()
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.
class used to assign Id to any VTK object and be able to retrieve it base on its id.
bool GetHasImagesBeingProcessed(vtkRenderWindow *)
StillRenderToString() need not necessary returns the most recently rendered image.
vtkTypeUInt32 GetNumberOfEncoderThreads()
vtkUnsignedCharArray * StillRender(vtkRenderWindow *view, int quality=100)
Render a view and obtain the rendered image.
~vtkWebApplication() override
create a window for renderers to draw into
vtkObjectIdMap * GetObjectIdMap()
vtkTypeUInt32 vtkMTimeType