Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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.
Examples:
vtkTreeComposite (examples)

Definition at line 97 of file vtkTreeComposite.h.


Constructor & Destructor Documentation

vtkTreeComposite::vtkTreeComposite   [protected]
 

vtkTreeComposite::~vtkTreeComposite   [protected]
 

vtkTreeComposite::vtkTreeComposite const vtkTreeComposite &    [inline, protected]
 

Definition at line 130 of file vtkTreeComposite.h.


Member Function Documentation

vtkTreeComposite* vtkTreeComposite::New   [static]
 

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

Reimplemented from vtkObject.

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.

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.

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.

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

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::SetRenderWindow vtkRenderWindow   renWin
 

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.

void vtkTreeComposite::InitializeOffScreen  
 

turn off screen rendering on for the

void vtkTreeComposite::StartInteractor  
 

Callbacks that initialize and finish the compositing.

void vtkTreeComposite::ExitInteractor  
 

void vtkTreeComposite::StartRender  
 

void vtkTreeComposite::EndRender  
 

void vtkTreeComposite::RenderRMI  
 

void vtkTreeComposite::ResetCamera vtkRenderer   ren
 

void vtkTreeComposite::ResetCameraClippingRange vtkRenderer   ren
 

void vtkTreeComposite::ComputeVisiblePropBoundsRMI  
 

void vtkTreeComposite::operator= const vtkTreeComposite &    [inline, protected]
 

Definition at line 131 of file vtkTreeComposite.h.

void vtkTreeComposite::Composite int    flag [protected]
 

void vtkTreeComposite::SetRenderWindowInteractor vtkRenderWindowInteractor   iren [protected]
 

void vtkTreeComposite::ComputeVisiblePropBounds vtkRenderer   ren,
float    bounds[6]
[protected]
 

void vtkTreeComposite::SetWindowSize int    x,
int    y
[protected]
 


Member Data Documentation

vtkRenderWindow* vtkTreeComposite::RenderWindow [protected]
 

Definition at line 133 of file vtkTreeComposite.h.

vtkRenderWindowInteractor* vtkTreeComposite::RenderWindowInteractor [protected]
 

Definition at line 134 of file vtkTreeComposite.h.

vtkMultiProcessController* vtkTreeComposite::Controller [protected]
 

Definition at line 135 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::StartInteractorTag [protected]
 

Definition at line 137 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::EndInteractorTag [protected]
 

Definition at line 138 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::StartTag [protected]
 

Definition at line 139 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::EndTag [protected]
 

Definition at line 140 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::ResetCameraTag [protected]
 

Definition at line 141 of file vtkTreeComposite.h.

unsigned long vtkTreeComposite::ResetCameraClippingRangeTag [protected]
 

Definition at line 142 of file vtkTreeComposite.h.

float* vtkTreeComposite::PData [protected]
 

Definition at line 154 of file vtkTreeComposite.h.

float* vtkTreeComposite::ZData [protected]
 

Definition at line 155 of file vtkTreeComposite.h.

int vtkTreeComposite::WindowSize[2] [protected]
 

Definition at line 156 of file vtkTreeComposite.h.

int vtkTreeComposite::Lock [protected]
 

Definition at line 160 of file vtkTreeComposite.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:19 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001