#include <vtkCompositeManager.h>
Inheritance diagram for vtkCompositeManager:
Public Types | |
enum | Tags { RENDER_RMI_TAG = 12721, COMPUTE_VISIBLE_PROP_BOUNDS_RMI_TAG = 56563, WIN_INFO_TAG = 22134, REN_INFO_TAG = 22135, BOUNDS_TAG = 94135 } |
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | InitializePieces () |
void | InitializeOffScreen () |
void | InitializeRMIs () |
float | GetZ (int x, int y) |
virtual vtkRenderWindow * | GetRenderWindow () |
void | SetRenderWindow (vtkRenderWindow *renWin) |
void | StartInteractor () |
void | ExitInteractor () |
void | StartRender () |
void | EndRender () |
void | RenderRMI () |
void | ResetCamera (vtkRenderer *ren) |
void | ResetCameraClippingRange (vtkRenderer *ren) |
void | ComputeVisiblePropBoundsRMI () |
void | SetReductionFactor (int factor) |
virtual int | GetReductionFactor () |
virtual void | SetUseChar (int) |
virtual int | GetUseChar () |
virtual void | UseCharOn () |
virtual void | UseCharOff () |
virtual void | SetUseCompositing (int) |
virtual int | GetUseCompositing () |
virtual void | UseCompositingOn () |
virtual void | UseCompositingOff () |
virtual double | GetGetBuffersTime () |
virtual double | GetSetBuffersTime () |
virtual double | GetCompositeTime () |
virtual double | GetMaxRenderTime () |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
virtual void | CheckForAbortRender () |
virtual int | CheckForAbortComposite () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkCompositeManager * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkCompositeManager () | |
~vtkCompositeManager () | |
vtkCompositeManager (const vtkCompositeManager &) | |
void | operator= (const vtkCompositeManager &) |
virtual void | CompositeBuffer (int width, int height, int useCharFlag, void *pBuf, float *zBuf, void *pTmp, float *zTmp)=0 |
void | Composite () |
virtual void | ComputeVisiblePropBounds (vtkRenderer *ren, float bounds[6]) |
void | SetRendererSize (int x, int y) |
float * | MagnifyBuffer (float *localPdata, int windowSize[2]) |
void | SetRenderWindowInteractor (vtkRenderWindowInteractor *iren) |
Protected Attributes | |
vtkRenderWindow * | RenderWindow |
vtkRenderWindowInteractor * | RenderWindowInteractor |
vtkMultiProcessController * | Controller |
unsigned long | StartInteractorTag |
unsigned long | EndInteractorTag |
unsigned long | StartTag |
unsigned long | EndTag |
unsigned long | ResetCameraTag |
unsigned long | ResetCameraClippingRangeTag |
int | UseChar |
int | UseCompositing |
float * | PData |
float * | ZData |
int | RendererSize [2] |
int | ReductionFactor |
int | Lock |
double | GetBuffersTime |
double | SetBuffersTime |
double | CompositeTime |
double | MaxRenderTime |
vtkTimerLog * | Timer |
vtkCompositeManager 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. Subclass implementation may not handle transparency well.
Definition at line 70 of file vtkCompositeManager.h.
|
Definition at line 155 of file vtkCompositeManager.h. |
|
|
|
|
|
|
|
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. Reimplemented in vtkTreeComposite. |
|
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. Reimplemented in vtkTreeComposite. |
|
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. Reimplemented in vtkTreeComposite. |
|
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. Reimplemented in vtkTreeComposite. |
|
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 vtkTreeComposite. |
|
Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window. |
|
Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window. |
|
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. |
|
turn off screen rendering on for the |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
If the user wants to handle the event loop, then they must call this method to initialize the RMIs. |
|
The reduction facor makes the transfered images smaller to decrease the render time. The final image is pixel replicated to be the original size. This option can be used by an interactor style to help get desired frame rates. The factor only needs to be set on process 0. Call SetRenderWindow before calling SetReductionFactor. |
|
The reduction facor makes the transfered images smaller to decrease the render time. The final image is pixel replicated to be the original size. This option can be used by an interactor style to help get desired frame rates. The factor only needs to be set on process 0. Call SetRenderWindow before calling SetReductionFactor. |
|
This flag tells the compositer to use char values for pixel data rather than float. Default is float. I have seen some artifacts on some systems with char. |
|
This flag tells the compositer to use char values for pixel data rather than float. Default is float. I have seen some artifacts on some systems with char. |
|
This flag tells the compositer to use char values for pixel data rather than float. Default is float. I have seen some artifacts on some systems with char. |
|
This flag tells the compositer to use char values for pixel data rather than float. Default is float. I have seen some artifacts on some systems with char. |
|
This flag turns the compositer on or off. |
|
This flag turns the compositer on or off. |
|
This flag turns the compositer on or off. |
|
This flag turns the compositer on or off. |
|
Get the times to set/get the buffers, Composite, and the time it takes all processes to finish the rendering step. |
|
Get the times to set/get the buffers, Composite, and the time it takes all processes to finish the rendering step. |
|
Get the times to set/get the buffers, Composite, and the time it takes all processes to finish the rendering step. |
|
Get the times to set/get the buffers, Composite, and the time it takes all processes to finish the rendering step. |
|
Get the value of the z buffer at a position. |
|
Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods. |
|
Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods. |
|
Used by call backs. Not intended to be called by the user. Empty methods that can be used by the subclass to interupt a parallel render. Definition at line 167 of file vtkCompositeManager.h. |
|
Used by call backs. Not intended to be called by the user. Empty methods that can be used by the subclass to interupt a parallel render. Definition at line 168 of file vtkCompositeManager.h. |
|
|
|
Reimplemented in vtkTreeComposite. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 188 of file vtkCompositeManager.h. |
|
Definition at line 189 of file vtkCompositeManager.h. |
|
Definition at line 190 of file vtkCompositeManager.h. |
|
Definition at line 192 of file vtkCompositeManager.h. |
|
Definition at line 193 of file vtkCompositeManager.h. |
|
Definition at line 194 of file vtkCompositeManager.h. |
|
Definition at line 195 of file vtkCompositeManager.h. |
|
Definition at line 196 of file vtkCompositeManager.h. |
|
Definition at line 197 of file vtkCompositeManager.h. |
|
Definition at line 198 of file vtkCompositeManager.h. |
|
Definition at line 199 of file vtkCompositeManager.h. |
|
Definition at line 207 of file vtkCompositeManager.h. |
|
Definition at line 208 of file vtkCompositeManager.h. |
|
Definition at line 209 of file vtkCompositeManager.h. |
|
Definition at line 212 of file vtkCompositeManager.h. |
|
Definition at line 219 of file vtkCompositeManager.h. |
|
Definition at line 221 of file vtkCompositeManager.h. |
|
Definition at line 222 of file vtkCompositeManager.h. |
|
Definition at line 223 of file vtkCompositeManager.h. |
|
Definition at line 224 of file vtkCompositeManager.h. |
|
Definition at line 227 of file vtkCompositeManager.h. |