VTK
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=NULL)
 
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 172 of file vtkSynchronizedRenderers.h.

Constructor & Destructor Documentation

vtkSynchronizedRenderers::vtkRawImage::vtkRawImage ( )
inline

Definition at line 175 of file vtkSynchronizedRenderers.h.

Member Function Documentation

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

Definition at line 182 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 ( )
inline

Definition at line 193 of file vtkSynchronizedRenderers.h.

void vtkSynchronizedRenderers::vtkRawImage::MarkInValid ( )
inline

Definition at line 194 of file vtkSynchronizedRenderers.h.

bool vtkSynchronizedRenderers::vtkRawImage::IsValid ( )
inline

Definition at line 196 of file vtkSynchronizedRenderers.h.

int vtkSynchronizedRenderers::vtkRawImage::GetWidth ( )
inline

Definition at line 197 of file vtkSynchronizedRenderers.h.

int vtkSynchronizedRenderers::vtkRawImage::GetHeight ( )
inline

Definition at line 198 of file vtkSynchronizedRenderers.h.

vtkUnsignedCharArray* vtkSynchronizedRenderers::vtkRawImage::GetRawPtr ( )
inline

Definition at line 199 of file vtkSynchronizedRenderers.h.

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

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