defines ParaViewWeb application interface.
More...
#include <vtkPVWebApplication.h>
Inherits vtkObject.
defines ParaViewWeb application interface.
vtkPVWebApplication defines the core interface for a ParaViewWeb application. This exposes methods that make it easier to manage views and rendered images from views.
Definition at line 34 of file vtkPVWebApplication.h.
§ Superclass
§ anonymous enum
Set the encoding to be used for rendered images.
Enumerator |
---|
ENCODING_NONE | |
ENCODING_BASE64 | |
Definition at line 45 of file vtkPVWebApplication.h.
§ anonymous enum
Set the compression to be used for rendered images.
Enumerator |
---|
COMPRESSION_NONE | |
COMPRESSION_PNG | |
COMPRESSION_JPEG | |
Definition at line 58 of file vtkPVWebApplication.h.
§ vtkPVWebApplication()
vtkPVWebApplication::vtkPVWebApplication |
( |
| ) |
|
|
protected |
§ ~vtkPVWebApplication()
vtkPVWebApplication::~vtkPVWebApplication |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkPVWebApplication::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkPVWebApplication::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkPVWebApplication::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkPVWebApplication::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ SetImageEncoding()
virtual void vtkPVWebApplication::SetImageEncoding |
( |
int |
| ) |
|
|
virtual |
Set the encoding to be used for rendered images.
§ GetImageEncoding()
virtual int vtkPVWebApplication::GetImageEncoding |
( |
| ) |
|
|
virtual |
Set the encoding to be used for rendered images.
§ SetImageCompression()
virtual void vtkPVWebApplication::SetImageCompression |
( |
int |
| ) |
|
|
virtual |
Set the compression to be used for rendered images.
§ GetImageCompression()
virtual int vtkPVWebApplication::GetImageCompression |
( |
| ) |
|
|
virtual |
Set the compression to be used for rendered images.
§ StillRender()
vtkUnsignedCharArray* vtkPVWebApplication::StillRender |
( |
vtkSMViewProxy * |
view, |
|
|
int |
quality = 100 |
|
) |
| |
Render a view and obtain the rendered image.
§ InteractiveRender()
vtkUnsignedCharArray* vtkPVWebApplication::InteractiveRender |
( |
vtkSMViewProxy * |
view, |
|
|
int |
quality = 50 |
|
) |
| |
Render a view and obtain the rendered image.
§ StillRenderToString()
const char* vtkPVWebApplication::StillRenderToString |
( |
vtkSMViewProxy * |
view, |
|
|
unsigned long |
time = 0 , |
|
|
int |
quality = 100 |
|
) |
| |
Render a view and obtain the rendered image.
§ GetHasImagesBeingProcessed()
bool vtkPVWebApplication::GetHasImagesBeingProcessed |
( |
vtkSMViewProxy * |
| ) |
|
StillRenderToString() need not necessary returns the most recently rendered image.
Use this method to get whether there are any pending images being processed concurrently.
§ HandleInteractionEvent()
bool vtkPVWebApplication::HandleInteractionEvent |
( |
vtkSMViewProxy * |
view, |
|
|
vtkWebInteractionEvent * |
event |
|
) |
| |
Communicate mouse interaction to a view.
Returns true if the interaction changed the view state, otherwise returns false.
§ InvalidateCache()
§ GetLastStillRenderToStringMTime()
virtual vtkMTimeType vtkPVWebApplication::GetLastStillRenderToStringMTime |
( |
| ) |
|
|
virtual |
Return the MTime of the last array exported by StillRenderToString.
§ GetWebGLSceneMetaData()
const char* vtkPVWebApplication::GetWebGLSceneMetaData |
( |
vtkSMViewProxy * |
view | ) |
|
Return the Meta data description of the input scene in JSON format.
This is using the vtkWebGLExporter to parse the scene. NOTE: This should be called before getting the webGL binary data.
§ GetWebGLBinaryData()
const char* vtkPVWebApplication::GetWebGLBinaryData |
( |
vtkSMViewProxy * |
view, |
|
|
const char * |
id, |
|
|
int |
partIndex |
|
) |
| |
Return the binary data given the part index and the webGL object piece id in the scene.
§ GetLastStillRenderImageSize() [1/3]
virtual int* vtkPVWebApplication::GetLastStillRenderImageSize |
( |
| ) |
|
|
virtual |
Return the size of the last image exported.
§ GetLastStillRenderImageSize() [2/3]
virtual void vtkPVWebApplication::GetLastStillRenderImageSize |
( |
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Return the size of the last image exported.
§ GetLastStillRenderImageSize() [3/3]
virtual void vtkPVWebApplication::GetLastStillRenderImageSize |
( |
int |
[2] | ) |
|
|
virtual |
Return the size of the last image exported.
§ ImageEncoding
int vtkPVWebApplication::ImageEncoding |
|
protected |
§ ImageCompression
int vtkPVWebApplication::ImageCompression |
|
protected |
§ LastStillRenderToStringMTime
vtkMTimeType vtkPVWebApplication::LastStillRenderToStringMTime |
|
protected |
§ LastStillRenderImageSize
int vtkPVWebApplication::LastStillRenderImageSize[3] |
|
protected |
The documentation for this class was generated from the following file: