VTK
|
defines ParaViewWeb application interface. More...
#include <vtkWebApplication.h>
defines ParaViewWeb application interface.
vtkWebApplication 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 vtkWebApplication.h.
Reimplemented from vtkObject.
Definition at line 38 of file vtkWebApplication.h.
anonymous enum |
Set the encoding to be used for rendered images.
Definition at line 43 of file vtkWebApplication.h.
anonymous enum |
Set the compression to be used for rendered images.
Definition at line 54 of file vtkWebApplication.h.
vtkWebApplication::vtkWebApplication | ( | ) | [protected] |
vtkWebApplication::~vtkWebApplication | ( | ) | [protected] |
static vtkWebApplication* vtkWebApplication::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkWebApplication::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkWebApplication::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkWebApplication* vtkWebApplication::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkWebApplication::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkWebApplication* vtkWebApplication::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkWebApplication::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkWebApplication::SetImageEncoding | ( | int | ) | [virtual] |
Set the encoding to be used for rendered images.
virtual int vtkWebApplication::GetImageEncoding | ( | ) | [virtual] |
Set the encoding to be used for rendered images.
virtual void vtkWebApplication::SetImageCompression | ( | int | ) | [virtual] |
Set the compression to be used for rendered images.
virtual int vtkWebApplication::GetImageCompression | ( | ) | [virtual] |
Set the compression to be used for rendered images.
vtkUnsignedCharArray* vtkWebApplication::StillRender | ( | vtkRenderWindow * | view, |
int | quality = 100 |
||
) |
Render a view and obtain the rendered image.
vtkUnsignedCharArray* vtkWebApplication::InteractiveRender | ( | vtkRenderWindow * | view, |
int | quality = 50 |
||
) |
Render a view and obtain the rendered image.
const char* vtkWebApplication::StillRenderToString | ( | vtkRenderWindow * | view, |
unsigned long | time = 0 , |
||
int | quality = 100 |
||
) |
Render a view and obtain the rendered image.
StillRenderToString() need not necessary returns the most recently rendered image. Use this method to get whether there are any pending images being processed concurrently.
bool vtkWebApplication::HandleInteractionEvent | ( | vtkRenderWindow * | view, |
vtkWebInteractionEvent * | event | ||
) |
Communicate mouse interaction to a view. Returns true if the interaction changed the view state, otherwise returns false.
void vtkWebApplication::InvalidateCache | ( | vtkRenderWindow * | view | ) |
Invalidate view cache
virtual unsigned long vtkWebApplication::GetLastStillRenderToStringMTime | ( | ) | [virtual] |
Return the MTime of the last array exported by StillRenderToString.
const char* vtkWebApplication::GetWebGLSceneMetaData | ( | vtkRenderWindow * | 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.
const char* vtkWebApplication::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.
int vtkWebApplication::ImageEncoding [protected] |
Definition at line 107 of file vtkWebApplication.h.
int vtkWebApplication::ImageCompression [protected] |
Definition at line 108 of file vtkWebApplication.h.
unsigned long vtkWebApplication::LastStillRenderToStringMTime [protected] |
Definition at line 109 of file vtkWebApplication.h.