Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkTreeComposite Class Reference

An object to composite multiple render windows. More...

#include <vtkTreeComposite.h>

Inheritance diagram for vtkTreeComposite:

Inheritance graph
[legend]
Collaboration diagram for vtkTreeComposite:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkRenderWindowGetRenderWindow ()
void SetRenderWindow (vtkRenderWindow *renWin)
void InitializePieces ()
void InitializeOffScreen ()
void StartInteractor ()
void ExitInteractor ()
void StartRender ()
void EndRender ()
void RenderRMI ()
void ResetCamera (vtkRenderer *ren)
void ResetCameraClippingRange (vtkRenderer *ren)
void ComputeVisiblePropBoundsRMI ()

Static Public Methods

vtkTreeComposite * New ()
int IsTypeOf (const char *type)
vtkTreeComposite * SafeDownCast (vtkObject *o)

Protected Methods

 vtkTreeComposite ()
 ~vtkTreeComposite ()
 vtkTreeComposite (const vtkTreeComposite &)
void operator= (const vtkTreeComposite &)
void Composite (int flag)
void SetRenderWindowInteractor (vtkRenderWindowInteractor *iren)
void ComputeVisiblePropBounds (vtkRenderer *ren, float bounds[6])
void SetWindowSize (int x, int y)

Protected Attributes

vtkRenderWindowRenderWindow
vtkRenderWindowInteractorRenderWindowInteractor
vtkMultiProcessControllerController
unsigned long StartInteractorTag
unsigned long EndInteractorTag
unsigned long StartTag
unsigned long EndTag
unsigned long ResetCameraTag
unsigned long ResetCameraClippingRangeTag
float * PData
float * ZData
int WindowSize [2]
int Lock

Detailed Description

An object to composite multiple render windows.

Date:
2000/12/11 14:09:54
Revision:
1.7

vtkTreeComposite operates in multiple processes. Each compositer has a render window. They use vtkMultiProcessControllers to comunicate the color and depth buffer to process 0's render window. It will not handle transparency well.

note:
You should set up the renders and render window interactor before setting the compositers render window. We set up observers on the renderer, An have no easy way of knowing when the renderers change. We could create AddRenderer and RemoveRenderer events ...
See also:
vtkMultiProcessController vtkRenderWindow.


Member Function Documentation

virtual const char* vtkTreeComposite::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual vtkRenderWindow* vtkTreeComposite::GetRenderWindow   [virtual]
 

Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.

void vtkTreeComposite::InitializeOffScreen  
 

turn off screen rendering on for the

void vtkTreeComposite::InitializePieces  
 

This method sets the piece and number of pieces for each actor with a polydata mapper. My other option is to do it every render, but that would force a partioning scheme.

virtual int vtkTreeComposite::IsA const char *    type [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.

int vtkTreeComposite::IsTypeOf const char *    type [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.

vtkTreeComposite* vtkTreeComposite::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

void vtkTreeComposite::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.

vtkTreeComposite* vtkTreeComposite::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

void vtkTreeComposite::StartInteractor  
 

Callbacks that initialize and finish the compositing.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:34:05 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002