#include <vtkCompositer.h>
vtkCompositer operates in multiple processes. Each compositer has a render window. They use vtkMultiProcessControllers to communicate the color and depth buffer to process 0's render window. It will not handle transparency well.
Definition at line 39 of file vtkCompositer.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | CompositeBuffer (vtkDataArray *pBuf, vtkFloatArray *zBuf, vtkDataArray *pTmp, vtkFloatArray *zTmp) |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
virtual void | SetNumberOfProcesses (int) |
virtual int | GetNumberOfProcesses () |
Static Public Member Functions | |
static vtkCompositer * | New () |
static int | IsTypeOf (const char *type) |
static vtkCompositer * | SafeDownCast (vtkObject *o) |
static void | DeleteArray (vtkDataArray *da) |
static void | ResizeFloatArray (vtkFloatArray *fa, int numComp, vtkIdType size) |
static void | ResizeUnsignedCharArray (vtkUnsignedCharArray *uca, int numComp, vtkIdType size) |
Protected Member Functions | |
vtkCompositer () | |
~vtkCompositer () | |
Protected Attributes | |
vtkMultiProcessController * | Controller |
int | NumberOfProcesses |
typedef vtkObject vtkCompositer::Superclass |
Reimplemented from vtkObject.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
Definition at line 43 of file vtkCompositer.h.
vtkCompositer::vtkCompositer | ( | ) | [protected] |
vtkCompositer::~vtkCompositer | ( | ) | [protected] |
static vtkCompositer* vtkCompositer::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
virtual const char* vtkCompositer::GetClassName | ( | ) | [virtual] |
static int vtkCompositer::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
virtual int vtkCompositer::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
static vtkCompositer* vtkCompositer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
void vtkCompositer::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkObject.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
virtual void vtkCompositer::CompositeBuffer | ( | vtkDataArray * | pBuf, | |
vtkFloatArray * | zBuf, | |||
vtkDataArray * | pTmp, | |||
vtkFloatArray * | zTmp | |||
) | [virtual] |
This method gets called on every process. The final image gets put into pBuf and zBuf.
Reimplemented in vtkCompressCompositer, and vtkTreeCompositer.
virtual void vtkCompositer::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
Access to the controller.
virtual vtkMultiProcessController* vtkCompositer::GetController | ( | ) | [virtual] |
Access to the controller.
virtual void vtkCompositer::SetNumberOfProcesses | ( | int | ) | [virtual] |
A hack to get a sub world until I can get communicators working.
virtual int vtkCompositer::GetNumberOfProcesses | ( | ) | [virtual] |
A hack to get a sub world until I can get communicators working.
static void vtkCompositer::DeleteArray | ( | vtkDataArray * | da | ) | [static] |
Methods that allocate and delete memory with special MPIPro calls.
static void vtkCompositer::ResizeFloatArray | ( | vtkFloatArray * | fa, | |
int | numComp, | |||
vtkIdType | size | |||
) | [static] |
Methods that allocate and delete memory with special MPIPro calls.
static void vtkCompositer::ResizeUnsignedCharArray | ( | vtkUnsignedCharArray * | uca, | |
int | numComp, | |||
vtkIdType | size | |||
) | [static] |
Methods that allocate and delete memory with special MPIPro calls.
vtkMultiProcessController* vtkCompositer::Controller [protected] |
Definition at line 78 of file vtkCompositer.h.
int vtkCompositer::NumberOfProcesses [protected] |
Definition at line 79 of file vtkCompositer.h.