Public Member Functions | List of all members
vtkSynchronizedRenderers::vtkRawImage Struct Reference

vtkRawImage can be used to make it easier to deal with images for compositing/communicating over client-server etc. More...

#include <vtkSynchronizedRenderers.h>

Public Member Functions

 vtkRawImage ()
void Resize (int dx, int dy, int numcomps)
void Initialize (int dx, int dy, vtkUnsignedCharArray *data)
 Create the buffer from an image data. More...
void MarkValid ()
void MarkInValid ()
bool IsValid ()
int GetWidth ()
int GetHeight ()
vtkUnsignedCharArrayGetRawPtr ()
bool PushToViewport (vtkRenderer *)
bool PushToFrameBuffer (vtkRenderer *ren=nullptr)
bool Capture (vtkRenderer *)
void SaveAsPNG (const char *filename)

Detailed Description

vtkRawImage can be used to make it easier to deal with images for compositing/communicating over client-server etc.

Definition at line 165 of file vtkSynchronizedRenderers.h.

Constructor & Destructor Documentation

vtkSynchronizedRenderers::vtkRawImage::vtkRawImage ( )

Definition at line 168 of file vtkSynchronizedRenderers.h.

Member Function Documentation

void vtkSynchronizedRenderers::vtkRawImage::Resize ( int  dx,
int  dy,
int  numcomps 

Definition at line 175 of file vtkSynchronizedRenderers.h.

void vtkSynchronizedRenderers::vtkRawImage::Initialize ( int  dx,
int  dy,
vtkUnsignedCharArray data 

Create the buffer from an image data.

void vtkSynchronizedRenderers::vtkRawImage::MarkValid ( )

Definition at line 186 of file vtkSynchronizedRenderers.h.

void vtkSynchronizedRenderers::vtkRawImage::MarkInValid ( )

Definition at line 187 of file vtkSynchronizedRenderers.h.

bool vtkSynchronizedRenderers::vtkRawImage::IsValid ( )

Definition at line 189 of file vtkSynchronizedRenderers.h.

int vtkSynchronizedRenderers::vtkRawImage::GetWidth ( )

Definition at line 190 of file vtkSynchronizedRenderers.h.

int vtkSynchronizedRenderers::vtkRawImage::GetHeight ( )

Definition at line 191 of file vtkSynchronizedRenderers.h.

vtkUnsignedCharArray* vtkSynchronizedRenderers::vtkRawImage::GetRawPtr ( )

Definition at line 192 of file vtkSynchronizedRenderers.h.

bool vtkSynchronizedRenderers::vtkRawImage::PushToViewport ( vtkRenderer )
bool vtkSynchronizedRenderers::vtkRawImage::PushToFrameBuffer ( vtkRenderer ren = nullptr)
bool vtkSynchronizedRenderers::vtkRawImage::Capture ( vtkRenderer )
void vtkSynchronizedRenderers::vtkRawImage::SaveAsPNG ( const char *  filename)

The documentation for this struct was generated from the following file: