vtkRawImage can be used to make it easier to deal with images for compositing/communicating over client-server etc.
More...
#include <vtkSynchronizedRenderers.h>
vtkRawImage can be used to make it easier to deal with images for compositing/communicating over client-server etc.
Definition at line 170 of file vtkSynchronizedRenderers.h.
◆ vtkRawImage()
vtkSynchronizedRenderers::vtkRawImage::vtkRawImage |
( |
| ) |
|
|
inline |
◆ Resize()
void vtkSynchronizedRenderers::vtkRawImage::Resize |
( |
int |
dx, |
|
|
int |
dy, |
|
|
int |
numcomps |
|
) |
| |
|
inline |
◆ Initialize()
void vtkSynchronizedRenderers::vtkRawImage::Initialize |
( |
int |
dx, |
|
|
int |
dy, |
|
|
vtkUnsignedCharArray * |
data |
|
) |
| |
Create the buffer from an image data.
◆ MarkValid()
void vtkSynchronizedRenderers::vtkRawImage::MarkValid |
( |
| ) |
|
|
inline |
◆ MarkInValid()
void vtkSynchronizedRenderers::vtkRawImage::MarkInValid |
( |
| ) |
|
|
inline |
◆ IsValid()
bool vtkSynchronizedRenderers::vtkRawImage::IsValid |
( |
| ) |
|
|
inline |
◆ GetWidth()
int vtkSynchronizedRenderers::vtkRawImage::GetWidth |
( |
| ) |
|
|
inline |
◆ GetHeight()
int vtkSynchronizedRenderers::vtkRawImage::GetHeight |
( |
| ) |
|
|
inline |
◆ GetRawPtr()
◆ PushToViewport()
bool vtkSynchronizedRenderers::vtkRawImage::PushToViewport |
( |
vtkRenderer * |
renderer, |
|
|
bool |
blend = true |
|
) |
| |
Pushes the image to the viewport.
The OpenGL viewport and scissor region is setup using the viewport defined by the renderer.
If blend is true (default), the image will be blended onto to the existing background, else it will replace it.
◆ PushToFrameBuffer()
bool vtkSynchronizedRenderers::vtkRawImage::PushToFrameBuffer |
( |
vtkRenderer * |
ren, |
|
|
bool |
blend = true |
|
) |
| |
This is a raw version of PushToViewport() that assumes that the glViewport() has already been setup externally.
If blend is true (default), the image will be blended onto to the existing background, else it will replace it.
◆ Capture()
bool vtkSynchronizedRenderers::vtkRawImage::Capture |
( |
vtkRenderer * |
| ) |
|
◆ SaveAsPNG()
void vtkSynchronizedRenderers::vtkRawImage::SaveAsPNG |
( |
VTK_FILEPATH const char * |
filename | ) |
|
The documentation for this struct was generated from the following file: